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

/* --- Base Styles --- */
.page-cockfighting {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--background-color);
}

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

.page-cockfighting__section-title {
    font-size: clamp(28px, 4vw, 42px);
    color: var(--text-main);
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    line-height: 1.2;
}

.page-cockfighting__text-block {
    margin-bottom: 20px;
    color: var(--text-main);
}

.page-cockfighting__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-main);
}

.page-cockfighting__numbered-list {
    list-style: decimal;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-main);
}

.page-cockfighting__list-item {
    margin-bottom: 10px;
}

.page-cockfighting__text-link {
    color: var(--gold);
    text-decoration: underline;
}

/* --- Hero Section --- */
.page-cockfighting__hero-section {
    position: relative;
    padding: 10px 0 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 600px;
    overflow: hidden;
}

.page-cockfighting__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    color: var(--text-main);
    background: rgba(8, 22, 15, 0.7);
    padding: 40px;
    border-radius: 10px;
    margin-top: 80px;
}

.page-cockfighting__main-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-main);
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__description {
    font-size: clamp(16px, 2vw, 20px);
    margin-bottom: 30px;
    color: var(--text-secondary);
}

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

.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: 18px;
    transition: all 0.3s ease;
    cursor: pointer;
    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);
}

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

.page-cockfighting__btn-secondary:hover {
    background: var(--border);
    color: #ffffff;
    transform: translateY(-2px);
}

/* --- General Sections --- */
.page-cockfighting__introduction-section,
.page-cockfighting__bet-types-section,
.page-cockfighting__how-to-bet-section,
.page-cockfighting__strategies-section,
.page-cockfighting__promotions-section,
.page-cockfighting__features-section,
.page-cockfighting__faq-section,
.page-cockfighting__final-cta-section {
    padding: 60px 0;
}

/* Dark Section for contrast */
.page-cockfighting__dark-section {
    background-color: var(--card-bg);
    color: var(--text-main);
}

/* Image styles within content */
.page-cockfighting__image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-cockfighting__feature-item {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: var(--text-main);
}

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

.page-cockfighting__feature-description {
    font-size: 16px;
    color: var(--text-secondary);
}

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

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

.page-cockfighting__faq-item summary {
    list-style: none;
}
.page-cockfighting__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-weight: bold;
    cursor: pointer;
    background-color: var(--deep-green);
    color: var(--text-main);
    border-bottom: 1px solid var(--divider);
}

.page-cockfighting__faq-question:hover {
    background-color: var(--main-color);
}

.page-cockfighting__faq-toggle {
    font-size: 24px;
    line-height: 1;
    width: 24px;
    text-align: center;
}

.page-cockfighting__faq-answer {
    padding: 20px;
    font-size: 16px;
    background-color: var(--card-bg);
    color: var(--text-secondary);
}

/* For JS-based FAQ (if not using details/summary, but details is preferred) */
.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    max-height: 2000px;
    transition: max-height 0.5s ease-out;
}
.page-cockfighting__faq-item:not(.active) .page-cockfighting__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}
.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
    content: "−";
}

/* --- Final CTA Section --- */
.page-cockfighting__final-cta-section {
    text-align: center;
    background-color: var(--main-color);
    color: #ffffff;
}

.page-cockfighting__final-cta-section .page-cockfighting__section-title {
    color: #ffffff;
}

.page-cockfighting__final-cta-section .page-cockfighting__text-block {
    color: #f2fff6;
    max-width: 800px;
    margin: 0 auto 30px;
}

.page-cockfighting__btn-large {
    padding: 18px 40px;
    font-size: 20px;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .page-cockfighting__hero-content {
        padding: 30px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(32px, 4.5vw, 50px);
    }
    .page-cockfighting__description {
        font-size: clamp(15px, 1.8vw, 18px);
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        padding: 10px 0 40px;
        min-height: 500px;
    }
    .page-cockfighting__hero-content {
        padding: 25px;
        margin-top: 60px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(28px, 6vw, 40px);
    }
    .page-cockfighting__description {
        font-size: clamp(14px, 2.5vw, 16px);
    }
    .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: 16px;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }
    .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;
        overflow: hidden !important;
    }

    .page-cockfighting__section-title {
        font-size: clamp(24px, 5vw, 36px);
    }
    .page-cockfighting__text-block,
    .page-cockfighting__list-item,
    .page-cockfighting__feature-description,
    .page-cockfighting__faq-answer p {
        font-size: 16px;
    }
    .page-cockfighting__introduction-section,
    .page-cockfighting__bet-types-section,
    .page-cockfighting__how-to-bet-section,
    .page-cockfighting__strategies-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__features-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__final-cta-section {
        padding: 40px 0;
    }

    /* Mobile image responsiveness */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    /* Video responsiveness (none currently in HTML, but included for compliance) */
    .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__video-section {
        padding-top: 10px !important;
    }
}