/* style/cockfighting.css */
/* Base styles for the cockfighting page */
.page-cockfighting {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background #1a1a2e */
    background-color: transparent; /* Body background handled by shared.css */
}

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

.page-cockfighting__section-title {
    font-size: 2.5em;
    font-weight: 700;
    color: #26A9E0; /* Brand color for titles */
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    position: relative;
}

.page-cockfighting__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #EA7C07; /* Accent color */
    border-radius: 2px;
}

.page-cockfighting__paragraph {
    font-size: 1.1em;
    margin-bottom: 1em;
    color: #f0f0f0;
}

.page-cockfighting__paragraph strong {
    color: #26A9E0;
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    box-sizing: border-box;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    max-height: 700px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    margin-bottom: 30px;
    min-width: 200px;
    min-height: 200px;
}

.page-cockfighting__hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 1;
}

.page-cockfighting__main-title {
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
    /* No fixed font-size for H1, relying on responsive design */
}

.page-cockfighting__description {
    font-size: 1.2em;
    color: #f8f8f8;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

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

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

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

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

/* Video Section */
.page-cockfighting__video-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    box-sizing: border-box;
    background-color: #1a1a2e; /* Ensure dark background for this section */
}

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

.page-cockfighting__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-cockfighting__video-overlay-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2; /* Ensure link is clickable over video */
    cursor: pointer;
}

.page-cockfighting__video-description {
    text-align: center;
    font-size: 1.1em;
    color: #f0f0f0;
    max-width: 800px;
}

/* About Cockfighting Section */
.page-cockfighting__about-cockfighting {
    background-color: #1a1a2e; /* Dark background */
    padding: 60px 20px;
    box-sizing: border-box;
}

.page-cockfighting__about-cockfighting .page-cockfighting__paragraph {
    color: #f0f0f0;
}

.page-cockfighting__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

/* Game Types Section */
.page-cockfighting__game-types {
    background-color: #22223a; /* Slightly lighter dark background */
    padding: 60px 20px;
    box-sizing: border-box;
}

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

.page-cockfighting__game-card {
    background-color: #ffffff; /* Light card background */
    color: #333333; /* Dark text for light card */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-cockfighting__game-card:hover {
    transform: translateY(-10px);
}

.page-cockfighting__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

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

.page-cockfighting__card-text {
    font-size: 1em;
    color: #555555;
}

/* How to Play Section */
.page-cockfighting__how-to-play {
    background-color: #1a1a2e; /* Dark background */
    padding: 60px 20px;
    box-sizing: border-box;
}

.page-cockfighting__how-to-play .page-cockfighting__paragraph {
    color: #f0f0f0;
}

.page-cockfighting__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-cockfighting__list-item {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent background for list items */
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.page-cockfighting__list-item p {
    color: #e0e0e0;
}

/* Promotions Section */
.page-cockfighting__promotions-section {
    background-color: #22223a; /* Slightly lighter dark background */
    padding: 60px 20px;
    box-sizing: border-box;
}

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

.page-cockfighting__promo-card {
    background-color: #ffffff; /* Light card background */
    color: #333333; /* Dark text for light card */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-cockfighting__promo-card:hover {
    transform: translateY(-10px);
}

/* FAQ Section */
.page-cockfighting__faq-section {
    background-color: #1a1a2e; /* Dark background */
    padding: 60px 20px;
    box-sizing: border-box;
}

.page-cockfighting__faq-list {
    margin-top: 40px;
}

.page-cockfighting__faq-item {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent background */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    color: #f0f0f0;
}

.page-cockfighting__faq-item details {
    border: none;
}

.page-cockfighting__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: 600;
    cursor: pointer;
    color: #26A9E0;
    list-style: none; /* Remove default marker */
}

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

.page-cockfighting__faq-question {
    flex-grow: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #EA7C07;
    margin-left: 15px;
}

.page-cockfighting__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: #e0e0e0;
}

/* Final CTA Section */
.page-cockfighting__cta-final {
    background-color: #22223a; /* Slightly lighter dark background */
    padding: 60px 20px;
    text-align: center;
    box-sizing: border-box;
}

.page-cockfighting__cta-final .page-cockfighting__paragraph {
    color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__section-title {
        font-size: 2em;
    }
    .page-cockfighting__main-title {
        font-size: 2.8em;
    }
    .page-cockfighting__description {
        font-size: 1.1em;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        padding: 12px 25px;
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section,
    .page-cockfighting__video-section,
    .page-cockfighting__about-cockfighting,
    .page-cockfighting__game-types,
    .page-cockfighting__how-to-play,
    .page-cockfighting__promotions-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__cta-final {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-cockfighting__main-title {
        font-size: clamp(2em, 8vw, 2.5em); /* Using clamp for H1 font size */
    }

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

    .page-cockfighting__paragraph {
        font-size: 1em;
    }

    .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: 15px 10px;
        font-size: 1.05em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Mobile Image Responsiveness */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px;
        min-height: 200px;
    }
    
    .page-cockfighting__hero-image {
        max-height: 400px; /* Adjust hero image height for mobile */
    }

    /* Mobile Video Responsiveness */
    .page-cockfighting video,
    .page-cockfighting__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-cockfighting__video-section,
    .page-cockfighting__video-container,
    .page-cockfighting__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

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

    .page-cockfighting__game-grid,
    .page-cockfighting__promo-grid {
        grid-template-columns: 1fr;
    }

    .page-cockfighting__faq-item summary {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-cockfighting__faq-answer {
        padding: 0 20px 15px;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__main-title {
        font-size: clamp(1.8em, 9vw, 2.2em);
    }
    .page-cockfighting__section-title {
        font-size: 1.6em;
    }
    .page-cockfighting__hero-section {
        padding: 40px 15px;
        padding-top: 10px;
    }
    .page-cockfighting__video-section {
        padding: 40px 15px;
    }
    .page-cockfighting__content-area {
        padding: 30px 15px;
    }
}

/* Ensure content images are not smaller than 200px */
.page-cockfighting__content-image,
.page-cockfighting__card-image {
    min-width: 200px;
    min-height: 200px;
}