/* style/cockfighting.css */

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --accent-color-register: #C30808;
    --accent-color-login: #C30808;
    --font-color-register-login: #FFFF00;
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #ffffff;
    --background-dark: #017439;
}

.page-cockfighting {
    font-family: 'Arial', sans-serif;
    color: var(--text-dark); /* Default text color for light backgrounds */
    line-height: 1.6;
}

.page-cockfighting__dark-bg {
    background: var(--background-dark);
    color: var(--text-light);
}

.page-cockfighting__light-bg {
    background: var(--background-light);
    color: var(--text-dark);
}

.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for aesthetic */
    overflow: hidden;
}

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

.page-cockfighting__hero-content {
    padding: 40px 20px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.7); /* Semi-transparent overlay for text readability */
    color: var(--text-light);
    border-radius: 8px;
    transform: translateY(-50%); /* Pull content up over the image slightly for visual flow */
    margin-bottom: -50px; /* Counteract transform for document flow */
    z-index: 10;
    position: relative;
}

.page-cockfighting__main-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: 700;
}

.page-cockfighting__hero-description {
    font-size: 1.15rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__btn-primary {
    background: var(--accent-color-register);
    color: var(--font-color-register-login);
    border: 2px solid var(--accent-color-register);
}

.page-cockfighting__btn-primary:hover {
    background: #a30606;
    border-color: #a30606;
}

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

.page-cockfighting__btn-secondary:hover {
    background: var(--font-color-register-login);
    color: var(--accent-color-register);
}

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

.page-cockfighting__section-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
    line-height: 1.3;
}

.page-cockfighting__intro-section .page-cockfighting__section-title,
.page-cockfighting__guide-section .page-cockfighting__section-title,
.page-cockfighting__promotions-section .page-cockfighting__section-title,
.page-cockfighting__faq-section .page-cockfighting__section-title {
    color: var(--primary-color);
}

.page-cockfighting__bet-types-section .page-cockfighting__section-title,
.page-cockfighting__strategy-section .page-cockfighting__section-title,
.page-cockfighting__safety-section .page-cockfighting__section-title,
.page-cockfighting__conclusion-section .page-cockfighting__section-title {
    color: var(--text-light);
}

.page-cockfighting__text-block {
    font-size: 1.05rem;
    margin-bottom: 20px;
    text-align: justify;
}

.page-cockfighting__image-content {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    min-height: 200px;
}

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

.page-cockfighting__card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: center;
    color: var(--text-light);
    transition: transform 0.3s ease;
}

.page-cockfighting__light-bg .page-cockfighting__card {
    background: #ffffff;
    color: var(--text-dark);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.page-cockfighting__card:hover {
    transform: translateY(-5px);
}

.page-cockfighting__card-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--primary-color);
}

.page-cockfighting__dark-bg .page-cockfighting__card-title {
    color: var(--font-color-register-login);
}

.page-cockfighting__card-text {
    font-size: 1rem;
    opacity: 0.9;
}

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

.page-cockfighting__list-item {
    background: #f9f9f9;
    border-left: 5px solid var(--primary-color);
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-size: 1.05rem;
    line-height: 1.5;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__promo-list {
    list-style: disc;
    padding-left: 25px;
    margin-top: 20px;
    margin-bottom: 30px;
}

.page-cockfighting__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.page-cockfighting__feature-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.page-cockfighting__feature-title {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: var(--font-color-register-login);
}

.page-cockfighting__feature-description {
    font-size: 1rem;
    opacity: 0.9;
}

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

.page-cockfighting__faq-item {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-cockfighting__faq-item[open] {
    background: #e6ffe6;
    border-color: var(--primary-color);
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--primary-color);
    list-style: none; /* For details/summary */
}

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

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

.page-cockfighting__faq-toggle {
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--primary-color);
    line-height: 1;
    margin-left: 15px;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
    content: '−';
}

.page-cockfighting__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: var(--text-dark);
}

.page-cockfighting__faq-answer p {
    margin-bottom: 0;
}

.page-cockfighting__conclusion-section {
    padding-bottom: 60px;
}

/* General image responsiveness */
.page-cockfighting img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .page-cockfighting__hero-content {
        padding: 30px 15px;
    }
    .page-cockfighting__main-title {
        font-size: 3rem;
    }
    .page-cockfighting__hero-description {
        font-size: 1.05rem;
    }
    .page-cockfighting__section-title {
        font-size: 2.5rem;
    }
    .page-cockfighting__card-title {
        font-size: 1.4rem;
    }
    .page-cockfighting__feature-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    /* HERO Section */
    .page-cockfighting__hero-section {
        padding-top: 10px !important;
    }
    .page-cockfighting__hero-content {
        padding: 25px 15px !important;
        transform: translateY(-25%) !important;
        margin-bottom: -25px !important;
        max-width: 95% !important;
    }
    .page-cockfighting__main-title {
        font-size: 2.2rem !important;
        margin-bottom: 10px !important;
    }
    .page-cockfighting__hero-description {
        font-size: 1rem !important;
        margin-bottom: 20px !important;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column !important;
        gap: 10px !important;
        padding-left: 15px;
        padding-right: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* General Content Sections */
    .page-cockfighting__container {
        padding: 30px 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-cockfighting__section-title {
        font-size: 2rem !important;
        margin-bottom: 25px !important;
    }
    .page-cockfighting__text-block {
        font-size: 0.95rem !important;
    }

    /* Product Display (Gameshow) and General Images */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }
    .page-cockfighting__image-content {
        margin: 20px auto !important;
    }

    /* Cards and Grids */
    .page-cockfighting__grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .page-cockfighting__card {
        padding: 20px !important;
    }
    .page-cockfighting__card-title {
        font-size: 1.3rem !important;
    }
    .page-cockfighting__feature-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* Buttons and Button Containers */
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary,
    .page-cockfighting a[class*="button"],
    .page-cockfighting a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* FAQ Section */
    .page-cockfighting__faq-question {
        font-size: 1rem !important;
        padding: 15px 20px !important;
    }
    .page-cockfighting__faq-toggle {
        font-size: 1.5rem !important;
    }
    .page-cockfighting__faq-answer {
        padding: 0 20px 15px !important;
    }
    .page-cockfighting__list-item {
        font-size: 1rem !important;
        padding: 12px 15px !important;
    }
}