/* style/cockfighting.css */

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

/* Base styles for the page content, contrasting with shared body background */
.page-cockfighting {
    font-family: 'Arial', sans-serif;
    color: var(--page-cockfighting-text-main); /* Text Main for overall page content */
    background-color: var(--page-cockfighting-background); /* Page specific background */
    line-height: 1.6;
}

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

.page-cockfighting__section-title {
    font-size: 2.5em;
    color: var(--page-cockfighting-gold-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

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

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

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 60px 20px; /* Small top padding, body handles header offset */
    text-align: center;
    min-height: 500px;
    background-color: var(--page-cockfighting-deep-green);
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    max-height: 700px;
    object-fit: cover;
    display: block;
    margin-bottom: 40px;
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
    border-radius: 10px;
}

.page-cockfighting__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size */
    color: var(--page-cockfighting-gold-color);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-cockfighting__hero-description {
    font-size: 1.2em;
    color: var(--page-cockfighting-text-main);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
    box-sizing: border-box;
    text-align: center;
    max-width: 100%;
}

.page-cockfighting__btn-primary {
    background: var(--page-cockfighting-button-gradient);
    color: #ffffff; /* White text for contrast */
    border: 2px solid transparent;
}

.page-cockfighting__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

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

.page-cockfighting__btn-secondary:hover {
    background: var(--page-cockfighting-primary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

/* Introduction Section */
.page-cockfighting__introduction-section,
.page-cockfighting__tips-section,
.page-cockfighting__faq-section {
    background-color: var(--page-cockfighting-background);
    padding: 60px 0;
    color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__introduction-section .page-cockfighting__text-block {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
}

/* How to Play Section */
.page-cockfighting__how-to-play-section,
.page-cockfighting__advantages-section,
.page-cockfighting__promotions-section,
.page-cockfighting__final-cta-section {
    background-color: var(--page-cockfighting-card-bg);
    padding: 80px 0;
    color: var(--page-cockfighting-text-main);
}

.page-cockfighting__content-grid {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.page-cockfighting__content-grid .page-cockfighting__image-wrapper {
    flex: 1;
    min-width: 300px;
}

.page-cockfighting__content-grid .page-cockfighting__content-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__numbered-list {
    flex: 1;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-cockfighting__numbered-list li {
    background: var(--page-cockfighting-deep-green);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    position: relative;
    padding-left: 60px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--page-cockfighting-text-main);
}

.page-cockfighting__numbered-list li strong {
    color: var(--page-cockfighting-gold-color);
    display: block;
    margin-bottom: 5px;
    font-size: 1.2em;
}

.page-cockfighting__numbered-list li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--page-cockfighting-primary-color);
    color: #ffffff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1em;
}

/* Video Section */
.page-cockfighting__video-section {
    padding: 60px 0;
    background-color: var(--page-cockfighting-background);
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
}

.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 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    width: 100%; /* Ensure desktop width is 100% */
    max-width: 1200px;
}

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

.page-cockfighting__video-caption {
    font-style: italic;
    color: var(--page-cockfighting-text-secondary);
    margin-top: 10px;
    font-size: 0.95em;
}

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

.page-cockfighting__advantage-card {
    background: var(--page-cockfighting-deep-green);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border: 1px solid var(--page-cockfighting-border-color);
}

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

.page-cockfighting__advantage-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
    filter: none; /* Ensure no filter changes image color */
}

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

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

/* Tips Section */
.page-cockfighting__bullet-list {
    list-style: none;
    padding: 0;
    counter-reset: bullet-counter;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__bullet-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__bullet-list li::before {
    content: '\2022'; /* Unicode for bullet point */
    color: var(--page-cockfighting-primary-color);
    position: absolute;
    left: 0;
    font-size: 1.5em;
    line-height: 1;
}

.page-cockfighting__bullet-list li strong {
    color: var(--page-cockfighting-text-main);
}

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

.page-cockfighting__promo-card {
    background: var(--page-cockfighting-deep-green);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--page-cockfighting-border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-cockfighting__promo-image {
    width: 100%;
    height: 200px; /* Fixed height for promo images */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    filter: none; /* Ensure no filter changes image color */
}

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

.page-cockfighting__promo-description {
    color: var(--page-cockfighting-text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

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

.page-cockfighting__faq-item {
    background: var(--page-cockfighting-deep-green);
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--page-cockfighting-border-color);
}

.page-cockfighting__faq-item details > summary {
    list-style: none;
}

.page-cockfighting__faq-item details > summary::-webkit-details-marker {
    display: none;
}

.page-cockfighting__faq-question {
    padding: 20px;
    font-size: 1.2em;
    color: var(--page-cockfighting-text-main);
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
    background-color: var(--page-cockfighting-primary-color);
    border-radius: 8px 8px 0 0;
}

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

.page-cockfighting__faq-answer {
    padding: 0 20px 20px;
    color: var(--page-cockfighting-text-secondary);
    font-size: 1.05em;
    line-height: 1.6;
}

/* Final CTA Section */
.page-cockfighting__final-cta-section {
    text-align: center;
    padding: 80px 0;
    background: var(--page-cockfighting-deep-green);
}

.page-cockfighting__final-cta-section .page-cockfighting__section-title {
    color: var(--page-cockfighting-gold-color);
}

.page-cockfighting__final-cta-section .page-cockfighting__text-block {
    max-width: 900px;
    margin: 0 auto 40px;
    color: var(--page-cockfighting-text-main);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__hero-section {
        padding: 40px 15px;
    }

    .page-cockfighting__hero-content {
        padding: 15px;
    }

    .page-cockfighting__main-title {
        font-size: clamp(2em, 6vw, 3em);
    }

    .page-cockfighting__hero-description {
        font-size: 1.1em;
    }

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

    .page-cockfighting__content-grid {
        flex-direction: column;
    }

    .page-cockfighting__video-wrapper {
        max-width: 90%;
    }

    .page-cockfighting__advantage-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

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

    .page-cockfighting__hero-section {
        padding: 30px 15px !important;
    }

    .page-cockfighting__hero-image {
        max-height: 400px;
    }

    .page-cockfighting__hero-content {
        padding: 10px;
    }

    .page-cockfighting__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
        margin-bottom: 15px;
    }

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

    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px;
    }

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
    }

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

    .page-cockfighting__container,
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__content-grid,
    .page-cockfighting__advantage-grid,
    .page-cockfighting__promo-grid,
    .page-cockfighting__faq-list,
    .page-cockfighting__final-cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Images */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

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

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

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

    .page-cockfighting__numbered-list li {
        padding-left: 50px;
        font-size: 0.95em;
    }

    .page-cockfighting__numbered-list li::before {
        width: 25px;
        height: 25px;
        font-size: 0.9em;
        left: 15px;
    }

    .page-cockfighting__advantage-icon {
        width: 60px;
        height: 60px;
    }

    .page-cockfighting__advantage-title {
        font-size: 1.3em;
    }

    .page-cockfighting__promo-image {
        height: 150px;
    }

    .page-cockfighting__promo-title {
        font-size: 1.2em;
    }

    .page-cockfighting__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }

    .page-cockfighting__faq-answer {
        font-size: 0.95em;
        padding: 0 15px 15px;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__hero-section {
        padding: 20px 10px !important;
    }

    .page-cockfighting__main-title {
        font-size: clamp(1.5em, 8vw, 2em);
    }

    .page-cockfighting__hero-description {
        font-size: 0.9em;
    }

    .page-cockfighting__section-title {
        font-size: 1.5em;
    }

    .page-cockfighting__cta-buttons {
        gap: 10px;
        padding: 0 10px;
    }

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        padding: 10px 15px;
        font-size: 1em;
    }

    .page-cockfighting__container,
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__content-grid,
    .page-cockfighting__advantage-grid,
    .page-cockfighting__promo-grid,
    .page-cockfighting__faq-list,
    .page-cockfighting__final-cta-section {
        padding-left: 10px;
        padding-right: 10px;
    }

    .page-cockfighting__advantage-card {
        padding: 20px;
    }

    .page-cockfighting__promo-card {
        padding: 15px;
    }

    .page-cockfighting__faq-question {
        font-size: 1em;
    }

    .page-cockfighting__faq-answer {
        font-size: 0.9em;
    }
}