/* style/cockfighting.css */

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

.page-cockfighting {
    font-family: 'Arial', sans-serif;
    color: var(--color-text-main);
    background-color: var(--color-background);
}

.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: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    background-color: var(--color-background);
    overflow: hidden;
}

.page-cockfighting__hero-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 30px;
}

.page-cockfighting__hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 1;
}

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

.page-cockfighting__hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 30px;
}

.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: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-cockfighting__btn-primary {
    background: var(--color-button-gradient);
    color: var(--color-text-main);
    border: none;
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

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

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

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

.page-cockfighting__introduction-section,
.page-cockfighting__betting-types-section,
.page-cockfighting__tips-section,
.page-cockfighting__faq-section {
    padding: 80px 0;
    background-color: var(--color-background);
}

.page-cockfighting__why-choose-section,
.page-cockfighting__guide-section,
.page-cockfighting__promotions-section,
.page-cockfighting__conclusion-section {
    padding: 80px 0;
    background-color: var(--color-deep-green);
}

.page-cockfighting__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-cockfighting__sub-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 600;
    color: var(--color-text-main);
    margin-top: 40px;
    margin-bottom: 25px;
    text-align: center;
}

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

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

.page-cockfighting__image-content--large {
    max-width: 1000px;
}

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

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

.page-cockfighting__feature-card:hover,
.page-cockfighting__betting-card:hover,
.page-cockfighting__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 15px;
}

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

.page-cockfighting__step-list,
.page-cockfighting__tip-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-cockfighting__list-item {
    background-color: var(--color-card-bg);
    border-left: 5px solid var(--color-gold);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__list-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 10px;
}

.page-cockfighting__list-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

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

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

.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(--color-text-main);
    cursor: pointer;
    background-color: var(--color-deep-green);
    border-bottom: 1px solid var(--color-divider);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

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

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

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

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

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

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

/* Responsive styles */
@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }

    .page-cockfighting__main-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

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

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

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        padding: 12px 20px;
        font-size: 1rem;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-cockfighting__introduction-section,
    .page-cockfighting__why-choose-section,
    .page-cockfighting__betting-types-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__tips-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__conclusion-section {
        padding: 40px 0;
    }

    .page-cockfighting__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-cockfighting__section-title {
        font-size: clamp(1.8rem, 7vw, 2.2rem);
        margin-bottom: 30px;
    }

    .page-cockfighting__sub-title {
        font-size: clamp(1.3rem, 6vw, 1.8rem);
        margin-top: 30px;
        margin-bottom: 20px;
    }

    .page-cockfighting__text-block,
    .page-cockfighting__card-description,
    .page-cockfighting__list-description,
    .page-cockfighting__faq-answer p {
        font-size: 0.95rem;
    }

    .page-cockfighting__features-grid,
    .page-cockfighting__betting-grid,
    .page-cockfighting__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .page-cockfighting__feature-card,
    .page-cockfighting__betting-card,
    .page-cockfighting__promo-card {
        padding: 20px;
    }

    .page-cockfighting__card-title {
        font-size: 1.2rem;
    }

    .page-cockfighting__list-item {
        padding: 20px;
    }

    .page-cockfighting__list-title {
        font-size: 1.1rem;
    }

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

    .page-cockfighting__faq-answer {
        padding: 15px 20px;
    }

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

    .page-cockfighting__image-content {
        margin: 20px auto;
    }

    .page-cockfighting__image-content--large {
        max-width: 100% !important;
    }

    .page-cockfighting__hero-image {
        margin-bottom: 20px;
    }
}