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

.page-cockfighting {
    font-family: Arial, sans-serif;
    color: var(--text-main); /* #F2FFF6 */
    background-color: var(--background); /* #08160F */
    line-height: 1.6;
    padding-bottom: 40px; /* Add some padding at the bottom for overall page */
}

/* General Section Styling */
.page-cockfighting__section {
    padding: 60px 0;
    text-align: center;
}

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

.page-cockfighting__section-title {
    font-size: clamp(2em, 4vw, 2.8em); /* Max 2.8em, preferred 4vw, min 2em */
    color: var(--gold-color); /* #F2C14E */
    margin-bottom: 30px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-cockfighting__text-block {
    font-size: 1.1em;
    color: var(--text-secondary); /* #A7D9B8 */
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
    overflow: hidden;
    background-color: var(--background);
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for aesthetic */
    overflow: hidden;
}

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

.page-cockfighting__hero-content {
    padding: 40px 20px;
    max-width: 900px;
    text-align: center;
    z-index: 1; /* Ensure content is above image if any overlap */
    position: relative; /* For proper stacking context */
    margin-top: -80px; /* Pull content up slightly over image for visual flow */
    background-color: var(--background); /* Ensure contrast */
    padding-top: 80px; /* Compensate for negative margin */
}

.page-cockfighting__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* H1 clamp font size */
    color: var(--gold-color); /* #F2C14E */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.6);
}

.page-cockfighting__description {
    font-size: 1.2em;
    color: var(--text-main); /* #F2FFF6 */
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.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;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Ensure long words break */
    box-sizing: border-box; /* Include padding in width */
    max-width: 300px; /* Limit button width on larger screens */
}

.page-cockfighting__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main); /* #F2FFF6 */
    border: 2px solid transparent;
}

.page-cockfighting__btn-primary:hover {
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.4);
    transform: translateY(-2px);
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%); /* Reverse gradient on hover */
}

.page-cockfighting__btn-secondary {
    background-color: var(--card-bg); /* #11271B */
    color: var(--gold-color); /* #F2C14E */
    border: 2px solid var(--gold-color); /* #F2C14E */
}

.page-cockfighting__btn-secondary:hover {
    background-color: var(--gold-color); /* #F2C14E */
    color: var(--background); /* #08160F */
    box-shadow: 0 6px 20px rgba(242, 193, 78, 0.4);
    transform: translateY(-2px);
}

/* Image styling for content sections */
.page-cockfighting__image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

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

.page-cockfighting__card {
    background-color: var(--card-bg); /* #11271B */
    color: var(--text-main); /* #F2FFF6 */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color); /* #2E7A4E */
}

.page-cockfighting__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__card-title {
    font-size: 1.6em;
    color: var(--gold-color); /* #F2C14E */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-cockfighting__card-text {
    font-size: 1em;
    color: var(--text-secondary); /* #A7D9B8 */
}

/* Guide Section */
.page-cockfighting__step-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting__step-item {
    background-color: var(--card-bg); /* #11271B */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    border: 1px solid var(--border-color); /* #2E7A4E */
}

.page-cockfighting__step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--gold-color); /* #F2C14E */
    line-height: 1;
    flex-shrink: 0;
}

.page-cockfighting__step-title {
    font-size: 1.8em;
    color: var(--text-main); /* #F2FFF6 */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-cockfighting__step-text {
    font-size: 1.1em;
    color: var(--text-secondary); /* #A7D9B8 */
}

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

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

.page-cockfighting__faq-item {
    background-color: var(--card-bg); /* #11271B */
    border: 1px solid var(--border-color); /* #2E7A4E */
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.3em;
    font-weight: bold;
    color: var(--text-main); /* #F2FFF6 */
    cursor: pointer;
    list-style: none; /* For details/summary */
    position: relative;
}

.page-cockfighting__faq-question::-webkit-details-marker {
    display: none;
}

.page-cockfighting__faq-question:hover {
    color: var(--gold-color); /* #F2C14E */
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--gold-color); /* #F2C14E */
    transition: transform 0.3s ease;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
    transform: rotate(45deg); /* Change + to X or rotate */
}

.page-cockfighting__faq-answer {
    padding: 0 25px 20px;
    font-size: 1.1em;
    color: var(--text-secondary); /* #A7D9B8 */
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__hero-content {
        margin-top: -60px;
        padding-top: 60px;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        padding-top: 10px !important; /* Small top padding for mobile */
        padding-bottom: 40px;
    }

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

    .page-cockfighting__hero-content {
        margin-top: -40px; /* Adjust negative margin for smaller screens */
        padding-top: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-cockfighting__main-title {
        font-size: clamp(2em, 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;
        padding: 12px 20px;
        font-size: 1em;
        margin: 0 auto;
    }

    .page-cockfighting__section {
        padding: 40px 0;
    }

    .page-cockfighting__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-cockfighting__section-title {
        font-size: clamp(1.8em, 7vw, 2.2em);
    }

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

    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        border-radius: 8px;
        margin: 20px auto !important;
    }

    .page-cockfighting__card,
    .page-cockfighting__step-item,
    .page-cockfighting__faq-item {
        padding: 20px;
        margin-bottom: 10px;
        border-radius: 8px;
    }

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

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

    .page-cockfighting__step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .page-cockfighting__step-number {
        font-size: 2em;
        margin-bottom: 10px;
    }

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

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

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

/* Ensure all content containers have max-width: 100% and overflow: hidden for mobile */
.page-cockfighting__section,
.page-cockfighting__container,
.page-cockfighting__hero-section,
.page-cockfighting__hero-content,
.page-cockfighting__cta-buttons,
.page-cockfighting__feature-grid,
.page-cockfighting__promotion-grid,
.page-cockfighting__step-list,
.page-cockfighting__faq-list {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden; /* Prevent horizontal scroll */
}