/* style/cockfighting-live.css */
:root {
    --primary-color: #1A2B4C;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --background-dark: #1A2B4C;
    --background-light: #f8f9fa;
    --card-background-light: #ffffff;
    --border-color: #e0e0e0;
}

.page-cockfighting-live {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default to light text for dark body background */
    background-color: var(--background-dark);
}

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

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

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

.page-cockfighting-live__section-title {
    font-size: 2.5em;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-cockfighting-live__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: inherit;
}

/* Hero Section */
.page-cockfighting-live__hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    gap: 40px;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    position: relative;
    overflow: hidden;
}

.page-cockfighting-live__hero-content {
    flex: 1;
    max-width: 600px;
    text-align: left;
    z-index: 1;
}

.page-cockfighting-live__hero-title {
    font-size: 3.5em;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-cockfighting-live__hero-description {
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.page-cockfighting-live__hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.page-cockfighting-live__hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.page-cockfighting-live__hero-image {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 100%;
    height: auto;
    display: block;
}

/* Buttons */
.page-cockfighting-live__btn-primary,
.page-cockfighting-live__btn-secondary,
.page-cockfighting-live__btn-text-link {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
}

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

.page-cockfighting-live__btn-primary:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

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

.page-cockfighting-live__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.page-cockfighting-live__btn-text-link {
    background: none;
    border: none;
    color: var(--secondary-color);
    padding: 5px 0;
    font-size: 1em;
    text-decoration: underline;
}

.page-cockfighting-live__btn-text-link:hover {
    color: var(--text-light);
}

/* Video Section */
.page-cockfighting-live__video-section {
    padding: 60px 20px;
    text-align: center;
}

.page-cockfighting-live__video-container {
    max-width: 900px;
    margin: 0 auto;
}

.page-cockfighting-live__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin-top: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-cockfighting-live__video-link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.page-cockfighting-live__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    cursor: pointer;
    display: block;
    object-fit: cover;
}

.page-cockfighting-live__video-caption {
    margin-top: 20px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
}

/* Benefits Section */
.page-cockfighting-live__benefits-section {
    padding: 60px 20px;
}

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

.page-cockfighting-live__benefit-card {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background-color: var(--card-background-light);
    color: var(--text-dark);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting-live__benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-cockfighting-live__benefit-icon {
    width: 100%;
    height: auto;
    max-width: 400px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-cockfighting-live__benefit-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-cockfighting-live__benefit-text {
    font-size: 1em;
    color: #555;
}

/* Guide Section */
.page-cockfighting-live__guide-section {
    padding: 60px 20px;
}

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

.page-cockfighting-live__step-card {
    padding: 30px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-cockfighting-live__step-title {
    font-size: 1.8em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-cockfighting-live__step-text {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Betting Types Section */
.page-cockfighting-live__betting-types-section {
    padding: 60px 20px;
}

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

.page-cockfighting-live__type-card {
    padding: 20px;
    border-radius: 10px;
    background-color: var(--card-background-light);
    color: var(--text-dark);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-cockfighting-live__type-image {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-cockfighting-live__type-title {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-cockfighting-live__type-text {
    font-size: 0.95em;
    color: #555;
}

/* Strategy Section */
.page-cockfighting-live__strategy-section {
    padding: 60px 20px;
}

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

.page-cockfighting-live__strategy-item {
    padding: 25px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting-live__strategy-title {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.page-cockfighting-live__strategy-text {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.7);
}

/* Promotions Section */
.page-cockfighting-live__promotions-section {
    padding: 60px 20px;
}

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

.page-cockfighting-live__promo-card {
    padding: 20px;
    border-radius: 10px;
    background-color: var(--card-background-light);
    color: var(--text-dark);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-cockfighting-live__promo-image {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-cockfighting-live__promo-title {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-cockfighting-live__promo-text {
    font-size: 0.95em;
    color: #555;
    flex-grow: 1;
    margin-bottom: 20px;
}

/* FAQ Section */
.page-cockfighting-live__faq-section {
    padding: 60px 20px;
}

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

.page-cockfighting-live__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting-live__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    background-color: var(--primary-color);
    color: var(--text-light);
    font-weight: bold;
    font-size: 1.1em;
    border-radius: 8px;
}

.page-cockfighting-live__faq-question:hover {
    background-color: #2a3d66;
}

.page-cockfighting-live__faq-question h3 {
    margin: 0;
    color: inherit;
}

.page-cockfighting-live__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-cockfighting-live__faq-item.active .page-cockfighting-live__faq-toggle {
    transform: rotate(45deg);
}

.page-cockfighting-live__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: rgba(255, 255, 255, 0.7);
}

.page-cockfighting-live__faq-item.active .page-cockfighting-live__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 20px;
}

.page-cockfighting-live__faq-answer p {
    margin: 0;
    padding-bottom: 10px;
}

.page-cockfighting-live__cta-contact {
    text-align: center;
    margin-top: 40px;
}

.page-cockfighting-live__cta-text {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: var(--text-light);
}

/* CTA Section */
.page-cockfighting-live__cta-section {
    padding: 80px 20px;
    text-align: center;
}

.page-cockfighting-live__cta-content {
    max-width: 900px;
    margin: 0 auto;
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .page-cockfighting-live__hero-section {
        flex-direction: column;
        text-align: center;
        padding: 60px 20px;
        gap: 30px;
    }

    .page-cockfighting-live__hero-content {
        text-align: center;
        max-width: 100%;
    }

    .page-cockfighting-live__hero-title {
        font-size: 2.8em;
    }

    .page-cockfighting-live__hero-description {
        font-size: 1.1em;
    }

    .page-cockfighting-live__hero-buttons {
        justify-content: center;
    }

    .page-cockfighting-live__section-title {
        font-size: 2em;
    }

    .page-cockfighting-live__section-description {
        font-size: 1em;
    }
}

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

    /* Mobile Image Responsiveness */
    .page-cockfighting-live img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Mobile Video Responsiveness */
    .page-cockfighting-live video,
    .page-cockfighting-live__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-cockfighting-live__video-section,
    .page-cockfighting-live__video-container,
    .page-cockfighting-live__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-live__video-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure video section starts below header on mobile */
    }

    /* Mobile Button Responsiveness */
    .page-cockfighting-live__btn-primary,
    .page-cockfighting-live__btn-secondary,
    .page-cockfighting-live__btn-text-link,
    .page-cockfighting-live a[class*="button"],
    .page-cockfighting-live 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;
    }

    .page-cockfighting-live__hero-buttons,
    .page-cockfighting-live__cta-buttons,
    .page-cockfighting-live__button-group,
    .page-cockfighting-live__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-direction: column;
        gap: 10px;
    }

    /* General Container Responsiveness */
    .page-cockfighting-live__content-area,
    .page-cockfighting-live__hero-section,
    .page-cockfighting-live__benefits-section,
    .page-cockfighting-live__guide-section,
    .page-cockfighting-live__betting-types-section,
    .page-cockfighting-live__strategy-section,
    .page-cockfighting-live__promotions-section,
    .page-cockfighting-live__faq-section,
    .page-cockfighting-live__cta-section {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-cockfighting-live__hero-title {
        font-size: 2.2em;
    }

    .page-cockfighting-live__hero-description {
        font-size: 1em;
    }

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

    .page-cockfighting-live__faq-item.active .page-cockfighting-live__faq-answer {
        padding: 10px 15px;
    }

    .page-cockfighting-live__faq-question {
        padding: 12px 15px;
    }
}