:root {
    --color-primary: #113B7A; /* Main color */
    --color-secondary: #1D5FD1; /* Accent color */
    --color-button-gradient-start: #2B73F6;
    --color-button-gradient-end: #1144A6;
    --color-card-bg: #10233F;
    --color-text-main: #F3F8FF;
    --color-text-secondary: #AFC4E8;
    --color-border: #244D84;
    --color-glow: #4FA8FF;
    --color-gold: #F2C14E;
    --color-divider: #1B3357;
    --color-deep-navy: #08162B; /* This is the body background color from shared.css */
}

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

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

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
    background-color: var(--color-deep-navy); /* Ensure dark background for contrast */
}

.page-cockfighting__hero-image {
    width: 100%;
    max-width: 1920px; /* Max width for large screens */
    height: auto;
    object-fit: cover;
    display: block; /* Remove extra space below image */
    margin-bottom: 20px; /* Space between image and text content */
}

.page-cockfighting__hero-content {
    max-width: 900px;
    padding: 0 20px;
    color: var(--color-text-main); /* Light text on dark background */
}

.page-cockfighting__main-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem); /* Responsive font size */
    color: var(--color-gold); /* Gold color for main title */
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5); /* Subtle glow */
}

.page-cockfighting__hero-description {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 30px;
}

.page-cockfighting__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%; /* Ensure button fits container */
}

.page-cockfighting__btn-primary {
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: var(--color-text-main); /* White text on blue gradient */
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-primary:hover {
    background: linear-gradient(180deg, var(--color-button-gradient-end) 0%, var(--color-button-gradient-start) 100%);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: var(--color-button-gradient-start); /* Blue text */
    border: 2px solid var(--color-button-gradient-start); /* Blue border */
}

.page-cockfighting__btn-secondary:hover {
    background-color: var(--color-button-gradient-start);
    color: var(--color-text-main); /* White text on blue */
    border-color: var(--color-button-gradient-start);
    transform: translateY(-2px);
}

/* Sections */
.page-cockfighting__intro-section,
.page-cockfighting__guide-section,
.page-cockfighting__safety-section,
.page-cockfighting__conclusion-section {
    padding: 60px 0;
    background-color: var(--color-deep-navy); /* Default background, suitable for dark text on light bg if needed, but here it's dark text on dark bg with light text */
}

.page-cockfighting__features-section,
.page-cockfighting__promotions-section,
.page-cockfighting__faq-section {
    padding: 60px 0;
    background-color: var(--color-card-bg); /* Darker background for contrast with other sections */
}

.page-cockfighting__section-title {
    font-size: 2.5rem;
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.3;
}

.page-cockfighting__sub-title {
    font-size: 1.8rem;
    color: var(--color-text-main);
    margin-top: 30px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-cockfighting__text-block {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-bottom: 15px;
    line-height: 1.7;
}

.page-cockfighting__content-image {
    width: 100%;
    max-width: 800px; /* Example content image size */
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

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

.page-cockfighting__card {
    background-color: var(--color-card-bg); /* Card background */
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: var(--color-text-main);
}

.page-cockfighting__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__card-image {
    width: 100%;
    height: 200px; /* Fixed height for card images */
    object-fit: cover;
    display: block;
}

.page-cockfighting__card-title {
    font-size: 1.4rem;
    color: var(--color-gold);
    padding: 15px 20px 10px;
    font-weight: 600;
}

.page-cockfighting__card-text {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    padding: 0 20px 20px;
    flex-grow: 1; /* Allow text to grow and push button to bottom */
}

/* Guide Section specific buttons */
.page-cockfighting__guide-btn {
    margin-top: 15px;
    margin-bottom: 30px;
}

/* Promotions Section specific button */
.page-cockfighting__view-all-promos {
    display: block;
    text-align: center;
    margin-top: 40px;
}

/* Safety Section specific button */
.page-cockfighting__contact-btn {
    display: block;
    text-align: center;
    margin-top: 40px;
}

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

.page-cockfighting__faq-item {
    background-color: var(--color-card-bg); /* Darker background for FAQ items */
    border: 1px solid var(--color-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--color-text-main);
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-text-main);
    cursor: pointer;
    background-color: var(--color-primary); /* Slightly lighter background for question */
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

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

.page-cockfighting__faq-question:hover {
    background-color: #1A4E9E; /* Darker hover effect */
}

.page-cockfighting__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    color: var(--color-gold);
}

.page-cockfighting__faq-answer {
    padding: 0 25px 15px;
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-answer {
    padding-top: 15px;
    padding-bottom: 25px;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
    background-color: #1A4E9E; /* Keep background darker when open */
}

.page-cockfighting__faq-btn {
    margin-top: 15px;
    margin-bottom: 10px;
}

/* Conclusion Section specific buttons */
.page-cockfighting__cta-buttons--conclusion {
    margin-top: 30px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-cockfighting__main-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .page-cockfighting__section-title {
        font-size: 2rem;
    }

    .page-cockfighting__sub-title {
        font-size: 1.6rem;
    }

    .page-cockfighting__card-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section,
    .page-cockfighting__intro-section,
    .page-cockfighting__features-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__safety-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__conclusion-section {
        padding: 40px 0;
    }

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

    .page-cockfighting__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        margin-bottom: 10px;
    }

    .page-cockfighting__hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        width: 100%;
        max-width: 100% !important; /* Force full width on mobile */
        padding: 12px 20px;
        font-size: 0.95rem;
    }

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

    .page-cockfighting__sub-title {
        font-size: 1.4rem;
        margin-top: 25px;
        margin-bottom: 15px;
    }

    .page-cockfighting__text-block {
        font-size: 0.9rem;
    }

    .page-cockfighting__card-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 25px;
    }

    .page-cockfighting__card-image {
        height: 180px; /* Adjust height for mobile cards */
    }

    .page-cockfighting__card-title {
        font-size: 1.2rem;
    }

    .page-cockfighting__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-cockfighting__faq-answer {
        font-size: 0.9rem;
        padding: 0 20px 10px;
    }

    /* Mobile image, video, button responsive requirements */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__hero-section,
    .page-cockfighting__intro-section,
    .page-cockfighting__features-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__safety-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__conclusion-section,
    .page-cockfighting__cta-buttons,
    .page-cockfighting__button-group,
    .page-cockfighting__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    .page-cockfighting__video-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }

    .page-cockfighting video,
    .page-cockfighting__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-cockfighting__video-section,
    .page-cockfighting__video-container,
    .page-cockfighting__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-cockfighting__cta-button,
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary,
    .page-cockfighting a[class*="button"],
    .page-cockfighting a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        /* padding-left and padding-right handled by parent container rules above */
    }

    .page-cockfighting__cta-buttons {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 15px;
    }
}