/* style/cockfighting.css */

/* General styles for the page content, ensuring contrast with body background */
.page-cockfighting {
    font-family: 'Arial', sans-serif;
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Background */
    line-height: 1.6;
    font-size: 16px;
}

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

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding as body handles header offset */
    overflow: hidden;
    background-color: #08160F; /* Ensure background color for consistency */
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height for hero image */
    overflow: hidden;
    margin-bottom: 30px; /* Space between image and content */
}

.page-cockfighting__hero-image {
    width: 1920px;
    height: 1080px;
    object-fit: cover;
    display: block;
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
    border-radius: 10px;
    background: rgba(17, 39, 27, 0.8); /* Card B G with transparency for text readability */
}

.page-cockfighting__hero-title {
    font-size: 2.8em;
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-cockfighting__hero-description {
    font-size: 1.1em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
}

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

/* Section Titles */
.page-cockfighting__section-title {
    font-size: 2.2em;
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
}

.page-cockfighting__subsection-title {
    font-size: 1.8em;
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    margin-top: 30px;
    margin-bottom: 20px;
    text-align: left;
}

/* Text Blocks */
.page-cockfighting__text-block {
    color: #F2FFF6; /* Text Main */
    margin-bottom: 15px;
    text-align: justify;
}

.page-cockfighting__highlight {
    color: #22C768; /* Auxiliary color for highlights */
    font-weight: bold;
}

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

.page-cockfighting__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
    color: #F2FFF6; /* Text Main */
    border: none;
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-cockfighting__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
}

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: #2AD16F; /* Button color for text */
    border: 2px solid #2AD16F; /* Main color */
    box-shadow: 0 4px 10px rgba(34, 199, 104, 0.2);
}

.page-cockfighting__btn-secondary:hover {
    background-color: #2AD16F;
    color: #F2FFF6;
    transform: translateY(-2px);
}

/* Sections */
.page-cockfighting__introduction-section,
.page-cockfighting__benefits-section,
.page-cockfighting__download-section,
.page-cockfighting__betting-types-section,
.page-cockfighting__strategy-section,
.page-cockfighting__faq-section,
.page-cockfighting__cta-section {
    padding: 60px 0;
}

.page-cockfighting__dark-bg {
    background-color: #08160F; /* Background */
    color: #F2FFF6;
}

.page-cockfighting__light-bg {
    background-color: #11271B; /* Card B G */
    color: #F2FFF6;
}

/* Content Images */
.page-cockfighting__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

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

.page-cockfighting__benefit-card {
    background-color: #11271B; /* Card B G */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-cockfighting__benefit-card:hover {
    transform: translateY(-5px);
}

.page-cockfighting__card-title {
    font-size: 1.5em;
    color: #22C768; /* Auxiliary color */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-cockfighting__card-description {
    color: #A7D9B8; /* Text Secondary */
    font-size: 0.95em;
}

/* Download Steps */
.page-cockfighting__download-steps {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-cockfighting__download-steps li {
    background-color: #11271B; /* Card B G */
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    color: #F2FFF6;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__download-steps li strong {
    color: #2AD16F;
    font-size: 1.1em;
    display: block;
    margin-bottom: 10px;
}

.page-cockfighting__download-button {
    margin-top: 20px;
    margin-bottom: 30px;
}

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

.page-cockfighting__betting-card {
    background-color: #11271B; /* Card B G */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}

/* Strategy List */
.page-cockfighting__strategy-list {
    list-style: none;
    padding-left: 20px;
    margin-top: 20px;
}

.page-cockfighting__strategy-list li {
    position: relative;
    margin-bottom: 15px;
    color: #F2FFF6;
    padding-left: 25px;
}

.page-cockfighting__strategy-list li::before {
    content: '•';
    color: #2AD16F; /* Main color */
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2em;
}

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

.page-cockfighting__faq-item {
    background-color: #11271B; /* Card B G */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    color: #F2FFF6; /* Text Main */
    font-weight: bold;
    font-size: 1.1em;
    background-color: #1E3A2A; /* Divider for summary background */
    border-bottom: 1px solid #2E7A4E; /* Border color */
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
    border-bottom: 1px solid #2E7A4E; /* Border color */
}

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

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

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: #2AD16F; /* Main color */
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
    content: '−'; /* Change to minus when open */
}

.page-cockfighting__faq-answer {
    padding: 20px;
    color: #A7D9B8; /* Text Secondary */
    font-size: 0.95em;
}

.page-cockfighting__faq-answer p {
    margin-bottom: 10px;
}

/* Call to Action Section */
.page-cockfighting__cta-section {
    text-align: center;
    padding-bottom: 80px;
}

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

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-cockfighting__hero-title {
        font-size: 2.2em;
    }
    .page-cockfighting__section-title {
        font-size: 1.8em;
    }
    .page-cockfighting__subsection-title {
        font-size: 1.5em;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body handles header offset */
    }
    .page-cockfighting__hero-content {
        padding: 15px;
    }
    .page-cockfighting__hero-title {
        font-size: 1.8em;
    }
    .page-cockfighting__hero-description {
        font-size: 1em;
    }
    .page-cockfighting__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-cockfighting__hero-image-wrapper {
        max-height: 300px;
    }
    .page-cockfighting__hero-image {
        width: 100% !important;
        height: auto !important;
    }

    .page-cockfighting__section-title {
        font-size: 1.6em;
        margin-bottom: 30px;
        padding-top: 30px;
    }
    .page-cockfighting__subsection-title {
        font-size: 1.3em;
        margin-top: 25px;
        margin-bottom: 15px;
    }
    .page-cockfighting__text-block {
        font-size: 0.95em;
    }

    .page-cockfighting__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-cockfighting__introduction-section,
    .page-cockfighting__benefits-section,
    .page-cockfighting__download-section,
    .page-cockfighting__betting-types-section,
    .page-cockfighting__strategy-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__cta-section {
        padding: 40px 0;
    }

    /* Images responsiveness */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    /* Specific override for hero image in mobile to maintain aspect ratio */
    .page-cockfighting__hero-image {
        max-height: 250px;
    }

    /* Card Layouts */
    .page-cockfighting__benefits-grid,
    .page-cockfighting__betting-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-cockfighting__benefit-card,
    .page-cockfighting__betting-card {
        padding: 20px;
    }

    /* FAQ */
    .page-cockfighting__faq-question {
        font-size: 1em;
        padding: 15px;
    }
    .page-cockfighting__faq-answer {
        font-size: 0.9em;
        padding: 15px;
    }
    .page-cockfighting__faq-toggle {
        font-size: 1.2em;
    }

    /* Ensure button containers also adapt */
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .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-left: 15px;
      padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__hero-title {
        font-size: 1.5em;
    }
    .page-cockfighting__section-title {
        font-size: 1.4em;
    }
    .page-cockfighting__subsection-title {
        font-size: 1.2em;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        font-size: 1em;
        padding: 12px 20px;
    }
}