:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-dark: var(--black-color, #000000); /* Assuming --black-color is defined in shared.css and is dark */
    --login-button-color: #EA7C07;
}

.page-cockfighting {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default text color for the page, assuming dark body background */
    background-color: var(--bg-dark); /* Ensure consistency with body background */
}

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

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100vh; /* Full viewport height */
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    box-sizing: border-box;
}

.page-cockfighting__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.6); /* Slightly darken image for text readability, not changing color */
}

.page-cockfighting__hero-section .page-cockfighting__container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    color: var(--text-light);
}

.page-cockfighting__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

.page-cockfighting__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: var(--secondary-color);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.page-cockfighting__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-cockfighting__cta-buttons--centered {
    margin-top: 40px;
    margin-bottom: 20px;
}

.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: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    max-width: 100%; /* Button responsive */
    box-sizing: border-box; /* Button responsive */
    white-space: normal; /* Button responsive */
    word-wrap: break-word; /* Button responsive */
}

.page-cockfighting__btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.page-cockfighting__btn-primary:hover {
    background-color: #1f8ec4; /* A slightly darker shade */
    border-color: #1f8ec4;
}

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-cockfighting__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

a[href="login.html"].page-cockfighting__btn-primary,
a[href="https://ads.win2026vn.com/redirect?plink_id=pl_1772764845703_pqu5xuc0q"].page-cockfighting__btn-primary {
    background-color: var(--login-button-color);
    border-color: var(--login-button-color);
}

a[href="login.html"].page-cockfighting__btn-primary:hover,
a[href="https://ads.win2026vn.com/redirect?plink_id=pl_1772764845703_pqu5xuc0q"].page-cockfighting__btn-primary:hover {
    background-color: #c96a06;
    border-color: #c96a06;
}


/* General Section Styles */
.page-cockfighting__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.page-cockfighting__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.page-cockfighting__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--text-light);
}

.page-cockfighting__text-block--center {
    text-align: center;
}

.page-cockfighting__dark-section {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 60px 0;
}

.page-cockfighting__dark-section .page-cockfighting__section-title {
    color: var(--secondary-color);
}

.page-cockfighting__dark-section .page-cockfighting__section-title::after {
    background-color: var(--secondary-color);
}

.page-cockfighting__about-section,
.page-cockfighting__types-section,
.page-cockfighting__why-choose-section,
.page-cockfighting__guide-section,
.page-cockfighting__tips-section,
.page-cockfighting__video-section,
.page-cockfighting__faq-section,
.page-cockfighting__cta-final-section {
    padding: 60px 0;
    text-align: center;
}

.page-cockfighting__about-section .page-cockfighting__content-image,
.page-cockfighting__tips-section .page-cockfighting__content-image {
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__about-section .page-cockfighting__text-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-cockfighting__card {
    background-color: rgba(255, 255, 255, 0.1); /* Light background for card on dark page background */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-cockfighting__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block; /* Ensure no extra space below image */
}

.page-cockfighting__card-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.page-cockfighting__card-description {
    font-size: 1em;
    color: var(--text-light);
}

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

.page-cockfighting__feature-item {
    background-color: rgba(255, 255, 255, 0.15); /* Slightly lighter background for features on dark section */
    padding: 25px;
    border-radius: 10px;
    text-align: left;
    color: var(--text-light);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__feature-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.page-cockfighting__feature-description {
    font-size: 1em;
    color: var(--text-light);
}

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

.page-cockfighting__step-item {
    background-color: rgba(255, 255, 255, 0.08); /* Card-like background on dark page */
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: var(--text-light);
}

.page-cockfighting__step-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 50%; /* Make icons round */
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__step-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-cockfighting__step-description {
    font-size: 1em;
    color: var(--text-light);
}

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

.page-cockfighting__tip-item {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 25px;
    border-radius: 10px;
    text-align: left;
    color: var(--text-light);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__tip-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.page-cockfighting__tip-description {
    font-size: 1em;
    color: var(--text-light);
}

.page-cockfighting__content-image--large {
    max-width: 80%;
}

/* Video Section */
.page-cockfighting__video-section {
    background-color: var(--bg-dark); /* Ensure it has a dark background */
    padding: 60px 0;
}

.page-cockfighting__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__video-wrapper .page-cockfighting__video-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    cursor: pointer;
}

.page-cockfighting__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

/* FAQ Section */
.page-cockfighting__faq-section {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for FAQ on dark page */
    padding: 60px 0;
}

.page-cockfighting__faq-list {
    max-width: 800px;
    margin: 40px auto 0 auto;
    text-align: left;
}

.page-cockfighting__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: var(--text-light);
}

.page-cockfighting__faq-item summary {
    list-style: none; /* Hide default marker */
    cursor: pointer;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-cockfighting__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.page-cockfighting__faq-qtext {
    flex-grow: 1;
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--secondary-color);
}

.page-cockfighting__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1em;
    color: var(--text-light);
    background-color: rgba(255, 255, 255, 0.03);
}

.page-cockfighting__faq-answer p {
    margin: 0;
}

/* Final CTA Section */
.page-cockfighting__cta-final-section {
    padding: 80px 0;
}

.page-cockfighting__cta-final-section .page-cockfighting__section-title {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

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

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        height: 80vh;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile padding-top */
    }
    .page-cockfighting__hero-title {
        font-size: 2.2em;
    }
    .page-cockfighting__hero-description {
        font-size: 1.1em;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        width: 100%;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-cockfighting__about-section,
    .page-cockfighting__types-section,
    .page-cockfighting__why-choose-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__tips-section,
    .page-cockfighting__video-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__cta-final-section {
        padding: 40px 0;
    }

    .page-cockfighting__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-cockfighting__container {
        padding: 0 15px;
    }

    /* Images and Videos Responsive */
    .page-cockfighting img,
    .page-cockfighting video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    .page-cockfighting__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Ensure content area images meet minimum size requirements */
    .page-cockfighting__content-image,
    .page-cockfighting__card-image,
    .page-cockfighting__step-icon {
        min-width: 200px !important;
        min-height: 150px !important; /* Adjust min-height as needed, keeping aspect ratio in mind */
    }

    /* Ensure all containers for images/videos/buttons handle overflow */
    .page-cockfighting__hero-section,
    .page-cockfighting__about-section,
    .page-cockfighting__types-section,
    .page-cockfighting__why-choose-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__tips-section,
    .page-cockfighting__video-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__cta-final-section,
    .page-cockfighting__card,
    .page-cockfighting__feature-item,
    .page-cockfighting__step-item,
    .page-cockfighting__tip-item,
    .page-cockfighting__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__hero-title {
        font-size: 1.8em;
    }
    .page-cockfighting__hero-description {
        font-size: 1em;
    }
    .page-cockfighting__section-title {
        font-size: 1.5em;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-cockfighting__faq-item summary {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-cockfighting__faq-answer {
        padding: 10px 20px 15px;
    }
}

/* Ensure contrast for strong tags */
.page-cockfighting strong {
    color: var(--secondary-color); /* Highlight strong text in light color on dark background */
}