.page-cockfighting {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF5E1; /* Text Main */
    background-color: var(--bg-color); /* Inherited from shared, likely dark */
}

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

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 40px;
    background-color: #7A0E0E; /* Deep Red */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    max-height: 675px; /* Limit height for large screens */
    object-fit: cover;
    display: block;
    margin-bottom: 30px;
    border-radius: 8px;
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 20px;
}

.page-cockfighting__hero-title {
    font-size: 3.2em;
    font-weight: bold;
    color: #FFD86A; /* Gold gradient start */
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-description {
    font-size: 1.2em;
    color: #FFF5E1; /* Text Main */
    margin-bottom: 30px;
}

.page-cockfighting__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-cockfighting__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button gradient */
    color: #7A0E0E; /* Deep Red text for contrast */
}

.page-cockfighting__btn-primary:hover {
    background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
    transform: translateY(-2px);
}

.page-cockfighting__btn-secondary {
    background: #B71C1C; /* Background color */
    color: #FFF5E1; /* Text Main */
    border: 2px solid #F2B544; /* Border color */
}

.page-cockfighting__btn-secondary:hover {
    background: #7A0E0E; /* Deep Red */
    transform: translateY(-2px);
}

/* Section Titles */
.page-cockfighting__section-title {
    font-size: 2.5em;
    font-weight: bold;
    color: #FFD86A; /* Gold */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__text-block {
    font-size: 1.1em;
    color: #FFF5E1; /* Text Main */
    text-align: justify;
    margin-bottom: 25px;
}

/* About Section */
.page-cockfighting__about-section {
    padding: 60px 0;
    background-color: #B71C1C; /* Background color */
}

.page-cockfighting__image-fullwidth {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

/* Why Choose Section */
.page-cockfighting__why-choose-section {
    padding: 60px 0;
    background-color: #7A0E0E; /* Deep Red */
}

.page-cockfighting__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-cockfighting__feature-card {
    background-color: #D32F2F; /* Card BG */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.page-cockfighting__card-title {
    font-size: 1.5em;
    color: #FFD86A; /* Gold */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-cockfighting__card-description {
    color: #FFF5E1; /* Text Main */
    font-size: 1em;
}

/* Bet Types Section */
.page-cockfighting__bet-types-section {
    padding: 60px 0;
    background-color: #C91F17; /* Main color */
}

.page-cockfighting__dark-section {
    background-color: #C91F17; /* Main color */
    color: #FFF5E1; /* Text Main */
}

.page-cockfighting__list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.page-cockfighting__list-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-left: 5px solid #F2B544; /* Border color */
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 1.1em;
    color: #FFF5E1; /* Text Main */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__list-item strong {
    color: #FFD86A; /* Gold */
}

.page-cockfighting__image-center {
    display: block;
    margin: 30px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

/* How to Play Section */
.page-cockfighting__how-to-play-section {
    padding: 60px 0;
    background-color: #B71C1C; /* Background color */
}

.page-cockfighting__steps-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.page-cockfighting__steps-item {
    background-color: #D32F2F; /* Card BG */
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 10px;
    font-size: 1.1em;
    color: #FFF5E1; /* Text Main */
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    border-left: 5px solid #FFD86A; /* Gold */
}

.page-cockfighting__steps-item strong {
    color: #FFD86A; /* Gold */
    font-size: 1.2em;
    display: block;
    margin-bottom: 10px;
}

/* Tips Section */
.page-cockfighting__tips-section {
    padding: 60px 0;
    background-color: #E53935; /* Auxiliary color */
}

.page-cockfighting__light-bg {
    background-color: #E53935; /* Auxiliary color, lighter than main */
    color: #FFF5E1; /* Text Main */
}

.page-cockfighting__tips-list .page-cockfighting__list-item {
    background-color: rgba(0, 0, 0, 0.1);
    border-left-color: #F2B544; /* Border color */
}

/* Security Section */
.page-cockfighting__security-section {
    padding: 60px 0;
    background-color: #7A0E0E; /* Deep Red */
}

.page-cockfighting__security-section a {
    color: #FFD86A; /* Gold for links */
    text-decoration: underline;
}

.page-cockfighting__security-section a:hover {
    color: #F4D34D; /* Gold hover */
}

/* FAQ Section */
.page-cockfighting__faq-section {
    padding: 60px 0;
    background-color: #C91F17; /* Main color */
}

.page-cockfighting__faq-list {
    margin-top: 30px;
}

.page-cockfighting__faq-item {
    background-color: #D32F2F; /* Card BG */
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    color: #FFF5E1; /* Text Main */
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: #FFD86A; /* Gold */
    cursor: pointer;
    background-color: #D32F2F; /* Card BG */
    list-style: none; /* For details/summary */
}

.page-cockfighting__faq-question::-webkit-details-marker {
    display: none;
}

.page-cockfighting__faq-question::marker {
    display: none;
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: #F4D34D; /* Gold */
    transition: transform 0.3s ease;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
    transform: rotate(45deg); /* Rotate for 'x' or '-' effect */
}

.page-cockfighting__faq-answer {
    padding: 0 20px 20px;
    font-size: 1.1em;
    color: #FFF5E1; /* Text Main */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-answer {
    max-height: 500px; /* Sufficiently large to show content */
    padding-top: 10px;
}

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

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

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .page-cockfighting__hero-title {
        font-size: 2.8em;
    }
    .page-cockfighting__section-title {
        font-size: 2em;
    }
    .page-cockfighting__features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-cockfighting {
        font-size: 16px;
        line-height: 1.6;
    }

    /* HERO Section */
    .page-cockfighting__hero-section {
        padding-top: 10px !important; /* Small top padding for mobile */
        padding-bottom: 30px;
    }
    .page-cockfighting__hero-image {
        max-height: 400px;
        margin-bottom: 20px;
    }
    .page-cockfighting__hero-title {
        font-size: 2.2em !important;
        margin-bottom: 10px;
    }
    .page-cockfighting__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
        padding: 0 15px;
    }
    .page-cockfighting__hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    /* General Sections & Containers */
    .page-cockfighting__container {
        padding: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-cockfighting__section-title {
        font-size: 1.8em !important;
        margin-bottom: 30px;
        padding-top: 30px;
    }
    .page-cockfighting__text-block {
        font-size: 1em;
    }

    /* Images */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box !important;
    }
    .page-cockfighting__image-fullwidth,
    .page-cockfighting__image-center {
        margin: 20px auto !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    /* Feature Cards */
    .page-cockfighting__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-cockfighting__feature-card {
        padding: 25px;
    }
    .page-cockfighting__card-title {
        font-size: 1.3em;
    }

    /* Lists */
    .page-cockfighting__list-item,
    .page-cockfighting__steps-item {
        font-size: 1em;
        padding: 15px;
        margin-bottom: 10px;
    }
    .page-cockfighting__steps-item strong {
        font-size: 1.1em;
    }

    /* FAQ Section */
    .page-cockfighting__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }
    .page-cockfighting__faq-answer {
        font-size: 1em;
        padding: 0 15px 15px;
    }

    /* CTA Final Section */
    .page-cockfighting__cta-final-section .page-cockfighting__hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
}