/* style/cockfighting-live-stream.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --login-color: #EA7C07;
    --background-color: #FFFFFF; /* This is for internal elements, body background is #0a0a0a from shared.css */
    --text-dark: #333333;
    --text-light: #ffffff;
    --card-bg-dark-theme: rgba(255, 255, 255, 0.1);
    --card-bg-light-theme: #ffffff;
}

.page-cockfighting-live-stream {
    color: var(--text-light); /* Body background is dark, so text should be light */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-cockfighting-live-stream__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
    overflow: hidden;
}

.page-cockfighting-live-stream__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    position: relative;
    margin-bottom: 30px;
}

.page-cockfighting-live-stream__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
}

.page-cockfighting-live-stream__hero-content {
    max-width: 900px;
    z-index: 1;
    padding: 20px;
}

.page-cockfighting-live-stream__main-title {
    font-size: clamp(2em, 4vw, 3.2em);
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting-live-stream__description {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

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

.page-cockfighting-live-stream__btn-primary,
.page-cockfighting-live-stream__btn-secondary {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-sizing: border-box;
    text-align: center;
}

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

.page-cockfighting-live-stream__btn-primary:hover {
    background: #1e87c0;
    border-color: #1e87c0;
    transform: translateY(-2px);
}

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

.page-cockfighting-live-stream__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.page-cockfighting-live-stream__video-section {
    background: #1a1a1a;
    padding: 40px 20px;
    padding-top: 10px; /* Small top padding */
    text-align: center;
}

.page-cockfighting-live-stream__video-container {
    width: 100%; /* Desktop width */
    max-width: 1000px; /* Max width for desktop video */
    margin: 0 auto;
    box-sizing: border-box;
}

.page-cockfighting-live-stream__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: 10px;
    background-color: #000;
}

.page-cockfighting-live-stream__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

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

.page-cockfighting-live-stream__btn-video-cta {
    margin-top: 20px;
}

.page-cockfighting-live-stream__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background: #0a0a0a;
    color: var(--text-light);
}

.page-cockfighting-live-stream__section-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-cockfighting-live-stream__text-block {
    font-size: 1.1em;
    margin-bottom: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
}

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

.page-cockfighting-live-stream__feature-card {
    background: var(--card-bg-dark-theme);
    color: var(--text-light);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting-live-stream__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-cockfighting-live-stream__feature-icon {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting-live-stream__feature-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

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

.page-cockfighting-live-stream__betting-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 800px;
}

.page-cockfighting-live-stream__list-item {
    background: var(--card-bg-dark-theme);
    padding: 25px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting-live-stream__list-title {
    font-size: 1.3em;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-cockfighting-live-stream__list-item p {
    color: rgba(255, 255, 255, 0.75);
}

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

.page-cockfighting-live-stream__step-card {
    background: var(--card-bg-dark-theme);
    color: var(--text-light);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-cockfighting-live-stream__step-number {
    font-size: 2.5em;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
    display: block;
}

.page-cockfighting-live-stream__step-title {
    font-size: 1.3em;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

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

.page-cockfighting-live-stream__btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
    margin-top: auto; /* Push button to bottom */
}

.page-cockfighting-live-stream__promotions-section {
    background: #1a1a1a;
    padding: 40px 20px;
}

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

.page-cockfighting-live-stream__promo-card {
    background: var(--card-bg-dark-theme);
    color: var(--text-light);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.page-cockfighting-live-stream__promo-image {
    width: 100%;
    height: 200px; /* Fixed height for promo images */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-cockfighting-live-stream__promo-title {
    font-size: 1.3em;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

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

.page-cockfighting-live-stream__view-all-promos {
    text-align: center;
    margin-top: 40px;
}

.page-cockfighting-live-stream__faq-section {
    background: #0a0a0a;
    padding: 40px 20px;
}

.page-cockfighting-live-stream__faq-list {
    max-width: 900px;
    margin: 30px auto 0 auto;
}

.page-cockfighting-live-stream__faq-item {
    background: var(--card-bg-dark-theme);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-cockfighting-live-stream__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.15em;
    font-weight: 600;
    color: var(--secondary-color);
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-cockfighting-live-stream__faq-question::-webkit-details-marker {
    display: none;
}

.page-cockfighting-live-stream__faq-question:hover {
    background: rgba(255, 255, 255, 0.1);
}

.page-cockfighting-live-stream__faq-qtext {
    flex-grow: 1;
}

.page-cockfighting-live-stream__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--primary-color);
}

.page-cockfighting-live-stream__faq-answer {
    padding: 0 20px 20px;
    font-size: 1em;
    color: rgba(255, 255, 255, 0.75);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-cockfighting-live-stream__faq-item[open] .page-cockfighting-live-stream__faq-answer {
    max-height: 500px; /* Arbitrary large value for expansion */
    padding-top: 10px;
}

.page-cockfighting-live-stream__cta-section {
    background: linear-gradient(135deg, #1e87c0, #26A9E0);
    padding: 60px 20px;
    text-align: center;
    color: var(--secondary-color);
}

.page-cockfighting-live-stream__cta-section .page-cockfighting-live-stream__section-title {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.page-cockfighting-live-stream__cta-section .page-cockfighting-live-stream__description {
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-cockfighting-live-stream__cta-section .page-cockfighting-live-stream__cta-buttons {
    margin-top: 0;
}

/* Responsive styles */
@media (max-width: 768px) {
    .page-cockfighting-live-stream__hero-section {
        padding: 40px 15px;
        padding-top: 10px;
    }

    .page-cockfighting-live-stream__main-title {
        font-size: clamp(1.8em, 8vw, 2.5em);
    }

    .page-cockfighting-live-stream__description {
        font-size: 1em;
    }

    .page-cockfighting-live-stream__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .page-cockfighting-live-stream__btn-primary,
    .page-cockfighting-live-stream__btn-secondary {
        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-stream__video-section {
        padding: 20px 15px;
        padding-top: 10px !important; /* body handles --header-offset */
    }

    .page-cockfighting-live-stream__video-container,
    .page-cockfighting-live-stream__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-cockfighting-live-stream video,
    .page-cockfighting-live-stream__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-cockfighting-live-stream__content-area,
    .page-cockfighting-live-stream__promotions-section,
    .page-cockfighting-live-stream__faq-section,
    .page-cockfighting-live-stream__cta-section {
        padding: 30px 15px;
    }

    .page-cockfighting-live-stream__section-title {
        font-size: clamp(1.5em, 7vw, 2em);
        margin-bottom: 30px;
    }

    .page-cockfighting-live-stream img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-cockfighting-live-stream__grid-container,
    .page-cockfighting-live-stream__steps-grid,
    .page-cockfighting-live-stream__promo-grid {
        grid-template-columns: 1fr;
    }

    .page-cockfighting-live-stream__feature-card,
    .page-cockfighting-live-stream__step-card,
    .page-cockfighting-live-stream__promo-card {
        padding: 20px;
    }

    .page-cockfighting-live-stream__faq-question {
        font-size: 1em;
        padding: 15px;
    }

    .page-cockfighting-live-stream__faq-answer {
        padding: 0 15px 15px;
    }
    
    .page-cockfighting-live-stream__feature-icon {
        max-width: 100%;
    }
    .page-cockfighting-live-stream__promo-image {
        height: 180px;
    }
}