/* style/live-streams.css */
:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --register-button-bg: #C30808;
    --login-button-bg: #C30808;
    --register-login-text: #FFFF00;
    --background-color-light: #FFFFFF;
    --text-color-dark: #333333;
    --text-color-white: #ffffff;
}

.page-live-streams {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark);
    background-color: var(--background-color-light);
}

.page-live-streams__hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    box-sizing: border-box;
}

.page-live-streams__hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

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

.page-live-streams__hero-content {
    position: relative;
    z-index: 3;
    color: var(--text-color-white);
    max-width: 900px;
    padding: 0 20px;
}

.page-live-streams__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--text-color-white);
}

.page-live-streams__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
}

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

.page-live-streams__btn-primary,
.page-live-streams__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-live-streams__btn-primary {
    background-color: var(--primary-color);
    color: var(--text-color-white);
    border: 2px solid var(--primary-color);
}

.page-live-streams__btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    border-color: darken(var(--primary-color), 10%);
}

.page-live-streams__btn-secondary {
    background-color: transparent;
    color: var(--text-color-white);
    border: 2px solid var(--text-color-white);
}

.page-live-streams__btn-secondary:hover {
    background-color: var(--text-color-white);
    color: var(--primary-color);
}

.page-live-streams__about-section,
.page-live-streams__schedule-section,
.page-live-streams__quality-section,
.page-live-streams__other-games-section,
.page-live-streams__faq-section {
    padding: 80px 20px;
    background-color: var(--background-color-light);
    color: var(--text-color-dark);
}

.page-live-streams__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-color-white);
}

.page-live-streams__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-live-streams__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
    color: var(--primary-color);
}

.page-live-streams__section-title--white {
    color: var(--text-color-white);
}

.page-live-streams__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-live-streams__section-description--white {
    color: var(--text-color-white);
}

.page-live-streams__text-block {
    font-size: 1.05em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-live-streams__text-block--center {
    text-align: center;
}

.page-live-streams__text-block--white {
    color: var(--text-color-white);
}

.page-live-streams__link-text {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: bold;
}

.page-live-streams__link-text:hover {
    color: darken(var(--primary-color), 15%);
}

.page-live-streams__link-text--white {
    color: var(--text-color-white);
}

.page-live-streams__link-text--white:hover {
    color: #f0f0f0;
}

.page-live-streams__link-text--brand {
    color: var(--register-login-text);
}

.page-live-streams__video-section {
    padding: 80px 20px;
    text-align: center;
    padding-top: var(--header-offset, 120px);
    box-sizing: border-box;
}

.page-live-streams__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 0 auto;
    background-color: #000;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-live-streams__video-link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

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

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

.page-live-streams__match-card,
.page-live-streams__card,
.page-live-streams__game-card {
    background-color: var(--text-color-white);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s ease;
    color: var(--text-color-dark);
}

.page-live-streams__match-card:hover,
.page-live-streams__card:hover,
.page-live-streams__game-card:hover {
    transform: translateY(-10px);
}

.page-live-streams__match-image,
.page-live-streams__card-image,
.page-live-streams__game-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 15px;
    max-width: 100%;
    display: block;
}

.page-live-streams__match-title,
.page-live-streams__card-title,
.page-live-streams__game-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: var(--primary-color);
    padding: 0 15px;
}

.page-live-streams__match-title a,
.page-live-streams__game-title a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-live-streams__match-title a:hover,
.page-live-streams__game-title a:hover {
    text-decoration: underline;
}

.page-live-streams__match-description,
.page-live-streams__card-text,
.page-live-streams__game-description {
    font-size: 1em;
    color: #555;
    padding: 0 15px;
    margin-bottom: 20px;
}

.page-live-streams__btn-primary--small {
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-live-streams__betting-guide-section {
    padding: 80px 20px;
    background-color: var(--primary-color);
    color: var(--text-color-white);
}

.page-live-streams__guide-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.page-live-streams__guide-text,
.page-live-streams__guide-image-wrapper {
    flex: 1;
    min-width: 300px;
}

.page-live-streams__guide-list {
    list-style: decimal;
    margin-left: 20px;
    margin-bottom: 30px;
}

.page-live-streams__guide-list li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-live-streams__guide-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    max-width: 100%;
    display: block;
}

.page-live-streams__feature-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.page-live-streams__feature-item {
    background-color: var(--secondary-color);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    font-size: 1.1em;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
}

.page-live-streams__promotions-section {
    padding: 80px 20px;
    background-color: var(--primary-color);
    color: var(--text-color-white);
}

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

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

.page-live-streams__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-bottom: 1px solid #eee;
}

.page-live-streams__faq-question:hover {
    background-color: #f9f9f9;
}

.page-live-streams__faq-question h3 {
    margin: 0;
    color: inherit;
    flex-grow: 1;
}

.page-live-streams__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

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

.page-live-streams__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-live-streams__faq-item.active .page-live-streams__faq-answer {
    max-height: 1000px !important; /* Sufficiently large */
    padding: 15px 25px 20px;
}

.page-live-streams__faq-answer p {
    margin: 0;
    font-size: 1em;
    color: #555;
}

.page-live-streams__cta-section {
    padding: 80px 20px;
    text-align: center;
    background-color: var(--primary-color);
    color: var(--text-color-white);
}

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

.page-live-streams__btn-register,
.page-live-streams__btn-login {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-live-streams__btn-register {
    background-color: var(--register-button-bg);
    color: var(--register-login-text);
    border: 2px solid var(--register-button-bg);
}

.page-live-streams__btn-register:hover {
    background-color: darken(var(--register-button-bg), 10%);
    border-color: darken(var(--register-button-bg), 10%);
}

.page-live-streams__btn-login {
    background-color: transparent;
    color: var(--register-login-text);
    border: 2px solid var(--register-button-bg);
}

.page-live-streams__btn-login:hover {
    background-color: var(--register-button-bg);
    color: var(--register-login-text);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-live-streams__hero-title {
        font-size: 3em;
    }
}

@media (max-width: 768px) {
    .page-live-streams__hero-section {
        height: auto;
        min-height: 60vh;
        padding-bottom: 60px;
    }

    .page-live-streams__hero-title {
        font-size: 2.5em;
    }

    .page-live-streams__hero-description {
        font-size: 1em;
    }

    .page-live-streams__hero-cta-buttons,
    .page-live-streams__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .page-live-streams__btn-primary,
    .page-live-streams__btn-secondary,
    .page-live-streams__btn-register,
    .page-live-streams__btn-login,
    .page-live-streams a[class*="button"],
    .page-live-streams a[class*="btn"] {
        width: 100% !important;
        max-width: 100% !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-live-streams__about-section,
    .page-live-streams__schedule-section,
    .page-live-streams__quality-section,
    .page-live-streams__other-games-section,
    .page-live-streams__faq-section,
    .page-live-streams__betting-guide-section,
    .page-live-streams__promotions-section,
    .page-live-streams__cta-section {
        padding: 40px 0;
    }

    .page-live-streams__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-live-streams__section-title {
        font-size: 2em;
    }

    .page-live-streams__section-description {
        font-size: 0.95em;
    }

    .page-live-streams__text-block {
        font-size: 0.95em;
    }

    .page-live-streams__match-grid,
    .page-live-streams__promotion-cards,
    .page-live-streams__game-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-live-streams__match-image,
    .page-live-streams__card-image,
    .page-live-streams__game-image,
    .page-live-streams img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-live-streams__video-section {
        padding-top: var(--header-offset, 120px) !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 15px;
        padding-right: 15px;
    }

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

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

    .page-live-streams__guide-content {
        flex-direction: column;
    }

    .page-live-streams__guide-text,
    .page-live-streams__guide-image-wrapper {
        min-width: unset;
        width: 100%;
    }

    .page-live-streams__feature-list {
        grid-template-columns: 1fr;
    }
    
    .page-live-streams__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }

    .page-live-streams__faq-answer {
        padding: 0 20px;
    }

    .page-live-streams__faq-item.active .page-live-streams__faq-answer {
        padding: 10px 20px 15px;
    }
}

@media (max-width: 480px) {
    .page-live-streams__hero-title {
        font-size: 2em;
    }

    .page-live-streams__hero-description {
        font-size: 0.9em;
    }

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