/* style/cockfighting.css */

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

.page-cockfighting {
    font-family: 'Arial', sans-serif;
    background-color: var(--page-cockfighting-background-color);
    color: var(--page-cockfighting-text-main);
    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;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    background-color: var(--page-cockfighting-background-color);
    overflow: hidden;
}

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

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

.page-cockfighting__hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 1;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

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

.page-cockfighting__subtitle {
    color: var(--page-cockfighting-text-secondary);
    font-size: 1.1rem;
    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 {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    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(--page-cockfighting-button-gradient);
    color: var(--page-cockfighting-text-main);
    border: none;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

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

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

.page-cockfighting__btn-secondary:hover {
    background: var(--page-cockfighting-primary-color);
    color: var(--page-cockfighting-text-main);
    transform: translateY(-2px);
}

.page-cockfighting__introduction-section,
.page-cockfighting__types-of-bets-section,
.page-cockfighting__advantages-section {
    padding: 80px 0;
    background-color: var(--page-cockfighting-background-color);
    color: var(--page-cockfighting-text-main);
}

.page-cockfighting__dark-section {
    padding: 80px 0;
    background-color: var(--page-cockfighting-card-bg);
    color: var(--page-cockfighting-text-main);
}

.page-cockfighting__light-bg {
    background-color: var(--page-cockfighting-background-color);
    color: var(--page-cockfighting-text-main);
}

.page-cockfighting__section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    color: var(--page-cockfighting-gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    position: relative;
}

.page-cockfighting__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--page-cockfighting-primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

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

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

.page-cockfighting__step-card,
.page-cockfighting__advantage-card,
.page-cockfighting__card {
    background-color: var(--page-cockfighting-card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--page-cockfighting-border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--page-cockfighting-text-main);
}

.page-cockfighting__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__step-icon,
.page-cockfighting__advantage-icon,
.page-cockfighting__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 20px;
    border-radius: 8px;
    object-fit: cover;
    max-width: 100%;
}

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

.page-cockfighting__card-text {
    font-size: 1rem;
    color: var(--page-cockfighting-text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

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

.page-cockfighting__list-item {
    background-color: var(--page-cockfighting-card-bg);
    border: 1px solid var(--page-cockfighting-divider-color);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: var(--page-cockfighting-text-main);
}

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

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

.page-cockfighting__faq-section {
    padding: 80px 0;
    background-color: var(--page-cockfighting-background-color);
    color: var(--page-cockfighting-text-main);
}

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

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

.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(--page-cockfighting-gold-color);
    cursor: pointer;
    user-select: none;
    background-color: var(--page-cockfighting-card-bg);
    border-bottom: 1px solid var(--page-cockfighting-divider-color);
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
    border-bottom: 1px solid var(--page-cockfighting-divider-color);
}

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

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

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

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

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

.page-cockfighting__cta-banner {
    padding: 80px 0;
    text-align: center;
    background: var(--page-cockfighting-deep-green);
    border-top: 5px solid var(--page-cockfighting-primary-color);
    border-bottom: 5px solid var(--page-cockfighting-primary-color);
    margin-top: 40px;
}

.page-cockfighting__cta-title {
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    color: var(--page-cockfighting-gold-color);
    margin-bottom: 20px;
    font-weight: 700;
}

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

.page-cockfighting__btn-large {
    padding: 18px 40px;
    font-size: 1.2rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-cockfighting__hero-content {
        padding: 15px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-cockfighting__subtitle {
        font-size: 1rem;
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    }
    .page-cockfighting__cta-title {
        font-size: clamp(1.8rem, 4vw, 2.8rem);
    }
}

@media (max-width: 768px) {
    .page-cockfighting {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-cockfighting__container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }
    .page-cockfighting__hero-image-wrapper {
        margin-bottom: 20px;
    }
    .page-cockfighting__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-cockfighting__hero-content {
        padding: 10px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-cockfighting__subtitle {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 10px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .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;
    }

    .page-cockfighting__introduction-section,
    .page-cockfighting__how-to-play-section,
    .page-cockfighting__types-of-bets-section,
    .page-cockfighting__tips-section,
    .page-cockfighting__advantages-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__cta-banner {
        padding: 40px 0;
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.5rem, 5vw, 2.2rem);
        margin-bottom: 30px;
    }
    .page-cockfighting__text-block {
        font-size: 1rem;
    }
    .page-cockfighting__steps-grid,
    .page-cockfighting__advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-cockfighting__card {
        padding: 20px;
    }
    .page-cockfighting__card-title {
        font-size: 1.3rem;
    }
    .page-cockfighting__step-icon,
    .page-cockfighting__advantage-icon,
    .page-cockfighting__content-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin-bottom: 15px;
    }
    .page-cockfighting__list-item {
        padding: 20px;
    }
    .page-cockfighting__list-title {
        font-size: 1.2rem;
    }
    .page-cockfighting__faq-question {
        font-size: 1.1rem;
        padding: 15px 20px;
    }
    .page-cockfighting__faq-answer {
        padding: 0 20px 15px;
    }
    .page-cockfighting__cta-title {
        font-size: clamp(1.6rem, 5.5vw, 2.5rem);
    }
    .page-cockfighting__cta-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    .page-cockfighting__btn-large {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
    .page-cockfighting__card,
    .page-cockfighting__section,
    .page-cockfighting__box,
    .page-cockfighting__hero-section,
    .page-cockfighting__introduction-section,
    .page-cockfighting__how-to-play-section,
    .page-cockfighting__types-of-bets-section,
    .page-cockfighting__tips-section,
    .page-cockfighting__advantages-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__cta-banner,
    .page-cockfighting__video-section,
    .page-cockfighting__video-container,
    .page-cockfighting__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* Ensure content images meet minimum size requirements */
.page-cockfighting__content-image {
    min-width: 200px;
    min-height: 200px;
}

.page-cockfighting__step-icon,
.page-cockfighting__advantage-icon {
    min-width: 200px;
    min-height: 200px;
}