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

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

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

.page-cockfighting__section-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    font-weight: bold;
    color: var(--page-cockfighting-gold);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
}

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

.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 60px 0; /* body already handles padding-top from header */
    background-color: var(--page-cockfighting-background);
}

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

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

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

.page-cockfighting__main-title {
    font-size: clamp(2.2em, 4.5vw, 3.2em);
    font-weight: 900;
    color: var(--page-cockfighting-gold);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-cockfighting__hero-description {
    font-size: 1.1em;
    line-height: 1.6;
    color: var(--page-cockfighting-text-main);
    margin-bottom: 30px;
}

.page-cockfighting__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

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

.page-cockfighting__btn-primary {
    background: var(--page-cockfighting-btn-gradient);
    color: #ffffff;
    border: 2px solid var(--page-cockfighting-glow);
    box-shadow: 0 0 15px var(--page-cockfighting-glow);
}

.page-cockfighting__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 0 20px var(--page-cockfighting-glow);
}

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

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

.page-cockfighting__btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
    background: var(--page-cockfighting-btn-gradient);
    color: #ffffff;
    border: 1px solid var(--page-cockfighting-glow);
    border-radius: 5px;
    margin-top: 10px;
}

.page-cockfighting__btn-small:hover {
    opacity: 0.9;
}

.page-cockfighting__introduction-section,
.page-cockfighting__how-to-play-section,
.page-cockfighting__tips-section,
.page-cockfighting__faq-section {
    padding: 60px 0;
    background-color: var(--page-cockfighting-background);
}

.page-cockfighting__why-choose-section,
.page-cockfighting__types-section,
.page-cockfighting__promotions-section,
.page-cockfighting__cta-bottom-section {
    padding: 60px 0;
    background-color: var(--page-cockfighting-deep-green);
}

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

.page-cockfighting__feature-card,
.page-cockfighting__type-card,
.page-cockfighting__tip-card {
    background-color: var(--page-cockfighting-card-bg);
    border: 1px solid var(--page-cockfighting-border);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--page-cockfighting-text-main);
}

.page-cockfighting__feature-icon,
.page-cockfighting__type-image {
    width: 100%;
    height: auto;
    max-width: 400px; /* Specific max-width for feature icons */
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

.page-cockfighting__type-image {
    max-width: 600px; /* Specific max-width for type images */
}

.page-cockfighting__card-title {
    font-size: 1.4em;
    font-weight: bold;
    color: var(--page-cockfighting-gold);
    margin-bottom: 15px;
}

.page-cockfighting__card-description {
    font-size: 0.95em;
    line-height: 1.5;
    color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

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

.page-cockfighting__list-title {
    font-size: 1.3em;
    font-weight: bold;
    color: var(--page-cockfighting-glow);
    margin-bottom: 10px;
}

.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);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--page-cockfighting-text-main);
}

.page-cockfighting__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    color: var(--page-cockfighting-gold);
    list-style: none;
}

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

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

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--page-cockfighting-glow);
}

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

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .page-cockfighting__container {
        padding: 0 15px;
    }

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

    .page-cockfighting__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
        margin-bottom: 15px;
    }

    .page-cockfighting__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

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

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary,
    .page-cockfighting__btn-small {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
    }

    .page-cockfighting__section-title {
        font-size: clamp(1.5em, 6vw, 2em);
        margin-bottom: 30px;
    }

    .page-cockfighting__introduction-section,
    .page-cockfighting__why-choose-section,
    .page-cockfighting__how-to-play-section,
    .page-cockfighting__types-section,
    .page-cockfighting__tips-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__cta-bottom-section {
        padding: 40px 0;
    }

    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    .page-cockfighting__hero-image-wrapper,
    .page-cockfighting__feature-card,
    .page-cockfighting__type-card,
    .page-cockfighting__tip-card,
    .page-cockfighting__list-item,
    .page-cockfighting__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-cockfighting__feature-icon,
    .page-cockfighting__type-image {
        max-width: 100% !important;
        width: 100% !important;
    }

    .page-cockfighting__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
}