/* style/cockfighting.css */

/* Custom Colors */
:root {
    --page-cockfighting-bg: #08160F;
    --page-cockfighting-card-bg: #11271B;
    --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-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-cockfighting-primary-color: #11A84E; /* Main brand color */
    --page-cockfighting-secondary-color: #22C768; /* Auxiliary brand color */
}

.page-cockfighting {
    font-family: 'Arial', sans-serif;
    background-color: var(--page-cockfighting-bg); /* Dark background */
    color: var(--page-cockfighting-text-main); /* Light text for contrast */
    line-height: 1.6;
    font-size: 1rem;
}

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

.page-cockfighting__section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--page-cockfighting-gold); /* Gold for titles */
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__text-block {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--page-cockfighting-text-main);
}

.page-cockfighting__text-secondary {
    color: var(--page-cockfighting-text-secondary);
    text-align: center;
    margin-bottom: 30px;
}

.page-cockfighting__highlight {
    color: var(--page-cockfighting-gold);
    font-weight: 700;
}

.page-cockfighting__link {
    color: var(--page-cockfighting-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-cockfighting__link:hover {
    color: var(--page-cockfighting-glow);
    text-decoration: underline;
}

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
    box-sizing: border-box; /* Ensure padding is included in width */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow long words to break */
}

.page-cockfighting__btn-primary {
    background: var(--page-cockfighting-btn-gradient);
    color: var(--page-cockfighting-text-main); /* Light text on dark button */
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

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

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

.page-cockfighting__btn-secondary:hover {
    background-color: var(--page-cockfighting-gold);
    color: var(--page-cockfighting-bg); /* Dark text on gold hover */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

/* Image styling */
.page-cockfighting img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    filter: none; /* Ensure no filter is applied */
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, text below */
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding as body handles header offset */
    box-sizing: border-box;
    background-color: var(--page-cockfighting-bg);
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 40px; /* Space between image and content */
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.page-cockfighting__hero-content {
    max-width: 900px;
    text-align: center;
    z-index: 1; /* Ensure text is above any potential background elements */
}

.page-cockfighting__hero-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive H1 font size */
    font-weight: 800;
    color: var(--page-cockfighting-gold);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-cockfighting__hero-description {
    font-size: 1.25rem;
    color: var(--page-cockfighting-text-secondary);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Intro Section */
.page-cockfighting__intro-section {
    padding: 80px 20px;
    background-color: var(--page-cockfighting-card-bg); /* Dark background for this section */
    color: var(--page-cockfighting-text-main);
}

.page-cockfighting__intro-section .page-cockfighting__section-title {
    color: var(--page-cockfighting-gold);
}

.page-cockfighting__intro-section .page-cockfighting__text-block {
    color: var(--page-cockfighting-text-main);
}

.page-cockfighting__content-image {
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
}

/* Bet Types Section */
.page-cockfighting__bet-types-section {
    padding: 80px 20px;
    background-color: var(--page-cockfighting-bg); /* Dark background */
    color: var(--page-cockfighting-text-main);
}

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

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

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

.page-cockfighting__card-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--page-cockfighting-gold);
    margin-bottom: 15px;
}

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

/* Guide Section */
.page-cockfighting__guide-section {
    padding: 80px 20px;
    background-color: var(--page-cockfighting-card-bg); /* Dark background */
    color: var(--page-cockfighting-text-main);
}

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

.page-cockfighting__step-item {
    background-color: var(--page-cockfighting-bg); /* Darker background for step items */
    border: 1px solid var(--page-cockfighting-border);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--page-cockfighting-text-main);
}

.page-cockfighting__step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--page-cockfighting-btn-gradient);
    border-radius: 50%;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--page-cockfighting-text-main);
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(42, 209, 111, 0.5);
}

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

.page-cockfighting__step-text {
    font-size: 1rem;
    color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__mt-40 {
    margin-top: 40px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* Promotions Section */
.page-cockfighting__promotions-section {
    padding: 80px 20px;
    background-color: var(--page-cockfighting-bg); /* Dark background */
    color: var(--page-cockfighting-text-main);
}

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

.page-cockfighting__card--promo {
    padding: 0;
    text-align: left;
    overflow: hidden;
}

.page-cockfighting__card--promo .page-cockfighting__card-image {
    width: 100%;
    height: 250px; /* Fixed height for promo images */
    object-fit: cover;
    border-radius: 12px 12px 0 0;
    margin-bottom: 20px;
}

.page-cockfighting__card--promo .page-cockfighting__card-title {
    padding: 0 25px;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.page-cockfighting__card--promo .page-cockfighting__card-text {
    padding: 0 25px;
    margin-bottom: 25px;
}

.page-cockfighting__card--promo .page-cockfighting__btn-secondary {
    margin: 0 25px 25px;
    width: calc(100% - 50px);
}

/* Features Section */
.page-cockfighting__features-section {
    padding: 80px 20px;
    background-color: var(--page-cockfighting-card-bg); /* Dark background */
    color: var(--page-cockfighting-text-main);
}

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

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

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

.page-cockfighting__feature-text {
    font-size: 1rem;
    color: var(--page-cockfighting-text-secondary);
}

/* FAQ Section */
.page-cockfighting__faq-section {
    padding: 80px 20px;
    background-color: var(--page-cockfighting-bg); /* Dark background */
    color: var(--page-cockfighting-text-main);
}

.page-cockfighting__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--page-cockfighting-gold);
    cursor: pointer;
    background-color: var(--page-cockfighting-deep-green); /* Slightly different background for question */
    border-bottom: 1px solid var(--page-cockfighting-border);
    transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
    background-color: var(--page-cockfighting-primary-color);
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
    border-bottom: none;
}

.page-cockfighting__faq-item summary {
    list-style: none; /* Remove default marker */
}
.page-cockfighting__faq-item summary::-webkit-details-marker {
    display: none; /* Remove default marker for webkit */
}

.page-cockfighting__faq-toggle {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--page-cockfighting-glow);
    transition: transform 0.3s ease;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
    transform: rotate(45deg); /* Rotate for minus sign */
}

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

/* CTA Bottom Section */
.page-cockfighting__cta-bottom-section {
    padding: 80px 20px;
    text-align: center;
    background-color: var(--page-cockfighting-card-bg);
    color: var(--page-cockfighting-text-main);
}

.page-cockfighting__cta-bottom-section .page-cockfighting__section-title {
    color: var(--page-cockfighting-gold);
    margin-bottom: 20px;
}

.page-cockfighting__cta-bottom-section .page-cockfighting__text-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
    color: var(--page-cockfighting-text-main);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-cockfighting__hero-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    .page-cockfighting__hero-description {
        font-size: 1.1rem;
    }
    .page-cockfighting__section-title {
        font-size: 2rem;
    }
    .page-cockfighting__card-title,
    .page-cockfighting__step-title,
    .page-cockfighting__feature-title {
        font-size: 1.3rem;
    }
    .page-cockfighting__faq-question {
        font-size: 1.1rem;
    }
}

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

    /* All images must be responsive */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* All sections and containers must be responsive */
    .page-cockfighting__hero-section,
    .page-cockfighting__intro-section,
    .page-cockfighting__bet-types-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__features-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__cta-bottom-section,
    .page-cockfighting__container,
    .page-cockfighting__card,
    .page-cockfighting__step-item,
    .page-cockfighting__feature-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Buttons responsive */
    .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: 12px 20px; /* Adjust padding for smaller screens */
    }
    
    .page-cockfighting__hero-cta-buttons {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 15px;
    }

    .page-cockfighting__hero-section {
        padding-top: 10px !important; /* Ensure small top padding */
        padding-bottom: 40px;
    }

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

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

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

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

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

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

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

    .page-cockfighting__card--promo .page-cockfighting__card-image {
        height: 200px;
    }

    .page-cockfighting__card--promo .page-cockfighting__card-title,
    .page-cockfighting__card--promo .page-cockfighting__card-text,
    .page-cockfighting__card--promo .page-cockfighting__btn-secondary {
        padding-left: 15px;
        padding-right: 15px;
        margin-left: 15px;
        margin-right: 15px;
        width: calc(100% - 30px);
    }
}