/* style/cockfighting.css */

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

.page-cockfighting {
    font-family: 'Arial', sans-serif;
    color: var(--page-cockfighting-text-main); /* Default text color for dark background */
    background-color: var(--page-cockfighting-background); /* Ensure body background is dark */
}

/* Main sections */
.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, 48px);
    color: var(--page-cockfighting-text-main);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.2;
}

.page-cockfighting__light-bg {
    background-color: #ffffff; /* White background for contrast */
    color: #333333; /* Dark text for light background */
    padding: 60px 0;
}

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

.page-cockfighting__dark-bg {
    background-color: var(--page-cockfighting-background); /* Deep green background */
    color: var(--page-cockfighting-text-main); /* Light text for dark background */
    padding: 60px 0;
}

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

.page-cockfighting__video-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    margin-bottom: 30px;
}

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

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

.page-cockfighting__main-title {
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 800;
    color: var(--page-cockfighting-gold);
    margin-bottom: 15px;
    line-height: 1.1;
}

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

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

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    text-align: center;
    min-width: 180px; /* Ensure buttons have a minimum width */
}

.page-cockfighting__btn-primary {
    background: var(--page-cockfighting-button-gradient);
    color: var(--page-cockfighting-text-main);
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-cockfighting__btn-secondary {
    background: none;
    color: var(--page-cockfighting-gold);
    border: 2px solid var(--page-cockfighting-gold);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-cockfighting__btn-large {
    padding: 15px 40px;
    font-size: 22px;
}

/* About Section */
.page-cockfighting__about-section .page-cockfighting__content-grid {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-cockfighting__about-section .page-cockfighting__image-wrapper {
    flex: 1;
    min-width: 250px;
}

.page-cockfighting__about-section .page-cockfighting__image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__about-section .page-cockfighting__text-block {
    flex: 1.5;
    font-size: 17px;
    line-height: 1.7;
}

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

.page-cockfighting__step-item {
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.page-cockfighting__dark-bg .page-cockfighting__step-item {
    background-color: var(--page-cockfighting-card-bg);
    border: 1px solid var(--page-cockfighting-border);
    color: var(--page-cockfighting-text-main);
}

.page-cockfighting__step-item h3 {
    font-size: 24px;
    color: var(--page-cockfighting-gold);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-cockfighting__step-item p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

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

.page-cockfighting__feature-item {
    text-align: center;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    background-color: #f8f8f8;
}

.page-cockfighting__light-bg .page-cockfighting__feature-item {
    background-color: #f8f8f8;
    color: #333333;
}

.page-cockfighting__feature-item img {
    
    
    margin-bottom: 20px;
    object-fit: contain;
}

.page-cockfighting__feature-item h3 {
    font-size: 22px;
    color: var(--page-cockfighting-primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-cockfighting__feature-item p {
    font-size: 16px;
    line-height: 1.6;
}

/* Betting Tips Section */
.page-cockfighting__betting-tips-section .page-cockfighting__content-grid {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.page-cockfighting__betting-tips-section .page-cockfighting__image-wrapper {
    flex: 1;
    min-width: 250px;
}

.page-cockfighting__betting-tips-section .page-cockfighting__image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__betting-tips-section .page-cockfighting__text-block {
    flex: 1.5;
}

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

.page-cockfighting__tips-list li {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
    color: var(--page-cockfighting-text-main);
}

.page-cockfighting__tips-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--page-cockfighting-gold);
    font-weight: bold;
}

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

.page-cockfighting__promotion-card {
    padding: 0;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.page-cockfighting__promotion-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #e0e0e0;
}

.page-cockfighting__promotion-card .page-cockfighting__promotion-title {
    font-size: 22px;
    font-weight: 700;
    margin: 20px 20px 10px 20px;
    color: var(--page-cockfighting-primary-color);
}

.page-cockfighting__promotion-card p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0 20px 20px 20px;
    flex-grow: 1;
}

.page-cockfighting__promotion-card .page-cockfighting__btn-primary {
    margin: 0 20px 20px 20px;
    width: calc(100% - 40px);
}

.page-cockfighting__view-all-promos {
    text-align: center;
}

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

.page-cockfighting__faq-item {
    background-color: var(--page-cockfighting-card-bg);
    border: 1px solid var(--page-cockfighting-border);
    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: 18px;
    font-weight: 600;
    color: var(--page-cockfighting-text-main);
    cursor: pointer;
    list-style: none; /* For details/summary */
}

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

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

.page-cockfighting__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--page-cockfighting-gold);
    margin-left: 15px;
    transition: transform 0.3s ease;
}

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

.page-cockfighting__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__cta-support {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* Register CTA Section */
.page-cockfighting__register-cta-section {
    text-align: center;
    padding: 80px 20px;
}

.page-cockfighting__register-cta-section .page-cockfighting__section-title {
    color: var(--page-cockfighting-gold);
    margin-bottom: 25px;
}

.page-cockfighting__cta-description {
    font-size: 18px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: var(--page-cockfighting-text-secondary);
}

/* Global image reset for content area */
.page-cockfighting img {
    max-width: 100%;
    height: auto;
    display: block;
    /* Ensure content area images are at least 200x200 if not explicitly smaller by design */
    min-width: 200px;
    min-height: 200px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .page-cockfighting__about-section .page-cockfighting__content-grid,
    .page-cockfighting__betting-tips-section .page-cockfighting__content-grid {
        flex-direction: column;
        text-align: center;
    }

    .page-cockfighting__about-section .page-cockfighting__image-wrapper,
    .page-cockfighting__betting-tips-section .page-cockfighting__image-wrapper {
        order: -1; /* Image on top for smaller screens */
        margin-bottom: 30px;
    }

    .page-cockfighting__feature-list {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-cockfighting__section-title {
        font-size: clamp(24px, 6vw, 36px);
        margin-bottom: 30px;
    }

    .page-cockfighting__hero-content {
        padding: 0 15px;
    }

    .page-cockfighting__main-title {
        font-size: clamp(30px, 8vw, 48px);
    }

    .page-cockfighting__tagline {
        font-size: clamp(15px, 3vw, 18px);
    }

    .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;
    }

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

    .page-cockfighting__light-bg,
    .page-cockfighting__dark-bg {
        padding: 40px 0;
    }

    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .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: 0;
        padding-right: 0;
        overflow: hidden !important;
    }
    .page-cockfighting__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }

    .page-cockfighting__step-item,
    .page-cockfighting__feature-item,
    .page-cockfighting__promotion-card {
        margin-bottom: 20px;
    }

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

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

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

    .page-cockfighting__register-cta-section {
        padding: 50px 15px;
    }

    .page-cockfighting__cta-description {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__hero-section {
        padding-bottom: 40px;
    }

    .page-cockfighting__cta-buttons {
        gap: 10px;
    }

    .page-cockfighting__btn-large {
        font-size: 18px;
        padding: 12px 30px;
    }

    .page-cockfighting__steps-list {
        grid-template-columns: 1fr;
    }

    .page-cockfighting__feature-list {
        grid-template-columns: 1fr;
    }

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