/* style/cockfighting.css */

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

/* General page styling */
.page-cockfighting {
    font-family: 'Arial', sans-serif;
    color: var(--text-main-color); /* Default text color for the page */
    background-color: var(--background-color); /* Ensure body background is handled by shared.css, this is for sections */
}

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

.page-cockfighting__container--center {
    text-align: center;
}

.page-cockfighting__section-title {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-cockfighting__section-description {
    font-size: 1.1em;
    color: var(--text-secondary-color);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__sub-title {
    font-size: 1.8em;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-cockfighting__feature-heading {
    font-size: 1.4em;
    font-weight: 600;
    color: var(--secondary-color);
    margin-top: 20px;
    margin-bottom: 10px;
}

.page-cockfighting p {
    line-height: 1.7;
    margin-bottom: 15px;
    color: var(--text-main-color);
}

.page-cockfighting a {
    color: var(--glow-color);
    text-decoration: none;
}

.page-cockfighting a:hover {
    text-decoration: underline;
}

.page-cockfighting__dark-bg {
    background-color: var(--background-color);
    color: var(--text-main-color);
}

.page-cockfighting__light-bg {
    background-color: #f0f0f0; /* A light background for contrast */
    color: #333333; /* Dark text for light background */
}

.page-cockfighting__light-bg .page-cockfighting__section-title,
.page-cockfighting__light-bg .page-cockfighting__section-description,
.page-cockfighting__light-bg .page-cockfighting__sub-title,
.page-cockfighting__light-bg .page-cockfighting__feature-heading,
.page-cockfighting__light-bg p,
.page-cockfighting__light-bg li {
    color: #333333; /* Ensure dark text on light background */
}

.page-cockfighting__light-bg a {
    color: var(--primary-color);
}

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
}

.page-cockfighting__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
}

.page-cockfighting__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-cockfighting__btn-secondary:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-primary--large {
    padding: 15px 35px;
    font-size: 1.2em;
}

.page-cockfighting__btn-primary--small,
.page-cockfighting__btn-secondary--small {
    padding: 8px 18px;
    font-size: 0.9em;
}

.page-cockfighting__btn-primary--center {
    display: block;
    margin: 30px auto 0 auto;
    max-width: 250px;
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    padding: 60px 0;
    text-align: center;
    overflow: hidden;
    padding-top: 10px; /* Small top padding for first section */
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-height: 70vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

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

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
    max-width: 900px;
    margin: 0 auto;
}

.page-cockfighting__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size for H1 */
    font-weight: 800;
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.page-cockfighting__hero-description {
    font-size: 1.2em;
    color: var(--text-secondary-color);
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Introduction Section */
.page-cockfighting__introduction-section,
.page-cockfighting__betting-types-section,
.page-cockfighting__why-choose-section,
.page-cockfighting__how-to-join-section,
.page-cockfighting__tips-section,
.page-cockfighting__faq-section,
.page-cockfighting__conclusion-section {
    padding: 80px 0;
}

.page-cockfighting__content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-cockfighting__content-grid--reverse {
    grid-template-columns: 1fr 1fr;
}

.page-cockfighting__content-grid--reverse .page-cockfighting__text-block {
    order: 2;
}

.page-cockfighting__content-grid--reverse .page-cockfighting__image-wrapper {
    order: 1;
}

.page-cockfighting__image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-cockfighting__feature-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-cockfighting__feature-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    line-height: 1.6;
    color: var(--text-secondary-color);
}

.page-cockfighting__feature-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--glow-color);
    font-weight: bold;
}

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

.page-cockfighting__card {
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    background-color: var(--card-bg);
    color: var(--text-main-color);
    border: 1px solid var(--border-color);
}

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

/* Why Choose Section */
.page-cockfighting__advantages-list {
    list-style: none;
    padding: 0;
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-cockfighting__advantages-item {
    background-color: var(--card-bg);
    color: var(--text-main-color);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.page-cockfighting__advantages-item p {
    color: var(--text-secondary-color);
}

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

.page-cockfighting__step-card {
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    background-color: var(--card-bg);
    color: var(--text-main-color);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.page-cockfighting__step-number {
    font-size: 2.5em;
    font-weight: 800;
    color: var(--glow-color);
    margin-bottom: 15px;
}

.page-cockfighting__step-title {
    font-size: 1.6em;
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 15px;
}

.page-cockfighting__step-card p {
    color: var(--text-secondary-color);
    flex-grow: 1;
}

.page-cockfighting__step-card .page-cockfighting__btn-primary,
.page-cockfighting__step-card .page-cockfighting__btn-secondary {
    margin-top: 20px;
    align-self: flex-start;
}

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

.page-cockfighting__tip-item {
    background-color: var(--card-bg);
    color: var(--text-main-color);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.page-cockfighting__tip-item p {
    color: var(--text-secondary-color);
}

.page-cockfighting__image-wrapper--bottom {
    margin-top: 50px;
    text-align: center;
}

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

.page-cockfighting__faq-item {
    background-color: var(--card-bg);
    color: var(--text-main-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--gold-color);
    cursor: pointer;
    background-color: var(--deep-green-color);
    border-bottom: 1px solid var(--border-color);
    list-style: none; /* For details/summary */
}

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

.page-cockfighting__faq-qtext {
    flex-grow: 1;
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--glow-color);
    margin-left: 15px;
}

.page-cockfighting__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-secondary-color);
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
    border-bottom: 1px solid transparent;
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .page-cockfighting__content-grid {
        grid-template-columns: 1fr;
    }
    .page-cockfighting__content-grid--reverse .page-cockfighting__text-block {
        order: initial;
    }
    .page-cockfighting__content-grid--reverse .page-cockfighting__image-wrapper {
        order: initial;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        padding: 40px 0;
        padding-top: 10px !important;
    }

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

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

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

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

    .page-cockfighting__section-description {
        font-size: 0.95em;
    }

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

    .page-cockfighting__introduction-section,
    .page-cockfighting__betting-types-section,
    .page-cockfighting__why-choose-section,
    .page-cockfighting__how-to-join-section,
    .page-cockfighting__tips-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__conclusion-section {
        padding: 50px 0;
    }

    /* Images responsive */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-cockfighting__image-wrapper,
    .page-cockfighting__container,
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__step-card,
    .page-cockfighting__tip-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Video responsive (if present, although not in this page content) */
    .page-cockfighting video,
    .page-cockfighting__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-cockfighting__video-section,
    .page-cockfighting__video-container,
    .page-cockfighting__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

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

@media (max-width: 480px) {
    .page-cockfighting__section-title {
        font-size: 1.8em;
    }

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

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

    .page-cockfighting__step-number {
        font-size: 2em;
    }

    .page-cockfighting__step-title {
        font-size: 1.4em;
    }

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