/* style/cockfighting.css */
:root {
    --bg-color: #08160F;
    --card-bg: #11271B;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --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); /* Default text color for dark body background */
    background-color: var(--bg-color);
}

.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    text-align: center;
    overflow: hidden;
    box-sizing: border-box;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

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

.page-cockfighting__hero-content {
    max-width: 900px;
    z-index: 1;
}

.page-cockfighting__main-title {
    color: var(--gold-color);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.6);
}

.page-cockfighting__description {
    font-size: 1.15rem;
    line-height: 1.6;
    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 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    border: 2px solid transparent;
}

.page-cockfighting__btn-primary {
    background: var(--btn-gradient);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-cockfighting__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-cockfighting__btn-secondary {
    background: var(--deep-green);
    color: var(--gold-color);
    border-color: var(--gold-color);
}

.page-cockfighting__btn-secondary:hover {
    transform: translateY(-3px);
    background: var(--gold-color);
    color: var(--deep-green);
}

.page-cockfighting__video-section {
    padding: 80px 20px;
    background-color: var(--card-bg);
    text-align: center;
    box-sizing: border-box;
    overflow: hidden;
}

.page-cockfighting__section-title {
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 0 5px rgba(242, 255, 246, 0.3);
}

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

.page-cockfighting__video-container {
    position: relative;
    width: 100%; /* Desktop width: 100% */
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.page-cockfighting__video-wrapper {
    display: block;
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    background-color: #000;
    cursor: pointer;
}

.page-cockfighting__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

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

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

.page-cockfighting__text-block {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.page-cockfighting__features-grid,
.page-cockfighting__game-types-grid,
.page-cockfighting__steps-grid,
.page-cockfighting__promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

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

.page-cockfighting__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__feature-icon,
.page-cockfighting__game-image,
.page-cockfighting__step-image,
.page-cockfighting__promotion-image {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-cockfighting__feature-title,
.page-cockfighting__game-title,
.page-cockfighting__step-title,
.page-cockfighting__promotion-title {
    font-size: 1.6rem;
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-cockfighting__feature-description,
.page-cockfighting__game-description,
.page-cockfighting__step-description,
.page-cockfighting__promotion-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

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

.page-cockfighting__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

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

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

.page-cockfighting__faq-qtext {
    flex-grow: 1;
    pointer-events: none; /* Allow click on summary, not just text */
}

.page-cockfighting__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    pointer-events: none; /* Allow click on summary, not just toggle */
}

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

.page-cockfighting__cta-bottom {
    padding: 80px 20px;
    text-align: center;
    background-color: var(--deep-green);
    color: var(--text-main);
    box-sizing: border-box;
}

.page-cockfighting__cta-title {
    font-size: 2.8rem;
    color: var(--gold-color);
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.6);
}

.page-cockfighting__cta-description {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__main-title {
        font-size: 2.8rem;
    }
    .page-cockfighting__section-title {
        font-size: 2.2rem;
    }
    .page-cockfighting__cta-title {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section,
    .page-cockfighting__video-section,
    .page-cockfighting__content-area,
    .page-cockfighting__cta-bottom {
        padding: 40px 15px;
        box-sizing: border-box !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .page-cockfighting__hero-section {
        padding-top: 10px !important;
    }

    .page-cockfighting__main-title {
        font-size: clamp(2rem, 8vw, 2.5rem); /* Use clamp for H1 */
        margin-bottom: 15px;
    }

    .page-cockfighting__description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .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: 1rem;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-cockfighting__section-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .page-cockfighting__section-description {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .page-cockfighting__video-container,
    .page-cockfighting__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }
    
    .page-cockfighting video,
    .page-cockfighting__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

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

    .page-cockfighting__features-grid,
    .page-cockfighting__game-types-grid,
    .page-cockfighting__steps-grid,
    .page-cockfighting__promotions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-cockfighting__card {
        padding: 20px;
    }

    .page-cockfighting__feature-title,
    .page-cockfighting__game-title,
    .page-cockfighting__step-title,
    .page-cockfighting__promotion-title {
        font-size: 1.4rem;
    }

    .page-cockfighting__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-cockfighting__faq-answer {
        padding: 15px 20px;
        font-size: 0.9rem;
    }

    .page-cockfighting__cta-title {
        font-size: 2rem;
    }

    .page-cockfighting__cta-description {
        font-size: 1rem;
    }

    /* Ensure all containing elements for images/videos/buttons adapt */
    .page-cockfighting__hero-image-wrapper,
    .page-cockfighting__feature-card,
    .page-cockfighting__game-card,
    .page-cockfighting__step-card,
    .page-cockfighting__promotion-card,
    .page-cockfighting__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0; /* Handled by section padding */
        padding-right: 0; /* Handled by section padding */
    }
}