/* style/cockfighting.css */

/* Base styles for the page content */
.page-cockfighting {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text on light background */
    background-color: #FFFFFF; /* Default light background */
}

/* Container for consistent padding and max-width */
.page-cockfighting__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Section titles */
.page-cockfighting__section-title {
    font-size: 2.5em;
    color: #017439;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

/* Text blocks */
.page-cockfighting__text-block {
    margin-bottom: 20px;
    font-size: 1.1em;
}

/* Links within text blocks */
.page-cockfighting__text-block a {
    color: #017439;
    text-decoration: underline;
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    background-color: #FFFFFF; /* Explicitly set for contrast */
}

.page-cockfighting__hero-title {
    font-size: 3.2em;
    color: #017439;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-cockfighting__hero-description {
    font-size: 1.3em;
    color: #333333;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    max-height: 600px; /* Adjust as needed */
    object-fit: cover;
    margin-top: 40px;
    border-radius: 10px;
}

/* CTA Buttons */
.page-cockfighting__cta-buttons {
    display: flex;
    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;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__btn-primary {
    background-color: #C30808; /* Red for register/login */
    color: #FFFF00; /* Yellow text for register/login */
    border: 2px solid #C30808;
}

.page-cockfighting__btn-primary:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-cockfighting__btn-secondary {
    background-color: #017439; /* Brand green */
    color: #FFFFFF;
    border: 2px solid #017439;
}

.page-cockfighting__btn-secondary:hover {
    background-color: #005a2e;
    border-color: #005a2e;
}

/* Section specific styles */
.page-cockfighting__introduction,
.page-cockfighting__types-of-cockfighting,
.page-cockfighting__promotions,
.page-cockfighting__faq-section {
    padding: 60px 0;
    background-color: #FFFFFF; /* Light background */
    color: #333333; /* Dark text */
}

.page-cockfighting__how-to-play,
.page-cockfighting__advantages,
.page-cockfighting__mobile-experience,
.page-cockfighting__final-cta {
    padding: 60px 0;
    background-color: #017439; /* Dark background */
    color: #FFFFFF; /* Light text */
}

.page-cockfighting__how-to-play .page-cockfighting__section-title,
.page-cockfighting__advantages .page-cockfighting__section-title,
.page-cockfighting__mobile-experience .page-cockfighting__section-title,
.page-cockfighting__final-cta .page-cockfighting__section-title {
    color: #FFFFFF;
}

.page-cockfighting__how-to-play .page-cockfighting__text-block,
.page-cockfighting__advantages .page-cockfighting__text-block,
.page-cockfighting__mobile-experience .page-cockfighting__text-block,
.page-cockfighting__final-cta .page-cockfighting__text-block {
    color: #f0f0f0;
}

.page-cockfighting__how-to-play .page-cockfighting__text-block a,
.page-cockfighting__advantages .page-cockfighting__text-block a,
.page-cockfighting__mobile-experience .page-cockfighting__text-block a,
.page-cockfighting__final-cta .page-cockfighting__text-block a {
    color: #FFFF00; /* Yellow for links on dark bg */
}


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

.page-cockfighting__step-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark bg */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #FFFFFF;
}

.page-cockfighting__step-title {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #FFFF00; /* Yellow for titles on dark bg */
}

.page-cockfighting__step-description {
    font-size: 1em;
    color: #f0f0f0;
}

.page-cockfighting__step-description a {
    color: #FFFF00;
    text-decoration: underline;
}

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

/* List styles */
.page-cockfighting__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.page-cockfighting__list-item {
    margin-bottom: 10px;
}
.page-cockfighting__list-item strong {
    color: #017439; /* For light background sections */
}
.page-cockfighting__dark-bg .page-cockfighting__list-item strong {
    color: #FFFF00; /* For dark background sections */
}


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

.page-cockfighting__advantage-card,
.page-cockfighting__promo-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark bg */
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #FFFFFF;
}
.page-cockfighting__light-bg .page-cockfighting__advantage-card,
.page-cockfighting__light-bg .page-cockfighting__promo-card {
    background-color: #FFFFFF;
    color: #333333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.page-cockfighting__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: bold;
    color: #FFFF00; /* Yellow on dark bg */
}
.page-cockfighting__light-bg .page-cockfighting__card-title {
    color: #017439; /* Green on light bg */
}

.page-cockfighting__card-description {
    font-size: 1em;
    color: #f0f0f0;
}
.page-cockfighting__light-bg .page-cockfighting__card-description {
    color: #333333;
}
.page-cockfighting__card-description a {
    color: #FFFF00;
    text-decoration: underline;
}
.page-cockfighting__light-bg .page-cockfighting__card-description a {
    color: #017439;
}


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

.page-cockfighting__promo-card .page-cockfighting__btn-primary,
.page-cockfighting__promo-card .page-cockfighting__btn-secondary {
    margin-top: 20px;
    width: auto;
    display: inline-block; /* Ensure buttons don't take full width in card */
}

/* Mobile Experience Section */
.page-cockfighting__mobile-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-cockfighting__mobile-image {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__mobile-text {
    flex: 2;
    min-width: 300px;
}

.page-cockfighting__mobile-text .page-cockfighting__list {
    color: #f0f0f0;
}
.page-cockfighting__mobile-text .page-cockfighting__list-item strong {
    color: #FFFF00;
}
.page-cockfighting__mobile-text .page-cockfighting__btn-primary {
    margin-top: 20px;
}

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

.page-cockfighting__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: #FFFFFF;
    color: #017439;
    transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
    background-color: #f0f0f0;
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    font-weight: normal;
    transition: transform 0.3s ease;
    color: #017439;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-question {
    background-color: #e6f7ed; /* Lighter green for active question */
    color: #017439;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
    transform: rotate(45deg); /* Plus to X/minus */
}

.page-cockfighting__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #fcfcfc;
    color: #333333;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px;
}

.page-cockfighting__faq-answer p {
    margin-bottom: 10px;
    font-size: 1em;
}
.page-cockfighting__faq-answer a {
    color: #017439;
    text-decoration: underline;
}

/* Final CTA Section */
.page-cockfighting__final-cta {
    text-align: center;
    padding: 80px 0;
}

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

@media (max-width: 768px) {
    .page-cockfighting__container {
        padding: 0 15px;
    }

    .page-cockfighting__hero-section {
        padding: 60px 0;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }

    .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% !important; /* Full width for buttons on mobile */
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-cockfighting__introduction,
    .page-cockfighting__how-to-play,
    .page-cockfighting__advantages,
    .page-cockfighting__promotions,
    .page-cockfighting__mobile-experience,
    .page-cockfighting__faq-section,
    .page-cockfighting__final-cta {
        padding: 40px 0;
    }

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

    .page-cockfighting__text-block {
        font-size: 1em;
    }

    .page-cockfighting__steps-grid,
    .page-cockfighting__advantages-grid,
    .page-cockfighting__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .page-cockfighting__step-title,
    .page-cockfighting__card-title {
        font-size: 1.2em;
    }

    .page-cockfighting__mobile-content {
        flex-direction: column;
        gap: 30px;
    }

    .page-cockfighting__mobile-image {
        min-width: unset;
        width: 100%;
        max-width: 100%;
    }

    .page-cockfighting__mobile-text {
        min-width: unset;
        width: 100%;
    }

    .page-cockfighting__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-cockfighting__faq-answer {
        padding: 0 20px;
    }
    .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
        padding: 15px 20px;
    }

    /* Mobile image, video, button overflow prevention */
    .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__promo-card,
    .page-cockfighting__mobile-content,
    .page-cockfighting__mobile-text {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      overflow: hidden !important; /* Ensure no overflow */
      /* Padding handled by container, sections might add their own */
    }
    .page-cockfighting__hero-section .page-cockfighting__container,
    .page-cockfighting__introduction .page-cockfighting__container,
    .page-cockfighting__how-to-play .page-cockfighting__container,
    .page-cockfighting__advantages .page-cockfighting__container,
    .page-cockfighting__promotions .page-cockfighting__container,
    .page-cockfighting__mobile-experience .page-cockfighting__container,
    .page-cockfighting__faq-section .page-cockfighting__container,
    .page-cockfighting__final-cta .page-cockfighting__container {
        padding-left: 0;
        padding-right: 0;
    }

    .page-cockfighting__cta-buttons {
        flex-wrap: wrap !important;
        gap: 10px;
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Ensure no filter on images */
.page-cockfighting img {
    filter: none;
}