/* style/cockfighting.css */
.page-cockfighting {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
}

.page-cockfighting__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    background-color: #017439; /* Brand color as background */
    color: #ffffff;
    text-align: center;
    padding: 80px 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-cockfighting__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFFF00; /* Yellow for emphasis on dark background */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    max-width: 900px;
    line-height: 1.2;
}

.page-cockfighting__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    color: #f0f0f0;
}

.page-cockfighting__cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 600px;
    box-sizing: border-box;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-cockfighting__btn-primary {
    background-color: #C30808; /* Red for Register/Login */
    color: #FFFF00; /* Yellow for font */
    border: 2px solid #C30808;
}

.page-cockfighting__btn-primary:hover {
    background-color: #a00606;
    transform: translateY(-2px);
}

.page-cockfighting__btn-secondary {
    background-color: #FFFFFF;
    color: #017439;
    border: 2px solid #017439;
}

.page-cockfighting__btn-secondary:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.page-cockfighting__btn-center {
    margin: 30px auto 0;
    display: block;
    width: fit-content;
}

.page-cockfighting__hero-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.3;
}

/* General Section Styling */
.page-cockfighting__section-title {
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.3;
}

.page-cockfighting__section-intro {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__dark-bg {
    background-color: #1a1a2e; /* Body background color */
    color: #ffffff;
    padding: 60px 0;
}

.page-cockfighting__light-bg {
    background-color: #FFFFFF;
    color: #333333;
    padding: 60px 0;
}

/* Features Section */
.page-cockfighting__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting__feature-item {
    background-color: #f8f8f8;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333333;
}

.page-cockfighting__feature-item:hover {
    transform: translateY(-5px);
}

.page-cockfighting__feature-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-cockfighting__feature-title {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #017439;
}

.page-cockfighting__feature-description {
    font-size: 1em;
    color: #555555;
}

/* Guide Section */
.page-cockfighting__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting__step-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.page-cockfighting__step-title {
    font-size: 1.5em;
    color: #FFFF00;
    margin-bottom: 15px;
}

.page-cockfighting__step-description {
    font-size: 1em;
    color: #e0e0e0;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-cockfighting__guide-image {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 50px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Bet Types Section */
.page-cockfighting__bet-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting__card {
    background-color: #f8f8f8;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #333333;
    border: 1px solid #e0e0e0;
}

.page-cockfighting__card-title {
    font-size: 1.4em;
    color: #017439;
    margin-bottom: 15px;
}

.page-cockfighting__card-description {
    font-size: 1em;
    color: #555555;
}

.page-cockfighting__bet-types-image {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 50px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Strategies Section */
.page-cockfighting__strategy-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting__strategy-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    color: #ffffff;
}

.page-cockfighting__strategy-title {
    font-size: 1.4em;
    color: #FFFF00;
    margin-bottom: 15px;
}

.page-cockfighting__strategy-description {
    font-size: 1em;
    color: #e0e0e0;
}

.page-cockfighting__strategies-image {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 50px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Promotions Section */
.page-cockfighting__promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting__promotions-image {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 50px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-cockfighting__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: #017439;
    color: #ffffff;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
    background-color: #005f2e;
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
    transform: rotate(45deg);
}

.page-cockfighting__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #e0e0e0;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px;
}

.page-cockfighting__faq-answer p {
    margin: 0;
    font-size: 1em;
}

/* Final CTA Section */
.page-cockfighting__cta-final-section {
    background-color: #017439; /* Brand color */
    color: #ffffff;
    text-align: center;
    padding: 60px 0;
}

.page-cockfighting__cta-final-section .page-cockfighting__section-title {
    color: #FFFF00;
}

.page-cockfighting__cta-final-section .page-cockfighting__section-intro {
    color: #f0f0f0;
}

.page-cockfighting__cta-final-section .page-cockfighting__cta-buttons {
    margin-top: 40px;
}

.page-cockfighting__cta-image {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 50px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__hero-title {
        font-size: 2.2em;
    }
    .page-cockfighting__section-title {
        font-size: 1.8em;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        padding: 60px 0 30px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-cockfighting__hero-title {
        font-size: 1.8em;
    }
    .page-cockfighting__hero-description {
        font-size: 1em;
    }
    .page-cockfighting__section-title {
        font-size: 1.6em;
    }
    .page-cockfighting__section-intro {
        font-size: 0.95em;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        padding: 0 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    /* Images responsive */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__hero-image,
    .page-cockfighting__feature-image,
    .page-cockfighting__guide-image,
    .page-cockfighting__bet-types-image,
    .page-cockfighting__strategies-image,
    .page-cockfighting__promotions-image,
    .page-cockfighting__cta-image {
        min-width: 200px !important;
        min-height: 200px !important;
        object-fit: cover !important;
    }
    .page-cockfighting__container,
    .page-cockfighting__features-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__bet-types-section,
    .page-cockfighting__strategies-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__cta-final-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }
    .page-cockfighting__feature-item,
    .page-cockfighting__step-item,
    .page-cockfighting__card,
    .page-cockfighting__strategy-item,
    .page-cockfighting__faq-item {
        padding: 20px;
    }
    .page-cockfighting__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-cockfighting__faq-answer {
        padding: 0 20px;
    }
    .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__hero-title {
        font-size: 1.5em;
    }
    .page-cockfighting__section-title {
        font-size: 1.4em;
    }
    .page-cockfighting__hero-description {
        font-size: 0.9em;
    }
}

/* Ensure no filter on images */
.page-cockfighting img {
    filter: none !important;
}

/* Content area images CSS dimensions lower bound */
.page-cockfighting img:not([class*="shared-"]) {
    min-width: 200px;
    min-height: 200px;
}