/* style/cockfighting.css */

/* Variable for brand colors */
:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --login-button-color: #EA7C07;
    --background-light: #FFFFFF;
}

/* Base styles for the page-cockfighting scope */
.page-cockfighting {
    font-family: Arial, sans-serif;
    color: var(--text-dark); /* Assume light body background from shared.css */
    line-height: 1.6;
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 60px 0; /* body already handles top padding */
    background-color: var(--background-light);
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-cockfighting__hero-content {
    max-width: 900px;
    text-align: center;
    padding: 30px 20px;
    margin-top: -80px; /* Overlap slightly for visual effect, but text is below image */
    position: relative;
    z-index: 1;
    background-color: var(--background-light);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__main-title {
    font-size: clamp(2em, 4vw, 3.5em);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-cockfighting__description {
    font-size: 1.2em;
    color: var(--text-dark);
    margin-bottom: 30px;
}

/* General Section & Container Styles */
.page-cockfighting__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-cockfighting__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-cockfighting__text-block {
    font-size: 1.1em;
    text-align: justify;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.page-cockfighting__introduction-section,
.page-cockfighting__betting-guide-section,
.page-cockfighting__promotions-section,
.page-cockfighting__faq-section {
    padding: 80px 0;
    background-color: var(--background-light);
}

.page-cockfighting__types-section,
.page-cockfighting__why-choose-section,
.page-cockfighting__cta-final-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-cockfighting__types-section .page-cockfighting__section-title,
.page-cockfighting__why-choose-section .page-cockfighting__section-title,
.page-cockfighting__cta-final-section .page-cockfighting__section-title {
    color: var(--text-light);
}

.page-cockfighting__types-section .page-cockfighting__text-block,
.page-cockfighting__why-choose-section .page-cockfighting__text-block,
.page-cockfighting__cta-final-section .page-cockfighting__text-block {
    color: var(--text-light);
}

.page-cockfighting__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-cockfighting__light-bg {
    background-color: var(--background-light);
    color: var(--text-dark);
}

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

.page-cockfighting__card {
    background: var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--text-dark);
}

.page-cockfighting__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 20px;
}

.page-cockfighting__card-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin: 0 20px 15px 20px;
    font-weight: 600;
}

.page-cockfighting__card-text {
    font-size: 1em;
    color: var(--text-dark);
    padding: 0 20px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-cockfighting__card-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    margin-top: 15px;
}

.page-cockfighting__card-button:hover {
    background-color: #1a8cc7; /* Slightly darker primary color */
}

/* Video Section */
.page-cockfighting__video-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--background-light);
}

.page-cockfighting__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    width: 100%; /* Desktop width */
    max-width: 1000px; /* Max width for video */
}

.page-cockfighting__video-wrapper .page-cockfighting__video,
.page-cockfighting__video-wrapper .page-cockfighting__video-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.page-cockfighting__cta-buttons--video {
    margin-top: 40px;
}

/* Lists */
.page-cockfighting__ordered-list,
.page-cockfighting__unordered-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
}

.page-cockfighting__list-item {
    background-color: var(--secondary-color);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    color: var(--text-dark);
}

.page-cockfighting__unordered-list .page-cockfighting__list-item {
    position: relative;
    padding-left: 40px;
}

.page-cockfighting__unordered-list .page-cockfighting__list-item::before {
    content: '•';
    color: var(--primary-color);
    font-size: 1.5em;
    position: absolute;
    left: 15px;
    top: 20px;
}

.page-cockfighting__list-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-cockfighting__list-text {
    font-size: 1em;
    color: var(--text-dark);
}

.page-cockfighting__tips-section .page-cockfighting__list-item {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

.page-cockfighting__tips-section .page-cockfighting__list-title {
    color: var(--primary-color);
}

.page-cockfighting__tips-section .page-cockfighting__list-text {
    color: var(--text-dark);
}

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

/* Why Choose Section (Features) */
.page-cockfighting__feature-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.page-cockfighting__feature-item {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__feature-title {
    font-size: 1.5em;
    color: var(--text-light);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-cockfighting__feature-text {
    color: var(--text-light);
    font-size: 1em;
}

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

.page-cockfighting__faq-item {
    background-color: var(--secondary-color);
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    color: var(--text-dark);
}

.page-cockfighting__faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--primary-color);
    position: relative;
}

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

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

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

.page-cockfighting__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1em;
    color: var(--text-dark);
}

/* CTA Buttons General */
.page-cockfighting__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
}

.page-cockfighting__btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

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

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

.page-cockfighting__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-cockfighting__cta-final-section .page-cockfighting__btn-secondary {
    color: var(--text-light);
    border-color: var(--text-light);
}

.page-cockfighting__cta-final-section .page-cockfighting__btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }
    .page-cockfighting__section-title {
        font-size: 2em;
    }
    .page-cockfighting__hero-content {
        margin-top: -60px;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        padding-bottom: 40px;
    }
    .page-cockfighting__hero-content {
        margin-top: -40px;
        padding: 20px 15px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
    }
    .page-cockfighting__description {
        font-size: 1em;
    }
    .page-cockfighting__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-cockfighting__introduction-section,
    .page-cockfighting__types-section,
    .page-cockfighting__video-section,
    .page-cockfighting__betting-guide-section,
    .page-cockfighting__tips-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__why-choose-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__cta-final-section {
        padding: 50px 0;
    }
    .page-cockfighting__container {
        padding: 0 15px;
    }
    .page-cockfighting__grid-cards,
    .page-cockfighting__promo-grid,
    .page-cockfighting__feature-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 25px;
        font-size: 1em;
    }
    
    /* Mobile responsive image/video/button overrides */
    .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__video-section,
    .page-cockfighting__video-container,
    .page-cockfighting__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-cockfighting__video-section {
        padding-top: 10px !important;
    }
    .page-cockfighting video,
    .page-cockfighting__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__video-wrapper {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .page-cockfighting__list-item {
        padding: 20px;
    }
    .page-cockfighting__unordered-list .page-cockfighting__list-item {
        padding-left: 35px;
    }
    .page-cockfighting__unordered-list .page-cockfighting__list-item::before {
        top: 15px;
    }
    .page-cockfighting__faq-item summary {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-cockfighting__faq-answer {
        padding: 0 20px 15px 20px;
    }
}