/* style/cockfighting.css */

:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --background-dark: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --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 the page */
    background-color: var(--background-dark); /* Default background for the page */
}

/* Containers and sections */
.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;
    justify-content: center;
    text-align: center;
    padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
    background-color: var(--background-dark);
    overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-height: 70vh; /* Limit height for hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-cockfighting__hero-content {
    position: relative;
    z-index: 10;
    padding-top: 40px;
    max-width: 900px;
}

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

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

.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.1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-cockfighting__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
    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-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(17, 168, 78, 0.2);
}

.page-cockfighting__btn-secondary:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(17, 168, 78, 0.4);
}

/* Sections */
.page-cockfighting__introduction-section,
.page-cockfighting__betting-types-section,
.page-cockfighting__guide-section,
.page-cockfighting__advantages-section,
.page-cockfighting__faq-section,
.page-cockfighting__cta-section {
    padding: 80px 0;
}

.page-cockfighting__light-bg {
    background-color: #ffffff;
    color: #333333;
}

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

.page-cockfighting__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--gold-color);
    line-height: 1.3;
}

.page-cockfighting__light-bg .page-cockfighting__section-title {
    color: var(--deep-green);
}

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

.page-cockfighting__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}

/* Lists */
.page-cockfighting__list,
.page-cockfighting__steps-list,
.page-cockfighting__advantages-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-cockfighting__list-item,
.page-cockfighting__step-item,
.page-cockfighting__advantage-item {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.page-cockfighting__list-item::before,
.page-cockfighting__advantage-item::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
    top: 0;
}

.page-cockfighting__step-item {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.page-cockfighting__light-bg .page-cockfighting__step-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
}

.page-cockfighting__step-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.page-cockfighting__light-bg .page-cockfighting__step-title {
    color: var(--deep-green);
}

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

.page-cockfighting__light-bg .page-cockfighting__step-description {
    color: #555555;
}

.page-cockfighting__advantage-item {
    margin-bottom: 30px;
}

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

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

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

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

.page-cockfighting__light-bg .page-cockfighting__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
}

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

.page-cockfighting__light-bg .page-cockfighting__faq-question {
    color: var(--deep-green);
}

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

.page-cockfighting__light-bg .page-cockfighting__faq-question:hover {
    background-color: #f0f0f0;
}

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

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

.page-cockfighting__light-bg .page-cockfighting__faq-toggle {
    color: var(--primary-color);
}

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

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

.page-cockfighting__light-bg .page-cockfighting__faq-answer {
    color: #555555;
}

.page-cockfighting__faq-image {
    margin-top: 60px;
}

/* CTA Section */
.page-cockfighting__cta-section {
    text-align: center;
    background-color: var(--deep-green);
    padding: 100px 0;
}

.page-cockfighting__cta-section .page-cockfighting__section-title {
    color: var(--gold-color);
}

.page-cockfighting__cta-section .page-cockfighting__text-block {
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: var(--text-main);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting__section-title {
        margin-bottom: 30px;
    }
    .page-cockfighting__introduction-section,
    .page-cockfighting__betting-types-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__advantages-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__cta-section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .page-cockfighting {
        font-size: 16px;
        line-height: 1.6;
    }

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

    .page-cockfighting__hero-section {
        padding: 10px 0 40px 0;
    }

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

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

    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px;
    }

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

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

    .page-cockfighting__text-block {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }

    .page-cockfighting__content-image,
    .page-cockfighting__hero-image,
    .page-cockfighting__faq-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
        margin: 20px auto !important;
        box-sizing: border-box !important;
    }

    .page-cockfighting__list-item,
    .page-cockfighting__step-item,
    .page-cockfighting__advantage-item {
        font-size: 0.95rem;
        padding-left: 25px;
    }

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

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

    .page-cockfighting__advantage-title {
        font-size: 1.3rem;
    }

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

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

    .page-cockfighting__cta-section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__hero-section {
        padding-bottom: 30px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.8rem, 10vw, 2.2rem);
    }
    .page-cockfighting__hero-description {
        font-size: 0.9rem;
    }
    .page-cockfighting__cta-buttons {
        gap: 10px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        font-size: 0.95rem;
        padding: 10px 15px;
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.5rem, 8vw, 2rem);
    }
    .page-cockfighting__list-item,
    .page-cockfighting__step-item,
    .page-cockfighting__advantage-item {
        font-size: 0.9rem;
    }
    .page-cockfighting__step-title {
        font-size: 1.1rem;
    }
    .page-cockfighting__advantage-title {
        font-size: 1.2rem;
    }
    .page-cockfighting__faq-question {
        font-size: 0.95rem;
    }
    .page-cockfighting__faq-answer {
        font-size: 0.9rem;
    }
}