/* style/cockfighting.css */

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

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

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

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

.page-cockfighting__sub-title {
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    color: var(--mcw-text-main);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    word-wrap: break-word;
    box-sizing: border-box;
}

.page-cockfighting__btn-primary {
    background: var(--mcw-button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-cockfighting__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 0 15px var(--mcw-glow);
}

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

.page-cockfighting__btn-secondary:hover {
    background-color: var(--mcw-gold);
    color: var(--mcw-background);
}

.page-cockfighting__btn-text {
    background: none;
    color: var(--mcw-gold);
    border: none;
    padding: 8px 15px;
    font-size: 1rem;
    text-decoration: underline;
}

.page-cockfighting__btn-text:hover {
    color: var(--mcw-glow);
}

.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 60px;
    background-color: var(--mcw-background);
}

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

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

.page-cockfighting__hero-content {
    max-width: 900px;
    text-align: center;
    padding: 0 20px;
}

.page-cockfighting__main-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    color: var(--mcw-gold);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.1;
}

.page-cockfighting__subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--mcw-text-secondary);
    margin-bottom: 30px;
}

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

.page-cockfighting__introduction-section,
.page-cockfighting__betting-guide-section,
.page-cockfighting__registration-section,
.page-cockfighting__conclusion-section {
    padding: 80px 0;
}

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

.page-cockfighting__image-content {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    margin-top: 30px;
}

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

.page-cockfighting__card {
    background-color: var(--mcw-card-bg);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: var(--mcw-text-main);
    border: 1px solid var(--mcw-border);
}

.page-cockfighting__card-image {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

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

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

.page-cockfighting__flex-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-top: 40px;
}

.page-cockfighting__text-column,
.page-cockfighting__image-column {
    flex: 1;
}

.page-cockfighting__list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-cockfighting__list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--mcw-text-secondary);
    font-size: 1.05rem;
}

.page-cockfighting__list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--mcw-glow);
}

.page-cockfighting__tip-card {
    align-items: center;
    text-align: center;
}

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

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

.page-cockfighting__step-card {
    text-align: center;
    align-items: center;
}

.page-cockfighting__step-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--mcw-gold);
    margin-bottom: 15px;
    background-color: var(--mcw-deep-green);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--mcw-glow);
}

.page-cockfighting__cta-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.page-cockfighting__promotions-section {
    padding: 80px 0;
    background-color: var(--mcw-background);
}

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

.page-cockfighting__promo-card {
    background-color: var(--mcw-card-bg);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid var(--mcw-border);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-cockfighting__features-section {
    padding: 80px 0;
}

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

.page-cockfighting__feature-item {
    background-color: var(--mcw-deep-green);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    border: 1px solid var(--mcw-border);
}

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

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

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

.page-cockfighting__faq-list {
    max-width: 900px;
    margin: 40px auto;
}

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

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--mcw-text-main);
    background-color: var(--mcw-deep-green);
    border-bottom: 1px solid var(--mcw-divider);
    list-style: none;
}

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

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

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

.page-cockfighting__faq-answer {
    padding: 15px 25px;
    font-size: 1rem;
    color: var(--mcw-text-secondary);
}

.page-cockfighting__faq-image {
    margin-top: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-cockfighting__flex-content {
        flex-direction: column;
        align-items: center;
    }

    .page-cockfighting__image-column {
        order: -1; /* Image appears above text on smaller screens */
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        padding-bottom: 40px;
    }

    .page-cockfighting__main-title {
        font-size: 2.2rem;
    }

    .page-cockfighting__subtitle {
        font-size: 1rem;
    }

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

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary,
    .page-cockfighting__btn-text {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-cockfighting__introduction-section,
    .page-cockfighting__betting-guide-section,
    .page-cockfighting__registration-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__features-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__conclusion-section {
        padding: 40px 0;
    }

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

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

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

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

    /* Mobile video responsiveness (if any, though not explicitly in HTML for this page) */
    .page-cockfighting video,
    .page-cockfighting__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-cockfighting__video-section,
    .page-cockfighting__video-container,
    .page-cockfighting__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-cockfighting__video-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }

    .page-cockfighting__list li {
        font-size: 0.95rem;
    }

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

    .page-cockfighting__faq-answer {
        font-size: 0.9rem;
        padding: 10px 20px;
    }

    .page-cockfighting__container {
        padding-left: 15px;
        padding-right: 15px;
    }
}