/* style/cockfighting.css */

/* Base styles for the page content, ensuring text contrast with body background */
.page-cockfighting {
    font-family: 'Arial', sans-serif;
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Background color, ensures contrast with text */
    line-height: 1.6;
    font-size: 16px;
}

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

/* Sections */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    background-color: #08160F; /* Ensure dark background for hero */
    color: #F2FFF6;
    text-align: center;
}

.page-cockfighting__video-container {
    width: 100%;
    max-width: 1200px; /* Desktop width */
    margin: 0 auto;
    box-sizing: border-box;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin-bottom: 30px;
}

.page-cockfighting__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; /* Ensure video is a block element */
    border-radius: 12px;
}

.page-cockfighting__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-cockfighting__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive H1 font size */
    font-weight: 700;
    color: #F2C14E; /* Gold */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-cockfighting__hero-description {
    font-size: 1.15rem;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 40px;
    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 */
}

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

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

.page-cockfighting__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
    color: #F2FFF6; /* Text Main */
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-cockfighting__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
    transform: translateY(-2px);
}

.page-cockfighting__btn-secondary {
    background: #F2FFF6; /* White background for secondary button */
    color: #11A84E; /* Primary color for text */
    border: 2px solid #11A84E; /* Border with primary color */
    box-shadow: 0 4px 15px rgba(242, 255, 246, 0.2);
}

.page-cockfighting__btn-secondary:hover {
    background: #11A84E; /* Primary color background on hover */
    color: #F2FFF6; /* White text on hover */
    box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
    transform: translateY(-2px);
}

.page-cockfighting__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: #F2C14E; /* Gold */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 60px;
    line-height: 1.3;
}

.page-cockfighting__introduction-section,
.page-cockfighting__game-types,
.page-cockfighting__promotions-section,
.page-cockfighting__contact-cta {
    padding: 60px 0;
    background-color: #08160F; /* Background */
}

.page-cockfighting__dark-section {
    padding: 60px 0;
    background-color: #11271B; /* Card BG */
    color: #F2FFF6;
}

.page-cockfighting__text-block p {
    font-size: 1.05rem;
    margin-bottom: 20px;
    color: #A7D9B8; /* Text Secondary */
}

.page-cockfighting__text-block h3 {
    color: #F2FFF6; /* Text Main */
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

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

.page-cockfighting__feature-item {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #F2FFF6;
}

.page-cockfighting__feature-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
    border: 1px solid #2E7A4E; /* Border */
}

.page-cockfighting__feature-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #F2C14E; /* Gold */
    margin-bottom: 15px;
}

.page-cockfighting__feature-item p {
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
    line-height: 1.6;
}

/* Game Types List */
.page-cockfighting__game-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-cockfighting__game-item {
    background-color: #11271B; /* Card BG */
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    border-left: 5px solid #11A84E; /* Primary color accent */
}

.page-cockfighting__game-title {
    font-size: 1.6rem;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 10px;
    font-weight: 600;
}

.page-cockfighting__game-item p {
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 0;
}

/* How To Play Steps */
.page-cockfighting__steps-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
    margin-top: 40px;
}

.page-cockfighting__step-item {
    background-color: #08160F; /* Background */
    border-radius: 10px;
    margin-bottom: 25px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    position: relative;
    padding-left: 80px;
}

.page-cockfighting__step-item::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 25px;
    top: 25px;
    background: #11A84E; /* Primary color */
    color: #F2FFF6;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(17, 168, 78, 0.4);
}

.page-cockfighting__step-title {
    font-size: 1.6rem;
    color: #F2C14E; /* Gold */
    margin-bottom: 10px;
    font-weight: 600;
}

.page-cockfighting__step-item p {
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 0;
}

/* Promotions Section */
.page-cockfighting__promo-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-cockfighting__promo-item {
    background-color: #11271B; /* Card BG */
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    border-right: 5px solid #22C768; /* Auxiliary color accent */
}

.page-cockfighting__promo-title {
    font-size: 1.6rem;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 10px;
    font-weight: 600;
}

.page-cockfighting__promo-item p {
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 0;
}

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

.page-cockfighting__faq-item {
    background-color: #08160F; /* Background */
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #1E3A2A; /* Divider */
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #F2FFF6; /* Text Main */
    cursor: pointer;
    background-color: #11271B; /* Card BG */
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
    background-color: #0A4B2C; /* Deep Green */
}

.page-cockfighting__faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2AD16F;
    margin-left: 15px;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
    color: #F2C14E; /* Gold */
}

.page-cockfighting__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
    line-height: 1.6;
    border-top: 1px solid #1E3A2A; /* Divider */
}

.page-cockfighting__faq-answer p {
    margin-bottom: 0;
}

/* Contact CTA */
.page-cockfighting__contact-cta .page-cockfighting__card {
    background-color: #11271B; /* Card BG */
    border-radius: 15px;
    padding: 50px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-top: 60px;
}

.page-cockfighting__contact-cta .page-cockfighting__section-title {
    padding-top: 0;
    margin-bottom: 25px;
}

.page-cockfighting__contact-cta p {
    font-size: 1.1rem;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 40px;
}

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

    .page-cockfighting__section-title {
        font-size: clamp(1.6rem, 4vw, 2.5rem);
    }
}

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

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

    .page-cockfighting__hero-section {
        padding-bottom: 40px;
        padding-top: 10px !important; /* body already has padding-top */
    }

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

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

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

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

    .page-cockfighting__section-title {
        font-size: clamp(1.5rem, 5vw, 2.2rem);
        margin-bottom: 30px;
        padding-top: 40px;
    }

    .page-cockfighting__introduction-section,
    .page-cockfighting__dark-section,
    .page-cockfighting__game-types,
    .page-cockfighting__promotions-section,
    .page-cockfighting__contact-cta {
        padding: 40px 0;
    }

    .page-cockfighting__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-cockfighting__feature-item,
    .page-cockfighting__game-item,
    .page-cockfighting__step-item,
    .page-cockfighting__promo-item,
    .page-cockfighting__faq-item {
        padding: 20px;
    }

    .page-cockfighting__feature-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

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

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

    .page-cockfighting__step-item {
        padding-left: 65px;
    }

    .page-cockfighting__step-item::before {
        left: 15px;
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

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

    .page-cockfighting__faq-answer {
        padding: 10px 20px 15px;
    }

    .page-cockfighting__contact-cta .page-cockfighting__card {
        padding: 30px;
        margin-top: 40px;
    }

    /* All images in content area should be responsive */
    .page-cockfighting img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* All containers that might hold images/videos/buttons */
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__cta-buttons,
    .page-cockfighting__video-section,
    .page-cockfighting__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    /* Specific padding for sections that are full width and need internal padding */
    .page-cockfighting__introduction-section .page-cockfighting__container,
    .page-cockfighting__why-choose-us .page-cockfighting__container,
    .page-cockfighting__game-types .page-cockfighting__container,
    .page-cockfighting__how-to-play .page-cockfighting__container,
    .page-cockfighting__promotions-section .page-cockfighting__container,
    .page-cockfighting__faq-section .page-cockfighting__container,
    .page-cockfighting__contact-cta .page-cockfighting__container {
        padding-left: 15px;
        padding-right: 15px;
    }
}