/* style/cockfighting.css */

/* Custom Colors */
:root {
    --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-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

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

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

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* body already handles --header-offset */
    background-color: var(--page-cockfighting-deep-green);
    overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-height: 675px;
    overflow: hidden;
    margin-bottom: 30px;
}

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

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

.page-cockfighting__main-title {
    color: var(--page-cockfighting-gold);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.4);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-cockfighting__description {
    color: var(--page-cockfighting-text-secondary);
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 40px;
}

.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.125rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%;
}

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

.page-cockfighting__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(19, 153, 74, 0.6);
}

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: var(--page-cockfighting-gold);
    border: 2px solid var(--page-cockfighting-gold);
    box-shadow: 0 0 10px rgba(242, 193, 78, 0.3);
}

.page-cockfighting__btn-secondary:hover {
    background-color: rgba(242, 193, 78, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(242, 193, 78, 0.5);
}

/* Section General */
.page-cockfighting__intro-section,
.page-cockfighting__game-types-section,
.page-cockfighting__guide-section,
.page-cockfighting__promotions-section,
.page-cockfighting__tips-section,
.page-cockfighting__safety-section,
.page-cockfighting__faq-section {
    padding: 80px 0;
    border-bottom: 1px solid var(--page-cockfighting-divider);
}

.page-cockfighting__intro-section {
    background-color: var(--page-cockfighting-background);
}

.page-cockfighting__section-title {
    color: var(--page-cockfighting-gold);
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

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

/* Cards Grid */
.page-cockfighting__cards-grid,
.page-cockfighting__promo-grid,
.page-cockfighting__tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting__card,
.page-cockfighting__promo-card,
.page-cockfighting__tip-item {
    background-color: var(--page-cockfighting-card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid var(--page-cockfighting-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__card:hover,
.page-cockfighting__promo-card:hover,
.page-cockfighting__tip-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__card-image,
.page-cockfighting__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
    border: 1px solid var(--page-cockfighting-divider);
}

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

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

/* Guide Section */
.page-cockfighting__guide-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-cockfighting__guide-item {
    background-color: var(--page-cockfighting-card-bg);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 20px;
    border: 1px solid var(--page-cockfighting-border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__guide-step-title {
    color: var(--page-cockfighting-gold);
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.page-cockfighting__guide-item p {
    color: var(--page-cockfighting-text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

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

/* Promotions Section */
.page-cockfighting__btn-small {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 20px;
    border-radius: 6px;
    background: var(--page-cockfighting-button-gradient);
    color: var(--page-cockfighting-text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: opacity 0.3s ease;
}

.page-cockfighting__btn-small:hover {
    opacity: 0.9;
}

/* Safety Section */
.page-cockfighting__safety-content {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-cockfighting__safety-text {
    flex: 1;
    min-width: 300px;
}

.page-cockfighting__safety-image-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-cockfighting__safety-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--page-cockfighting-border);
}

/* FAQ Section */
.page-cockfighting__faq-list {
    margin-top: 40px;
}

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

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--page-cockfighting-text-main);
    cursor: pointer;
    background-color: rgba(17, 168, 78, 0.2);
    border-bottom: 1px solid var(--page-cockfighting-divider);
    transition: background-color 0.3s ease;
    list-style: none;
}

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

.page-cockfighting__faq-question:hover {
    background-color: rgba(17, 168, 78, 0.3);
}

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

.page-cockfighting__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    width: 30px;
    text-align: center;
    color: var(--page-cockfighting-gold);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-cockfighting__section-title {
        font-size: 2rem;
    }
    .page-cockfighting__cards-grid,
    .page-cockfighting__promo-grid,
    .page-cockfighting__tips-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }
    .page-cockfighting__description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-cockfighting__intro-section,
    .page-cockfighting__game-types-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__tips-section,
    .page-cockfighting__safety-section,
    .page-cockfighting__faq-section {
        padding: 40px 0;
    }

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

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

    .page-cockfighting__text-block {
        font-size: 0.95rem;
    }

    .page-cockfighting__card-image,
    .page-cockfighting__promo-image,
    .page-cockfighting__safety-image,
    .page-cockfighting__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-cockfighting__card,
    .page-cockfighting__promo-card,
    .page-cockfighting__tip-item,
    .page-cockfighting__guide-item,
    .page-cockfighting__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 20px;
    }

    .page-cockfighting__safety-content {
        flex-direction: column;
    }

    .page-cockfighting__safety-text,
    .page-cockfighting__safety-image-wrapper {
        min-width: unset;
        width: 100%;
    }

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

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

@media (max-width: 480px) {
    .page-cockfighting__main-title {
        font-size: clamp(1.5rem, 10vw, 2.2rem);
    }
    .page-cockfighting__section-title {
        font-size: 1.5rem;
    }
    .page-cockfighting__card-title,
    .page-cockfighting__promo-title,
    .page-cockfighting__tip-title {
        font-size: 1.25rem;
    }
    .page-cockfighting__guide-step-title {
        font-size: 1.35rem;
    }
}