:root {
    --l88-primary: #113B7A;
    --l88-secondary: #1D5FD1;
    --l88-btn-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    --l88-card-bg: #10233F;
    --l88-text-main: #F3F8FF;
    --l88-text-secondary: #AFC4E8;
    --l88-border: #244D84;
    --l88-glow: #4FA8FF;
    --l88-gold: #F2C14E;
    --l88-divider: #1B3357;
    --l88-deep-navy: #08162B;
}

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

/* Hero Section */
.page-cockfighting__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 0 40px;
    background: var(--l88-deep-navy);
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 10px;
}

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

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

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

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

/* Call to Action Buttons */
.page-cockfighting__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-link {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    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(--l88-btn-gradient);
    color: var(--l88-text-main);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

.page-cockfighting__btn-secondary:hover {
    background: var(--l88-gold);
    color: var(--l88-deep-navy);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-link {
    color: var(--l88-gold);
    border: 1px solid var(--l88-gold);
    padding: 10px 20px;
    font-size: 0.9rem;
    background: transparent;
}

.page-cockfighting__btn-link:hover {
    background: var(--l88-gold);
    color: var(--l88-deep-navy);
}

/* General Section Styles */
.page-cockfighting__section {
    padding: 60px 0;
    background-color: var(--l88-deep-navy);
}

.page-cockfighting__section:nth-of-type(even) {
    background-color: var(--l88-card-bg);
}

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

.page-cockfighting__section-title {
    font-size: 2.5rem;
    color: var(--l88-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.3;
}

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

.page-cockfighting__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    margin: 30px 0;
    object-fit: cover;
}

/* Card Grid Styles */
.page-cockfighting__card-grid,
.page-cockfighting__promotion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 30px;
}

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

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

.page-cockfighting__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

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

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

/* Step List & Feature List */
.page-cockfighting__step-list,
.page-cockfighting__feature-list,
.page-cockfighting__tip-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

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

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

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

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

.page-cockfighting__feature-item {
    background-color: var(--l88-card-bg);
    border: 1px solid var(--l88-border);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-cockfighting__feature-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 15px;
    display: block;
}

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

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

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

.page-cockfighting__faq-item {
    background-color: var(--l88-card-bg);
    border: 1px solid var(--l88-border);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--l88-text-main);
    user-select: none;
    list-style: none;
}

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

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

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

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

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

/* Conclusion Section */
.page-cockfighting__conclusion {
    text-align: center;
    padding-bottom: 80px;
}

/* --- Responsive Styles --- */

/* Tablet and Mobile (max-width: 1024px) */
@media (max-width: 1024px) {
    .page-cockfighting__hero-section {
        padding-bottom: 30px;
    }

    .page-cockfighting__main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .page-cockfighting__hero-description {
        font-size: 1.05rem;
    }

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

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        padding: 12px 25px;
        font-size: 0.95rem;
    }

    .page-cockfighting__section {
        padding: 40px 0;
    }

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

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

    .page-cockfighting__card-grid,
    .page-cockfighting__promotion-grid,
    .page-cockfighting__feature-list {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .page-cockfighting__card {
        padding: 20px;
    }

    .page-cockfighting__card-image {
        height: 180px;
    }

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

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

    .page-cockfighting__step-title,
    .page-cockfighting__tip-title {
        font-size: 1.4rem;
    }

    .page-cockfighting__feature-icon {
        width: 50px;
        height: 50px;
    }

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

    .page-cockfighting__faq-question {
        font-size: 1.1rem;
        padding: 18px 20px;
    }
    .page-cockfighting__faq-answer {
        padding: 0 20px 18px;
    }
}


/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    /* Hero Section - Mobile specific */
    .page-cockfighting__hero-section {
        padding-top: 10px !important;
        padding-bottom: 20px;
    }

    .page-cockfighting__hero-image {
        object-fit: contain !important;
        aspect-ratio: unset !important;
        max-height: none !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-cockfighting__main-title {
        font-size: 2rem;
        padding: 0 15px;
    }

    .page-cockfighting__hero-description {
        font-size: 1rem;
        padding: 0 15px;
    }

    /* CTA Buttons - Mobile specific */
    .page-cockfighting__cta-buttons {
        flex-direction: column !important;
        gap: 15px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .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;
        text-align: center;
    }

    /* General Section & Container - Mobile specific */
    .page-cockfighting__section {
        padding: 30px 0;
    }

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

    .page-cockfighting__section-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
        padding: 0 15px;
    }

    .page-cockfighting__paragraph {
        font-size: 0.95rem;
        padding: 0 5px;
    }

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

    /* Card Grid - Mobile specific */
    .page-cockfighting__card-grid,
    .page-cockfighting__promotion-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 5px;
    }
    
    .page-cockfighting__card {
        padding: 15px;
    }

    .page-cockfighting__card-image {
        height: 160px;
    }

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

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

    /* Feature List - Mobile specific */
    .page-cockfighting__feature-list {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 5px;
    }

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

    .page-cockfighting__feature-icon {
        width: 40px;
        height: 40px;
    }

    .page-cockfighting__feature-title {
        font-size: 1.1rem;
    }

    /* Step List & Tip List - Mobile specific */
    .page-cockfighting__step-item,
    .page-cockfighting__tip-item {
        padding: 15px;
    }

    .page-cockfighting__step-title,
    .page-cockfighting__tip-title {
        font-size: 1.3rem;
    }

    /* FAQ Section - Mobile specific */
    .page-cockfighting__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-cockfighting__faq-answer {
        padding: 0 20px 15px;
    }
    
    /* Ensure no content causes horizontal scroll */
    .page-cockfighting {
        overflow-x: hidden;
    }
}