/* style/cockfighting.css */

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

.page-cockfighting {
    font-family: Arial, sans-serif;
    color: var(--text-main-color); /* Body background is dark, so text should be light */
    background-color: var(--bg-color);
    line-height: 1.6;
}

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

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

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

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

.page-cockfighting__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--gold-color);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-cockfighting__hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary-color);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    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;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__btn-primary {
    background: var(--btn-gradient);
    color: var(--text-main-color);
    border: 2px solid var(--glow-color);
    box-shadow: 0 0 15px rgba(87, 227, 141, 0.6);
}

.page-cockfighting__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(87, 227, 141, 0.8);
}

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

.page-cockfighting__btn-secondary:hover {
    background: var(--glow-color);
    color: var(--bg-color);
    transform: translateY(-3px);
}

.page-cockfighting__section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.3;
    text-shadow: 0 0 8px rgba(87, 227, 141, 0.4);
}

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

.page-cockfighting__image-content {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__about-section,
.page-cockfighting__features-section,
.page-cockfighting__how-to-play-section,
.page-cockfighting__tips-section,
.page-cockfighting__promotions-section,
.page-cockfighting__faq-section,
.page-cockfighting__cta-bottom-section {
    padding: 80px 0;
}

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

.page-cockfighting__features-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;
    margin-bottom: 60px;
}

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

.page-cockfighting__feature-card:hover,
.page-cockfighting__step-card:hover,
.page-cockfighting__promotion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

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

.page-cockfighting__card-text {
    font-size: 1rem;
    color: var(--text-secondary-color);
    line-height: 1.5;
}

.page-cockfighting__step-number {
    font-size: 2.5rem;
    color: var(--glow-color);
    font-weight: bold;
    margin-bottom: 15px;
    background: var(--deep-green-color);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px auto;
    border: 2px solid var(--glow-color);
}

.page-cockfighting__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-cockfighting__tips-list li {
    background-color: var(--card-bg-color);
    border-left: 5px solid var(--glow-color);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    font-size: 1.1rem;
    color: var(--text-main-color);
}

.page-cockfighting__list-item-title {
    font-weight: bold;
    color: var(--gold-color);
    display: block;
    margin-bottom: 5px;
}

.page-cockfighting__btn-center {
    display: block;
    margin: 40px auto 0 auto;
    width: fit-content;
}

.page-cockfighting__faq-list {
    margin-top: 40px;
}

.page-cockfighting__faq-item {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__faq-item details > summary {
    list-style: none;
}

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

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

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

.page-cockfighting__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    color: var(--glow-color);
    transition: transform 0.3s ease;
}

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

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

.page-cockfighting__cta-bottom-section {
    text-align: center;
    padding-bottom: 80px;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .page-cockfighting__hero-section {
        padding-bottom: 40px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-cockfighting__hero-description {
        font-size: 1.1rem;
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }
    .page-cockfighting__about-section,
    .page-cockfighting__features-section,
    .page-cockfighting__how-to-play-section,
    .page-cockfighting__tips-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__cta-bottom-section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .page-cockfighting {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-cockfighting__container {
        padding: 0 15px;
    }
    .page-cockfighting__hero-section {
        padding-bottom: 30px;
    }
    .page-cockfighting__hero-image {
        margin-bottom: 20px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 15px;
    }
    .page-cockfighting__hero-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        padding: 12px 20px;
        width: 100% !important;
        max-width: 100% !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-cockfighting__section-title {
        font-size: clamp(1.5rem, 5.5vw, 2rem);
        margin-bottom: 30px;
    }
    .page-cockfighting__text-block {
        font-size: 1rem;
    }
    .page-cockfighting__image-content {
        margin-top: 20px;
    }
    .page-cockfighting__features-grid,
    .page-cockfighting__steps-grid,
    .page-cockfighting__promotions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
        margin-bottom: 40px;
    }
    .page-cockfighting__feature-card,
    .page-cockfighting__step-card,
    .page-cockfighting__promotion-card {
        padding: 25px;
    }
    .page-cockfighting__card-title {
        font-size: 1.3rem;
    }
    .page-cockfighting__card-text {
        font-size: 0.95rem;
    }
    .page-cockfighting__step-number {
        font-size: 2rem;
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    .page-cockfighting__tips-list li {
        padding: 15px;
        font-size: 1rem;
    }
    .page-cockfighting__faq-question {
        font-size: 1.1rem;
        padding: 15px;
    }
    .page-cockfighting__faq-answer {
        padding: 15px;
        font-size: 1rem;
    }
    .page-cockfighting__about-section,
    .page-cockfighting__features-section,
    .page-cockfighting__how-to-play-section,
    .page-cockfighting__tips-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__cta-bottom-section {
        padding: 40px 0;
    }
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__hero-section,
    .page-cockfighting__about-section .page-cockfighting__container,
    .page-cockfighting__features-section .page-cockfighting__container,
    .page-cockfighting__how-to-play-section .page-cockfighting__container,
    .page-cockfighting__tips-section .page-cockfighting__container,
    .page-cockfighting__promotions-section .page-cockfighting__container,
    .page-cockfighting__faq-section .page-cockfighting__container,
    .page-cockfighting__cta-bottom-section .page-cockfighting__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
}