/* style/cockfighting.css */

/* Custom Colors */
:root {
    --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: #2E7A4E;
    --page-cockfighting-glow: #57E38D;
    --page-cockfighting-gold: #F2C14E;
    --page-cockfighting-divider: #1E3A2A;
    --page-cockfighting-deep-green: #0A4B2C;
}

.page-cockfighting {
    font-family: 'Arial', sans-serif;
    color: var(--page-cockfighting-text-main); /* Ensure light text on dark body background */
    background-color: var(--page-cockfighting-background);
}

.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;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-height: 700px;
    overflow: hidden;
    position: relative;
    margin-bottom: 40px;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7); /* Subtle darkening for text readability, not color change */
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 0 20px;
}

.page-cockfighting__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--page-cockfighting-text-main);
    margin-bottom: 20px;
    line-height: 1.2;
}

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

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

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

.page-cockfighting__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

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

.page-cockfighting__btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* General Section Styling */
.page-cockfighting__introduction-section,
.page-cockfighting__bet-types-section,
.page-cockfighting__guide-section,
.page-cockfighting__benefits-section,
.page-cockfighting__tips-section,
.page-cockfighting__faq-section,
.page-cockfighting__call-to-action-section {
    padding: 80px 0;
    background-color: var(--page-cockfighting-background);
    color: var(--page-cockfighting-text-main);
}

.page-cockfighting__dark-section {
    background-color: var(--page-cockfighting-deep-green);
}

.page-cockfighting__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--page-cockfighting-text-main);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-cockfighting__section-description {
    font-size: 1.1rem;
    color: var(--page-cockfighting-text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

.page-cockfighting__content-grid {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.page-cockfighting__content-grid--reverse {
    flex-direction: row-reverse;
}

.page-cockfighting__text-block {
    flex: 1;
    min-width: 300px;
}

.page-cockfighting__text-block p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__image-block {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-cockfighting__content-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    display: block;
}

/* Card Styling */
.page-cockfighting__card {
    background-color: var(--page-cockfighting-card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: var(--page-cockfighting-text-main);
    border: 1px solid var(--page-cockfighting-border);
}

.page-cockfighting__card-title {
    font-size: 1.5rem;
    color: var(--page-cockfighting-text-main);
    margin-bottom: 15px;
}

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

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

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

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

.page-cockfighting__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--page-cockfighting-button-gradient);
    color: var(--page-cockfighting-text-main);
    border-radius: 50%;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Benefits Section */
.page-cockfighting__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

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

.page-cockfighting__benefit-icon {
    width: 100%;
    height: auto;
    max-width: 150px;
    margin: 0 auto 20px auto;
    display: block;
}

/* Tips Section */
.page-cockfighting__tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-cockfighting__tips-list li {
    background-color: var(--page-cockfighting-card-bg);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: var(--page-cockfighting-text-secondary);
    line-height: 1.6;
    border: 1px solid var(--page-cockfighting-border);
}

.page-cockfighting__tips-list li strong {
    color: var(--page-cockfighting-text-main);
    flex-shrink: 0;
}

.page-cockfighting__tips-list li::before {
    content: '✅';
    font-size: 1.2rem;
    line-height: 1;
    color: var(--page-cockfighting-glow);
}

/* FAQ Section */
.page-cockfighting__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

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

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--page-cockfighting-text-main);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

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

.page-cockfighting__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

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

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

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

.page-cockfighting__faq-answer p {
    margin: 0;
}

/* Call to Action Section */
.page-cockfighting__call-to-action-section {
    text-align: center;
    padding: 100px 0;
    background-color: var(--page-cockfighting-deep-green);
}

.page-cockfighting__btn-large {
    padding: 18px 40px;
    font-size: 1.2rem;
    border-radius: 10px;
}

.page-cockfighting__cta-center {
    text-align: center;
    margin-top: 40px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .page-cockfighting__hero-section {
        padding-bottom: 40px;
    }

    .page-cockfighting__introduction-section,
    .page-cockfighting__bet-types-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__benefits-section,
    .page-cockfighting__tips-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__call-to-action-section {
        padding: 60px 0;
    }

    .page-cockfighting__content-grid {
        flex-direction: column;
        gap: 30px;
    }

    .page-cockfighting__content-grid--reverse {
        flex-direction: column;
    }

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

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

    .page-cockfighting__hero-section {
        padding-bottom: 30px;
        padding-top: 10px !important;
    }

    .page-cockfighting__main-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .page-cockfighting__hero-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

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

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

    /* Images responsive */
    .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,
    .page-cockfighting__hero-image-wrapper,
    .page-cockfighting__image-block,
    .page-cockfighting__text-block,
    .page-cockfighting__cta-buttons,
    .page-cockfighting__bet-types-grid,
    .page-cockfighting__guide-steps,
    .page-cockfighting__benefits-grid,
    .page-cockfighting__tips-list li {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-cockfighting__introduction-section .page-cockfighting__container,
    .page-cockfighting__bet-types-section .page-cockfighting__container,
    .page-cockfighting__guide-section .page-cockfighting__container,
    .page-cockfighting__benefits-section .page-cockfighting__container,
    .page-cockfighting__tips-section .page-cockfighting__container,
    .page-cockfighting__faq-section .page-cockfighting__container,
    .page-cockfighting__call-to-action-section .page-cockfighting__container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-cockfighting__section-title {
        font-size: 1.8rem;
    }

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

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

@media (max-width: 480px) {
    .page-cockfighting__hero-section {
        padding-bottom: 20px;
    }
    .page-cockfighting__main-title {
        font-size: 1.7rem;
    }
    .page-cockfighting__section-title {
        font-size: 1.6rem;
    }
    .page-cockfighting__btn-large {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
}