/* style/cockfighting.css */

/* Custom Colors */
:root {
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-button-gradient-start: #2AD16F;
    --color-button-gradient-end: #13994A;
    --color-card-bg: #11271B;
    --color-background: #08160F;
    --color-text-main: #F2FFF6;
    --color-text-secondary: #A7D9B8;
    --color-border: #2E7A4E;
    --color-glow: #57E38D;
    --color-gold: #F2C14E;
    --color-divider: #1E3A2A;
    --color-deep-green: #0A4B2C;
}

.page-cockfighting {
    font-family: Arial, sans-serif;
    color: var(--color-text-main); /* Default text color for page content */
    background-color: var(--color-background); /* Default background color for the page */
}

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

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 60px 0;
    background-color: var(--color-background);
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-width: 1920px;
    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: 900px;
    padding: 0 20px;
}

.page-cockfighting__hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--color-gold);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

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

/* General Section Styles */
.page-cockfighting__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--color-primary);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-cockfighting__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, transparent, var(--color-glow), transparent);
    border-radius: 2px;
}

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

.page-cockfighting__content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.page-cockfighting__image-content {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

/* Dark Section Specifics */
.page-cockfighting__dark-section {
    background-color: var(--color-card-bg);
    padding: 60px 0;
}

.page-cockfighting__dark-section .page-cockfighting__section-title {
    color: var(--color-text-main);
}

.page-cockfighting__dark-section .page-cockfighting__text-block {
    color: var(--color-text-secondary);
}

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
}

.page-cockfighting__btn-primary {
    background: var(--color-button-gradient-start);
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

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

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    box-shadow: 0 0 10px rgba(17, 168, 78, 0.3);
}

.page-cockfighting__btn-secondary:hover {
    background-color: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(17, 168, 78, 0.5);
    transform: translateY(-3px);
}

/* Features Grid */
.page-cockfighting__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-cockfighting__feature-card {
    background-color: var(--color-background);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

/* Bet Types Grid */
.page-cockfighting__bet-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-cockfighting__bet-type-card {
    background-color: var(--color-card-bg);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid var(--color-divider);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

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

.page-cockfighting__bet-type-description {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

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

.page-cockfighting__step-card {
    background-color: var(--color-background);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--color-deep-green);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__step-number {
    width: 60px;
    height: 60px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(17, 168, 78, 0.5);
}

.page-cockfighting__step-title {
    font-size: 1.4rem;
    color: var(--color-primary);
    font-weight: 600;
}

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

/* Strategy Section */
.page-cockfighting__strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-cockfighting__strategy-item {
    background-color: var(--color-card-bg);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid var(--color-divider);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

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

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

/* Promotions Section */
.page-cockfighting__promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-cockfighting__promo-card {
    background-color: var(--color-background);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}

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

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

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

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

.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(--color-text-main);
    cursor: pointer;
    background-color: var(--color-deep-green);
    border-bottom: 1px solid var(--color-divider);
    list-style: none; /* For details summary */
}

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

.page-cockfighting__faq-qtext {
    flex-grow: 1;
    color: var(--color-text-main);
}

.page-cockfighting__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--color-gold);
    transition: transform 0.3s ease;
}

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

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

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

.page-cockfighting__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-cockfighting__hero-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }

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

@media (max-width: 768px) {
    .page-cockfighting {
        font-size: 16px;
        line-height: 1.6;
    }

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

    .page-cockfighting__hero-image-wrapper {
        margin-bottom: 20px;
    }

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

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

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

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

    .page-cockfighting__features-grid,
    .page-cockfighting__bet-types-grid,
    .page-cockfighting__steps-grid,
    .page-cockfighting__strategy-grid,
    .page-cockfighting__promotions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-cockfighting__feature-card,
    .page-cockfighting__bet-type-card,
    .page-cockfighting__step-card,
    .page-cockfighting__strategy-item,
    .page-cockfighting__promo-card {
        padding: 20px;
    }

    .page-cockfighting__feature-title,
    .page-cockfighting__bet-type-title,
    .page-cockfighting__step-title,
    .page-cockfighting__strategy-title,
    .page-cockfighting__promo-title {
        font-size: 1.3rem;
    }

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    /* Images & Videos responsive */
    .page-cockfighting img,
    .page-cockfighting video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__hero-section,
    .page-cockfighting__introduction-section,
    .page-cockfighting__why-choose-us-section,
    .page-cockfighting__bet-types-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__strategy-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__conclusion-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-cockfighting__hero-image-wrapper {
        padding-left: 0;
        padding-right: 0;
    }

    .page-cockfighting__hero-content {
        padding-left: 0;
        padding-right: 0;
    }

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

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

    .page-cockfighting__faq-answer {
        padding: 15px 20px;
    }
}