:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --background: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border: #2E7A4E;
    --glow: #57E38D;
    --gold: #F2C14E;
    --divider: #1E3A2A;
    --deep-green: #0A4B2C;
}

.page-cockfighting {
    font-family: 'Arial', sans-serif;
    color: var(--text-main); /* Light text on dark body background */
    background-color: var(--background); /* Dark background */
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

.page-cockfighting__section-title {
    font-size: 2.5rem;
    color: var(--gold); /* Gold for main titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.page-cockfighting__text-block {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-secondary); /* Secondary text color for paragraphs */
    text-align: justify;
}

.page-cockfighting__highlight {
    color: var(--gold); /* Highlight keywords with gold */
    font-weight: bold;
}

/* --- Buttons --- */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    max-width: 100%; /* Responsive button */
    box-sizing: border-box; /* Responsive button */
    white-space: normal; /* Responsive button */
    word-wrap: break-word; /* Responsive button */
}

.page-cockfighting__btn-primary {
    background: var(--button-gradient);
    color: #ffffff; /* White text on green gradient */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-cockfighting__btn-secondary {
    background: transparent;
    color: var(--gold); /* Gold text on transparent */
    border: 2px solid var(--gold);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__btn-secondary:hover {
    background-color: rgba(242, 193, 78, 0.1); /* Light gold hover effect */
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__centered-btn {
    display: block;
    margin: 40px auto 20px;
    width: fit-content;
}

/* --- Hero Section --- */
.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end; /* Align content to bottom of hero */
    min-height: 70vh; /* Ensure hero section is tall enough */
    padding-bottom: 60px; /* Padding for content */
    overflow: hidden;
    background-color: var(--deep-green); /* Fallback background */
    width: 100%; /* Ensure full width for flex */
}

.page-cockfighting__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6); /* Darken image for text contrast */
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 20px;
    color: var(--text-main);
}

.page-cockfighting__main-title {
    color: var(--gold); /* Gold for H1 */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.1;
    letter-spacing: -1px;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
    /* No fixed font-size for H1, relying on shared/browser defaults */
}

.page-cockfighting__hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-secondary);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%; /* Ensure full width for flex items */
    max-width: 500px; /* Limit width of button group */
    margin: 0 auto;
}

/* --- Section Styling --- */
.page-cockfighting__introduction-section,
.page-cockfighting__find-link-section,
.page-cockfighting__strategy-section,
.page-cockfighting__faq-section {
    background-color: var(--card-bg); /* Darker background for some sections */
    padding: 80px 0;
}

.page-cockfighting__why-choose-section,
.page-cockfighting__bet-types-section,
.page-cockfighting__promotions-section,
.page-cockfighting__conclusion-section {
    background-color: var(--background); /* Main body background */
    padding: 80px 0;
}

/* --- Card Styles --- */
.page-cockfighting__feature-grid,
.page-cockfighting__bet-type-grid,
.page-cockfighting__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-cockfighting__card {
    background-color: var(--card-bg); /* Card background */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--divider);
}

.page-cockfighting__card-title {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.3;
}

.page-cockfighting__card-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex-grow: 1; /* Allow description to take up space */
}

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

.page-cockfighting__card-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--gold);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-cockfighting__card-link:hover {
    color: var(--glow);
}

/* --- Lists --- */
.page-cockfighting__ordered-list,
.page-cockfighting__unordered-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
}

.page-cockfighting__list-item {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    border-left: 5px solid var(--gold);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__list-item-title {
    font-size: 1.3rem;
    color: var(--text-main);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-cockfighting__list-item-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- FAQ Section --- */
.page-cockfighting__faq-list {
    margin-top: 40px;
}

.page-cockfighting__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--divider);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: var(--deep-green); /* Slightly different background for question header */
    color: var(--text-main);
    font-weight: bold;
    font-size: 1.1rem;
    list-style: none; /* Remove default marker for <summary> */
}

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

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

.page-cockfighting__faq-answer {
    padding: 20px 25px;
    background-color: var(--card-bg);
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    border-top: 1px solid var(--divider);
}

/* --- Content Images --- */
.page-cockfighting__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .page-cockfighting__section-title {
        font-size: 2rem;
    }
    .page-cockfighting__main-title {
        font-size: 2.8rem;
    }
    .page-cockfighting__hero-description {
        font-size: 1.1rem;
    }
    .page-cockfighting__card-title {
        font-size: 1.3rem;
    }
    .page-cockfighting__text-block {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        min-height: 60vh;
        padding-bottom: 40px;
    }
    .page-cockfighting__main-title {
        font-size: 2rem;
    }
    .page-cockfighting__hero-description {
        font-size: 1rem;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        width: 100%;
        padding: 12px 20px;
        font-size: 1rem;
    }

    .page-cockfighting__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    .page-cockfighting__text-block {
        font-size: 0.95rem;
    }
    .page-cockfighting__feature-grid,
    .page-cockfighting__bet-type-grid,
    .page-cockfighting__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-cockfighting__card {
        padding: 25px;
    }
    .page-cockfighting__card-title {
        font-size: 1.2rem;
    }
    .page-cockfighting__promo-image {
        height: 180px;
    }

    .page-cockfighting__list-item {
        padding: 20px;
    }
    .page-cockfighting__list-item-title {
        font-size: 1.1rem;
    }
    .page-cockfighting__list-item-description {
        font-size: 0.9rem;
    }

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

    /* Mobile image/video/button responsive rules */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-cockfighting video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__hero-section,
    .page-cockfighting__cta-buttons,
    .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;
    }
    /* Special padding for hero content on mobile */
    .page-cockfighting__hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting__video-section {
        padding-top: 10px !important; /* body already handles --header-offset, this is for visual spacing */
    }
}