/* style/g.css */

/* Global styles within page-cockfighting scope */
.page-cockfighting {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Background */
}

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

.page-cockfighting__section-title {
    font-size: 2.5em;
    font-weight: bold;
    color: #F2C14E; /* Gold */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
    line-height: 1.2;
}

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

.page-cockfighting__text-block strong {
    color: #A7D9B8; /* Text Secondary */
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 10px; /* Small padding, body handles header offset */
    background-color: #08160F; /* Background */
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-height: 70vh; /* Limit height for hero image */
    overflow: hidden;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

.page-cockfighting__hero-content {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(0deg, rgba(8, 22, 15, 1) 0%, rgba(8, 22, 15, 0.8) 50%, rgba(8, 22, 15, 0) 100%); /* Gradient for better text readability */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-top: -100px; /* Overlap image slightly for effect */
    position: relative;
    z-index: 1;
}

.page-cockfighting__main-title {
    font-size: clamp(2em, 5vw, 3.5em); /* Responsive H1 font size */
    font-weight: bold;
    color: #F2C14E; /* Gold */
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__description {
    font-size: 1.2em;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.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: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
    color: #ffffff;
    border: none;
}

.page-cockfighting__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 0 15px rgba(87, 227, 141, 0.6); /* Glow */
}

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: #A7D9B8; /* Text Secondary */
    border: 2px solid #2E7A4E; /* Border color */
}

.page-cockfighting__btn-secondary:hover {
    background-color: #2E7A4E; /* Border color */
    color: #F2FFF6; /* Text Main */
    box-shadow: 0 0 15px rgba(87, 227, 141, 0.4); /* Glow */
}

/* Section specific styles */
.page-cockfighting__introduction-section,
.page-cockfighting__features-section,
.page-cockfighting__how-to-play-section,
.page-cockfighting__promotions-section,
.page-cockfighting__strategy-section,
.page-cockfighting__support-section,
.page-cockfighting__faq-section,
.page-cockfighting__conclusion-section {
    padding: 60px 0;
}

.page-cockfighting__dark-bg {
    background-color: #08160F; /* Background */
    color: #F2FFF6; /* Text Main */
}

.page-cockfighting__card-bg {
    background-color: #11271B; /* Card B G */
    color: #F2FFF6; /* Text Main */
}

.page-cockfighting__light-bg {
    background-color: #0A4B2C; /* Deep Green - slightly lighter than background for contrast */
    color: #F2FFF6; /* Text Main */
}

.page-cockfighting__image-content {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__image-content--full-width {
    max-width: 100%;
}

/* Features Section */
.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: #08160F; /* Background */
    border: 1px solid #2E7A4E; /* Border color */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(87, 227, 141, 0.3); /* Glow */
}

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

.page-cockfighting__card-title {
    font-size: 1.5em;
    color: #F2C14E; /* Gold */
    margin-bottom: 15px;
}

.page-cockfighting__card-description {
    font-size: 1em;
    color: #F2FFF6; /* Text Main */
}

/* How-to-Play Section */
.page-cockfighting__step-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting__step-item {
    background-color: #11271B; /* Card B G */
    border: 1px solid #2E7A4E; /* Border color */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__step-title {
    font-size: 1.4em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 15px;
}

.page-cockfighting__btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
    margin-top: 15px;
}

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

.page-cockfighting__promo-item {
    background-color: #08160F; /* Background */
    border-left: 5px solid #F2C14E; /* Gold */
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-size: 1.1em;
    color: #F2FFF6; /* Text Main */
}

.page-cockfighting__promo-item strong {
    color: #A7D9B8; /* Text Secondary */
}

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

.page-cockfighting__strategy-card {
    background-color: #11271B; /* Card B G */
    border: 1px solid #2E7A4E; /* Border color */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Support Section */
.page-cockfighting__contact-methods {
    margin-top: 30px;
    text-align: center;
}

.page-cockfighting__contact-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.page-cockfighting__contact-item {
    background-color: #11271B; /* Card B G */
    border: 1px solid #2E7A4E; /* Border color */
    border-radius: 8px;
    padding: 20px;
    font-size: 1.1em;
    color: #F2FFF6; /* Text Main */
    text-align: left;
    flex: 1 1 300px; /* Allow items to grow and shrink */
    max-width: 350px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__contact-item strong {
    color: #A7D9B8; /* Text Secondary */
    display: block;
    margin-bottom: 5px;
}

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

.page-cockfighting__faq-item {
    background-color: #08160F; /* Background */
    border: 1px solid #2E7A4E; /* Border color */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: #F2C14E; /* Gold */
    cursor: pointer;
    background-color: #11271B; /* Card B G */
    list-style: none; /* For details/summary */
}

.page-cockfighting__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for Chrome/Safari */
}

.page-cockfighting__faq-question::marker {
    display: none; /* Hide default marker for Firefox */
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #A7D9B8; /* Text Secondary */
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to cross */
}

.page-cockfighting__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 1.1em;
    color: #F2FFF6; /* Text Main */
}

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

/* Conclusion Section */
.page-cockfighting__conclusion-section {
    text-align: center;
    padding-bottom: 80px;
}

.page-cockfighting__btn-large {
    padding: 18px 40px;
    font-size: 1.3em;
    margin-top: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-cockfighting__main-title {
        font-size: clamp(2em, 6vw, 3em);
    }
    .page-cockfighting__section-title {
        font-size: 2em;
    }
}

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

    .page-cockfighting__hero-content {
        padding: 40px 15px;
        margin-top: -60px;
    }

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

    .page-cockfighting__description {
        font-size: 1em;
    }

    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 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;
    }

    .page-cockfighting__introduction-section,
    .page-cockfighting__features-section,
    .page-cockfighting__how-to-play-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__strategy-section,
    .page-cockfighting__support-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__conclusion-section {
        padding: 40px 0;
    }

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

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

    .page-cockfighting__image-content {
        margin: 30px auto;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-cockfighting__feature-grid,
    .page-cockfighting__step-list,
    .page-cockfighting__strategy-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-cockfighting__card-image {
        height: 180px;
    }

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

    .page-cockfighting__contact-list {
        flex-direction: column;
        gap: 15px;
    }

    .page-cockfighting__contact-item {
        max-width: 100%;
    }

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

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

    .page-cockfighting__btn-large {
        padding: 15px 30px;
        font-size: 1.1em;
    }

    /* Enforce image and video responsiveness for mobile */
    .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__hero-image-wrapper,
    .page-cockfighting__video-container,
    .page-cockfighting__content-area,
    .page-cockfighting__introduction-section,
    .page-cockfighting__features-section,
    .page-cockfighting__how-to-play-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__strategy-section,
    .page-cockfighting__support-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__conclusion-section,
    .page-cockfighting__feature-card,
    .page-cockfighting__step-item,
    .page-cockfighting__strategy-card,
    .page-cockfighting__contact-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Ensure no overflow for content areas */
    }

    /* Video section padding */
    .page-cockfighting__hero-section {
        padding-top: 10px !important;
    }
}

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