/* style/cockfighting.css */

/* Variables for colors */
: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: #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;
    color: var(--page-cockfighting-text-main);
    background-color: var(--page-cockfighting-background);
    line-height: 1.6;
}

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

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
    background-color: var(--page-cockfighting-background);
    overflow: hidden; /* For image */
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Limit height for hero image */
    overflow: hidden;
}

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

.page-cockfighting__hero-content {
    position: relative;
    z-index: 1;
    padding: 20px;
    max-width: 900px;
    margin-top: -100px; /* Overlap slightly for visual effect, but text is below image */
    background: rgba(8, 22, 15, 0.8); /* Semi-transparent background for text */
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    color: var(--page-cockfighting-gold-color);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 1px;
}

.page-cockfighting__description {
    font-size: 1.15rem;
    color: var(--page-cockfighting-text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

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

/* Text Blocks */
.page-cockfighting__text-block {
    font-size: 1rem;
    color: var(--page-cockfighting-text-secondary);
    margin-bottom: 20px;
    text-align: justify;
}

/* CTA Buttons */
.page-cockfighting__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--page-cockfighting-button-gradient);
    color: var(--page-cockfighting-text-main);
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

.page-cockfighting__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    opacity: 0.9;
}

.page-cockfighting__cta-button--secondary {
    background: transparent;
    border: 2px solid var(--page-cockfighting-secondary-color);
    color: var(--page-cockfighting-secondary-color);
    box-shadow: none;
}

.page-cockfighting__cta-button--secondary:hover {
    background: var(--page-cockfighting-secondary-color);
    color: var(--page-cockfighting-text-main);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Card Styles */
.page-cockfighting__card {
    background-color: var(--page-cockfighting-card-bg);
    border: 1px solid var(--page-cockfighting-border-color);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: var(--page-cockfighting-text-secondary);
}

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

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

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

.page-cockfighting__card-title a {
    color: inherit;
    text-decoration: none;
}

.page-cockfighting__card-title a:hover {
    color: var(--page-cockfighting-secondary-color);
}

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

.page-cockfighting__list-item {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__list-item::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--page-cockfighting-secondary-color);
    font-size: 1.1em;
    line-height: 1;
}

/* Grid Layouts */
.page-cockfighting__feature-grid,
.page-cockfighting__promo-grid,
.page-cockfighting__tips-grid,
.page-cockfighting__product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Step-by-Step Guide */
.page-cockfighting__step-by-step {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

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

.page-cockfighting__step-card .page-cockfighting__card-title {
    font-size: 1.5rem;
    color: var(--page-cockfighting-secondary-color);
}

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

.page-cockfighting__step-card .page-cockfighting__cta-button {
    margin-top: 20px;
}

/* FAQ Section */
.page-cockfighting__faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-cockfighting__faq-item {
    background-color: var(--page-cockfighting-card-bg);
    border: 1px solid var(--page-cockfighting-border-color);
    border-radius: 10px;
    padding: 0;
    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: 600;
    font-size: 1.15rem;
    color: var(--page-cockfighting-gold-color);
    list-style: none;
    -webkit-tap-highlight-color: transparent;
}

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

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

.page-cockfighting__faq-qtext {
    flex-grow: 1;
    margin-right: 15px;
}

.page-cockfighting__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--page-cockfighting-secondary-color);
}

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

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

.page-cockfighting__faq-answer p {
    margin-bottom: 0;
    text-align: justify;
}

/* General Section Styling */
.page-cockfighting__introduction-section,
.page-cockfighting__features-section,
.page-cockfighting__how-to-play-section,
.page-cockfighting__promotions-section,
.page-cockfighting__tips-section,
.page-cockfighting__aw8-ecosystem-section,
.page-cockfighting__faq-section,
.page-cockfighting__conclusion-section {
    padding: 60px 0;
    background-color: var(--page-cockfighting-background);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-cockfighting__hero-content {
        margin-top: -80px;
    }
}

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

    .page-cockfighting__hero-content {
        margin-top: -60px;
        padding: 15px;
    }

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

    .page-cockfighting__description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

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

    .page-cockfighting__cta-button {
        padding: 12px 25px;
        font-size: 1rem;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-bottom: 10px; /* For stacked buttons */
    }

    .page-cockfighting__cta-buttons {
        display: flex;
        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__text-block {
        font-size: 0.95rem;
    }

    .page-cockfighting__feature-grid,
    .page-cockfighting__promo-grid,
    .page-cockfighting__tips-grid,
    .page-cockfighting__product-grid,
    .page-cockfighting__step-by-step {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-cockfighting__card {
        padding: 20px;
    }

    .page-cockfighting__card-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px;
        min-height: 200px;
    }

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

    .page-cockfighting__list-item {
        font-size: 0.9rem;
    }

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

    .page-cockfighting__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.95rem;
    }

    .page-cockfighting__introduction-section,
    .page-cockfighting__features-section,
    .page-cockfighting__how-to-play-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__tips-section,
    .page-cockfighting__aw8-ecosystem-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__conclusion-section {
        padding: 40px 0;
    }

    /* Images and containers for mobile */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-cockfighting__hero-section {
        padding-top: 10px !important; /* body already has padding, this is extra */
    }

    /* Video specific for mobile (if any, though not in this HTML) */
    .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;
    }
}