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

.page-cockfighting {
    background-color: var(--page-cockfighting-bg);
    color: var(--page-cockfighting-text-main);
    font-family: 'Arial', sans-serif; /* Placeholder, actual font from shared.css */
    line-height: 1.6;
}

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

.page-cockfighting__section {
    padding: 60px 0;
    position: relative;
}

.page-cockfighting__section--dark-bg {
    background-color: var(--page-cockfighting-card-bg); /* Using card bg for contrast */
}

.page-cockfighting__main-title {
    font-size: clamp(2.2em, 5vw, 3.5em);
    color: var(--page-cockfighting-text-main);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-cockfighting__section-title {
    font-size: clamp(1.8em, 4vw, 2.8em);
    color: var(--page-cockfighting-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    position: relative;
    padding-bottom: 10px;
}

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

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 600px; /* Ensure hero section has a minimum height */
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--page-cockfighting-bg); /* Fallback */
}

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

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

.page-cockfighting__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    text-align: center;
    color: var(--page-cockfighting-text-main);
    padding: 40px 20px;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background for text */
    border-radius: 10px;
}

.page-cockfighting__hero-description {
    font-size: clamp(1em, 2vw, 1.2em);
    margin-bottom: 30px;
    color: var(--page-cockfighting-text-secondary);
}

/* Buttons */
.page-cockfighting__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

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

.page-cockfighting__btn-primary {
    background: var(--page-cockfighting-button-gradient);
    color: var(--page-cockfighting-text-main);
    border: none;
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-cockfighting__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

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

.page-cockfighting__btn-secondary:hover {
    background-color: var(--page-cockfighting-primary);
    color: var(--page-cockfighting-text-main);
    transform: translateY(-3px);
}

.page-cockfighting__btn-primary--large {
    padding: 18px 40px;
    font-size: 1.1em;
}

.page-cockfighting__cta-center {
    text-align: center;
    margin-top: 40px;
}

/* Content Block */
.page-cockfighting__content-block {
    font-size: 1.1em;
    color: var(--page-cockfighting-text-secondary);
    max-width: 900px;
    margin: 0 auto;
}

.page-cockfighting__content-block p {
    margin-bottom: 1em;
    color: inherit; /* Inherit from parent content-block */
}

.page-cockfighting__content-block a {
    color: var(--page-cockfighting-gold);
    text-decoration: underline;
}

.page-cockfighting__content-block a:hover {
    color: var(--page-cockfighting-glow);
}

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

.page-cockfighting__feature-card {
    background-color: var(--page-cockfighting-card-bg);
    border: 1px solid var(--page-cockfighting-border);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--page-cockfighting-text-main);
}

.page-cockfighting__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__card-title {
    font-size: 1.4em;
    color: var(--page-cockfighting-gold);
    margin-bottom: 15px;
}

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

/* Lists (UL/OL) */
.page-cockfighting__list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__steps-list {
    counter-reset: step-counter;
}

.page-cockfighting__list-item {
    margin-bottom: 20px;
    padding-left: 30px;
    position: relative;
}

.page-cockfighting__steps-list .page-cockfighting__list-item::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background-color: var(--page-cockfighting-primary);
    color: var(--page-cockfighting-text-main);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9em;
}

.page-cockfighting__list-item:last-child {
    margin-bottom: 0;
}

.page-cockfighting__list-title {
    font-size: 1.2em;
    color: var(--page-cockfighting-gold);
    margin-bottom: 10px;
}

.page-cockfighting__image-responsive {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

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

.page-cockfighting__promo-card {
    background-color: var(--page-cockfighting-card-bg);
    border: 1px solid var(--page-cockfighting-border);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    color: var(--page-cockfighting-text-main);
}

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

.page-cockfighting__promo-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

.page-cockfighting__promo-card .page-cockfighting__card-title {
    padding: 15px 20px 0;
    margin-bottom: 10px;
}

.page-cockfighting__promo-card .page-cockfighting__card-description {
    padding: 0 20px 20px;
    color: var(--page-cockfighting-text-secondary);
}


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

.page-cockfighting__faq-item {
    background-color: var(--page-cockfighting-card-bg);
    border: 1px solid var(--page-cockfighting-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--page-cockfighting-text-main);
}

.page-cockfighting__faq-item[open] {
    background-color: var(--page-cockfighting-deep-green);
    border-color: var(--page-cockfighting-primary);
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: bold;
    cursor: pointer;
    color: var(--page-cockfighting-text-main);
    list-style: none; /* For details/summary */
}

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

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--page-cockfighting-gold);
    transition: transform 0.3s ease;
}

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

.page-cockfighting__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: var(--page-cockfighting-text-secondary);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

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

/* CTA Section at bottom */
.page-cockfighting__section--cta {
    background-color: var(--page-cockfighting-deep-green);
    text-align: center;
    padding: 80px 20px;
}

.page-cockfighting__cta-title {
    font-size: clamp(2em, 4vw, 3em);
    color: var(--page-cockfighting-text-main);
    margin-bottom: 20px;
}

.page-cockfighting__cta-description {
    font-size: clamp(1em, 2vw, 1.2em);
    color: var(--page-cockfighting-text-secondary);
    max-width: 800px;
    margin: 0 auto 40px;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__hero-content {
        padding: 30px 15px;
    }
    .page-cockfighting__section {
        padding: 50px 0;
    }
    .page-cockfighting__section-title {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        min-height: 450px;
    }
    .page-cockfighting__main-title {
        font-size: 2.2em;
    }
    .page-cockfighting__hero-description {
        font-size: 1em;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        width: 100%;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        margin: 0 auto;
    }
    .page-cockfighting__section {
        padding: 40px 0;
    }
    .page-cockfighting__section-title {
        font-size: 2em;
    }
    .page-cockfighting__feature-grid,
    .page-cockfighting__promotions-grid {
        grid-template-columns: 1fr;
    }
    .page-cockfighting__feature-card,
    .page-cockfighting__promo-card {
        padding: 20px;
    }
    .page-cockfighting__card-title {
        font-size: 1.2em;
    }
    .page-cockfighting__faq-question {
        font-size: 0.95em;
    }
    .page-cockfighting__faq-answer {
        padding: 0 20px 15px;
    }
    .page-cockfighting__section--cta {
        padding: 60px 20px;
    }
    .page-cockfighting__cta-title {
        font-size: 2em;
    }
    .page-cockfighting__cta-description {
        font-size: 1em;
    }

    /* Mobile image and video responsive */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__section,
    .page-cockfighting__container,
    .page-cockfighting__card,
    .page-cockfighting__content-block,
    .page-cockfighting__hero-content,
    .page-cockfighting__video-section,
    .page-cockfighting__video-container,
    .page-cockfighting__video-wrapper,
    .page-cockfighting__cta-buttons,
    .page-cockfighting__button-group,
    .page-cockfighting__btn-container,
    .page-cockfighting__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important; /* Ensure no horizontal scroll */
    }
    .page-cockfighting__hero-section {
        padding-top: 10px !important;
    }
    .page-cockfighting__video-section {
        padding-top: 10px !important;
    }
    .page-cockfighting__cta-buttons {
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-cockfighting__cta-buttons > * {
        flex: 1 1 100%; /* Make buttons stack vertically */
    }
}

@media (max-width: 480px) {
    .page-cockfighting__main-title {
        font-size: 1.8em;
    }
    .page-cockfighting__section-title {
        font-size: 1.6em;
    }
    .page-cockfighting__feature-card {
        padding: 15px;
    }
    .page-cockfighting__card-title {
        font-size: 1.2em;
    }
    .page-cockfighting__faq-question {
        font-size: 0.95em;
    }
    .page-cockfighting__cta-title {
        font-size: 1.8em;
    }
}