:root {
    --main-color: #11A84E;
    --accent-color: #22C768;
    --btn-gradient-start: #2AD16F;
    --btn-gradient-end: #13994A;
    --card-bg: #11271B;
    --bg-color-dark: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow: #57E38D;
    --gold: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
}

/* General styles for the cockfighting page */
.page-cockfighting {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-color-dark);
}

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

/* Color contrast fallback for sections */
.page-cockfighting__dark-bg {
    background-color: var(--bg-color-dark);
    color: var(--text-main);
}

.page-cockfighting__light-bg {
    background-color: #ffffff;
    color: #333333;
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px;
    background-color: var(--bg-color-dark);
    text-align: center;
    overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-width: 1920px;
    margin-bottom: 30px;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-cockfighting__hero-content {
    max-width: 900px;
    color: var(--text-main);
}

.page-cockfighting__main-title {
    font-size: clamp(2em, 5vw, 3em);
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--gold);
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.page-cockfighting__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting a[class*="button"],
.page-cockfighting a[class*="btn"] {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-cockfighting__btn-primary {
    background: linear-gradient(180deg, var(--btn-gradient-start) 0%, var(--btn-gradient-end) 100%);
    color: #ffffff;
    border: none;
}

.page-cockfighting__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

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

.page-cockfighting__btn-secondary:hover {
    background-color: var(--deep-green);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Section Titles */
.page-cockfighting__section-title {
    font-size: clamp(1.8em, 4vw, 2.5em);
    color: var(--gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.3;
}

.page-cockfighting__intro-section,
.page-cockfighting__how-to-play-section,
.page-cockfighting__benefits-section,
.page-cockfighting__faq-section,
.page-cockfighting__conclusion-section {
    padding: 80px 0;
    background-color: var(--bg-color-dark);
    color: var(--text-main);
}

.page-cockfighting__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: var(--text-secondary);
}

/* Grid Layout for Game Types */
.page-cockfighting__grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

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

.page-cockfighting__card:hover {
    transform: translateY(-5px);
}

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

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

.page-cockfighting__card-description {
    font-size: 1em;
    color: var(--text-secondary);
}

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

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

.page-cockfighting__step-number {
    width: 60px;
    height: 60px;
    background-color: var(--main-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 20px;
    box-shadow: 0 0 15px var(--glow);
}

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

.page-cockfighting__step-description {
    font-size: 1em;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Strategy Section */
.page-cockfighting__strategy-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.page-cockfighting__strategy-title {
    font-size: 1.3em;
    color: var(--gold);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-cockfighting__strategy-description {
    font-size: 1em;
    color: var(--text-secondary);
}

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

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

.page-cockfighting__benefit-title {
    font-size: 1.4em;
    color: var(--gold);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-cockfighting__benefit-description {
    font-size: 1em;
    color: var(--text-secondary);
}

.page-cockfighting__promo-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

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

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

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

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

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
    transform: rotate(45deg);
}

.page-cockfighting__faq-answer {
    padding: 20px 30px;
    font-size: 1em;
    color: var(--text-secondary);
    background-color: var(--card-bg);
    border-top: 1px solid var(--divider-color);
}

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

.page-cockfighting__faq-answer .page-cockfighting__btn-secondary {
    margin-top: 10px;
}

/* Conclusion Section */
.page-cockfighting__conclusion-section .page-cockfighting__cta-buttons {
    margin-top: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-cockfighting__hero-section {
        padding: 40px 15px;
    }

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

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

    .page-cockfighting__cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        width: 80%;
    }

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

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

    .page-cockfighting__intro-section,
    .page-cockfighting__how-to-play-section,
    .page-cockfighting__benefits-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__conclusion-section {
        padding: 60px 0;
    }

    .page-cockfighting__grid-layout {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

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

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

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

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

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary,
    .page-cockfighting a[class*="button"],
    .page-cockfighting a[class*="btn"] {
        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__cta-buttons,
    .page-cockfighting__button-group,
    .page-cockfighting__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

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

    .page-cockfighting__section-title {
        font-size: clamp(1.4em, 6vw, 2em);
        margin-bottom: 30px;
    }

    .page-cockfighting__intro-section,
    .page-cockfighting__how-to-play-section,
    .page-cockfighting__benefits-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__conclusion-section {
        padding: 40px 0;
    }

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

    .page-cockfighting__grid-layout {
        grid-template-columns: 1fr;
    }

    .page-cockfighting__card-image,
    .page-cockfighting__promo-image,
    .page-cockfighting__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .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 video,
    .page-cockfighting__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
}