/* style/cockfighting.css */

/* Base Styles for Page Cockfighting */
.page-cockfighting {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #000000; /* Matching body background from shared.css */
}

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

.page-cockfighting__section {
    padding: 80px 0;
    text-align: center;
}

.page-cockfighting__section-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #26A9E0;
    text-transform: uppercase;
    font-weight: bold;
}

.page-cockfighting__section-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

.page-cockfighting__sub-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-cockfighting__text-block p,
.page-cockfighting ul,
.page-cockfighting li {
    color: #333333; /* For light background blocks */
    text-align: left;
    margin-bottom: 15px;
}

.page-cockfighting ul {
    list-style-type: disc;
    padding-left: 20px;
}

.page-cockfighting li {
    margin-bottom: 8px;
}

/* Color Contrast Fixes */
.page-cockfighting__dark-bg {
    background-color: #000000;
    color: #ffffff;
}

.page-cockfighting__light-bg {
    background-color: #ffffff;
    color: #333333;
}

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-link {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box;
}

.page-cockfighting__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
    margin-right: 15px;
}

.page-cockfighting__btn-primary:hover {
    background-color: #1a7fb0;
    border-color: #1a7fb0;
}

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-cockfighting__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-cockfighting__btn-link {
    background-color: transparent;
    color: #26A9E0;
    border: none;
    padding: 10px 0;
    font-size: 1em;
    text-align: center;
    margin-top: 15px;
}

.page-cockfighting__btn-link:hover {
    text-decoration: underline;
    color: #1a7fb0;
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-cockfighting__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.page-cockfighting__hero-section .page-cockfighting__container {
    position: relative;
    z-index: 2;
    color: #ffffff;
}

.page-cockfighting__hero-title {
    font-size: 3.8em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

.page-cockfighting__hero-description {
    font-size: 1.4em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-cockfighting__hero-cta {
    margin-top: 30px;
}

/* About Section */
.page-cockfighting__about-cockfighting .page-cockfighting__content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    text-align: left;
}

.page-cockfighting__about-cockfighting .page-cockfighting__text-block {
    padding-right: 20px;
}

.page-cockfighting__image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-cockfighting__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Why Choose Section */
.page-cockfighting__why-choose .page-cockfighting__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-cockfighting__feature-card {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-cockfighting__feature-card .page-cockfighting__feature-icon {
    width: 200px; /* Min size */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

.page-cockfighting__feature-card .page-cockfighting__feature-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-cockfighting__feature-card p {
    color: #333333;
    font-size: 1em;
}

/* How to Play Section */
.page-cockfighting__how-to-play .page-cockfighting__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-cockfighting__step-card {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
    position: relative;
    padding-top: 60px;
    background-color: #f8f8f8; /* Light background for card */
    color: #333333; /* Dark text for light background */
}

.page-cockfighting__step-number {
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 2.5em;
    font-weight: bold;
    color: #26A9E0;
    opacity: 0.7;
}

.page-cockfighting__step-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-cockfighting__step-card p {
    color: #333333;
    font-size: 1em;
}

.page-cockfighting__cta-center {
    margin-top: 50px;
}

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

.page-cockfighting__type-card {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.page-cockfighting__type-card .page-cockfighting__type-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-cockfighting__type-card p {
    color: #333333;
    font-size: 1em;
}

/* Strategies Section */
.page-cockfighting__strategies .page-cockfighting__content-area {
    text-align: left;
    max-width: 900px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Live Matches Section */
.page-cockfighting__match-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-cockfighting__match-card {
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    color: #333333;
}

.page-cockfighting__match-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-cockfighting__match-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-cockfighting__match-card p {
    flex-grow: 1;
    margin-bottom: 15px;
}

/* Video Section */
.page-cockfighting__video-section {
    margin-top: 80px;
    background-color: #000000;
    padding: 40px 0;
    position: relative;
}

.page-cockfighting__video-section .page-cockfighting__video-title {
    color: #ffffff;
    margin-bottom: 30px;
    font-size: 2.2em;
}

.page-cockfighting__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto 20px auto;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    cursor: pointer;
}

.page-cockfighting__video-overlay-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    cursor: pointer;
}

.page-cockfighting__video-description {
    color: #f0f0f0;
    font-size: 1.1em;
    margin-top: 20px;
}

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

.page-cockfighting__promo-card {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    background-color: #26A9E0; /* Brand color background */
    color: #ffffff; /* White text for brand color background */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-cockfighting__promo-icon {
    width: 200px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

.page-cockfighting__promo-title {
    font-size: 1.5em;
    color: #ffffff;
    margin-bottom: 15px;
}

.page-cockfighting__promo-card p {
    flex-grow: 1;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-cockfighting__promo-card .page-cockfighting__btn-link {
    color: #ffffff;
}

.page-cockfighting__promo-card .page-cockfighting__btn-link:hover {
    color: #cceeff;
}

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

.page-cockfighting__faq-item {
    background-color: #f8f8f8;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: #333333;
}

.page-cockfighting__faq-question {
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: #26A9E0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    list-style: none; /* Remove default marker for details */
}

.page-cockfighting__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for webkit */
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 10px;
}

.page-cockfighting__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 1em;
    line-height: 1.5;
    color: #333333;
}

.page-cockfighting__faq-answer p {
    color: #333333;
}

/* Final CTA Section */
.page-cockfighting__cta-final {
    padding: 100px 0;
    background-color: #26A9E0;
    color: #ffffff;
}

.page-cockfighting__cta-final .page-cockfighting__section-title {
    color: #ffffff;
}

.page-cockfighting__cta-final .page-cockfighting__section-description {
    color: #f0f0f0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__hero-title {
        font-size: 3em;
    }
    .page-cockfighting__hero-description {
        font-size: 1.2em;
    }
    .page-cockfighting__section-title {
        font-size: 2.5em;
    }
    .page-cockfighting__about-cockfighting .page-cockfighting__content-grid {
        grid-template-columns: 1fr;
    }
    .page-cockfighting__about-cockfighting .page-cockfighting__text-block {
        padding-right: 0;
    }
    .page-cockfighting__image-wrapper {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__section {
        padding: 60px 0;
    }
    .page-cockfighting__hero-section {
        height: 60vh;
    }
    .page-cockfighting__hero-title {
        font-size: 2.2em;
    }
    .page-cockfighting__hero-description {
        font-size: 1em;
    }
    .page-cockfighting__hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        width: 100% !important;
        margin-right: 0;
    }
    .page-cockfighting__section-title {
        font-size: 2em;
    }
    .page-cockfighting__section-description {
        font-size: 0.9em;
    }
    .page-cockfighting__features-grid,
    .page-cockfighting__steps-grid,
    .page-cockfighting__types-grid,
    .page-cockfighting__match-highlights,
    .page-cockfighting__promo-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile Image/Video/Button Adaptation */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__image-wrapper,
    .page-cockfighting__video-wrapper,
    .page-cockfighting__match-image,
    .page-cockfighting__promo-icon,
    .page-cockfighting__feature-icon {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .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__video-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important;
    }

    .page-cockfighting__video-section {
        padding-top: var(--header-offset, 120px) !important; /* Re-apply for video section on mobile */
    }

    .page-cockfighting__cta-buttons {
        flex-direction: column !important;
        gap: 15px;
    }
    .page-cockfighting__cta-buttons .page-cockfighting__btn-primary,
    .page-cockfighting__cta-buttons .page-cockfighting__btn-secondary {
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__hero-title {
        font-size: 1.8em;
    }
    .page-cockfighting__section-title {
        font-size: 1.8em;
    }
}