/* style/live-streaming.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --login-color: #EA7C07;
    --background-color: #FFFFFF;
    --black: #000000;
}

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

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

.page-live-streaming__hero-section {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: var(--header-offset, 120px) 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-live-streaming__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--text-light);
}

.page-live-streaming__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-live-streaming__btn-primary,
.page-live-streaming__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
}

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

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

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

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

.page-live-streaming__section {
    padding: 80px 0;
}

.page-live-streaming__introduction-section {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

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

.page-live-streaming__subsection-title {
    font-size: 1.8em;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 30px;
}

.page-live-streaming__dark-section .page-live-streaming__subsection-title {
    color: var(--text-light);
}

.page-live-streaming__text-block {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.page-live-streaming__text-block a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-live-streaming__text-block a:hover {
    text-decoration: underline;
}

.page-live-streaming__image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-live-streaming__how-to-join-section {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-live-streaming__how-to-join-section .page-live-streaming__section-title {
    color: var(--text-light);
}

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

.page-live-streaming__step-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    color: var(--text-light);
}

.page-live-streaming__step-card:hover {
    transform: translateY(-5px);
}

.page-live-streaming__step-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

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

.page-live-streaming__step-description {
    font-size: 1em;
    line-height: 1.7;
}

.page-live-streaming__step-description a {
    color: var(--secondary-color);
    font-weight: bold;
    text-decoration: underline;
}

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

.page-live-streaming__match-card {
    background-color: var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.page-live-streaming__match-card:hover {
    transform: translateY(-5px);
}

.page-live-streaming__match-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.page-live-streaming__match-title {
    font-size: 1.3em;
    font-weight: bold;
    padding: 15px 20px 0;
    color: var(--primary-color);
}

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

.page-live-streaming__match-title a:hover {
    text-decoration: underline;
}

.page-live-streaming__match-details {
    font-size: 0.95em;
    color: #666;
    padding: 0 20px 15px;
}

.page-live-streaming__match-card .page-live-streaming__btn-primary {
    display: block;
    width: calc(100% - 40px);
    margin: 0 20px 20px;
    text-align: center;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

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

.page-live-streaming__tips-section {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-live-streaming__tips-section .page-live-streaming__section-title {
    color: var(--text-light);
}

.page-live-streaming__tips-section .page-live-streaming__text-block a {
    color: var(--secondary-color);
}

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

.page-live-streaming__tip-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    color: var(--text-light);
}

.page-live-streaming__tip-card:hover {
    transform: translateY(-5px);
}

.page-live-streaming__tip-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

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

.page-live-streaming__tip-description {
    font-size: 1em;
    line-height: 1.7;
}

.page-live-streaming__tip-description a {
    color: var(--secondary-color);
    font-weight: bold;
    text-decoration: underline;
}

.page-live-streaming__features-section {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

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

.page-live-streaming__feature-card {
    background-color: var(--secondary-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.page-live-streaming__feature-card:hover {
    transform: translateY(-5px);
}

.page-live-streaming__feature-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-live-streaming__feature-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-live-streaming__feature-description {
    font-size: 1em;
    line-height: 1.7;
}

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

.page-live-streaming__faq-section {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-live-streaming__faq-section .page-live-streaming__section-title {
    color: var(--text-light);
}

.page-live-streaming__faq-section .page-live-streaming__subsection-title {
    color: var(--text-light);
}

.page-live-streaming__faq-list {
    max-width: 800px;
    margin: 40px auto 0;
}

.page-live-streaming__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-live-streaming__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    color: var(--text-light);
    background-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

.page-live-streaming__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

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

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

.page-live-streaming__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-light);
}

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

.page-live-streaming__faq-answer p {
    margin-bottom: 15px;
    font-size: 1em;
    line-height: 1.7;
}

.page-live-streaming__faq-answer a {
    color: var(--secondary-color);
    font-weight: bold;
    text-decoration: underline;
}

.page-live-streaming__conclusion-section {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    text-align: center;
}

.page-live-streaming__conclusion-section .page-live-streaming__section-title {
    color: var(--primary-color);
}

.page-live-streaming__conclusion-section .page-live-streaming__text-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-live-streaming__conclusion-section .page-live-streaming__cta-buttons {
    margin-top: 40px;
}

.page-live-streaming__copyright {
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
    color: #666;
    background-color: #f0f0f0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-live-streaming__hero-title {
        font-size: 2.8em;
    }

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

    .page-live-streaming__subsection-title {
        font-size: 1.6em;
    }

    .page-live-streaming__text-block {
        font-size: 1em;
    }

    .page-live-streaming__step-card,
    .page-live-streaming__match-card,
    .page-live-streaming__tip-card,
    .page-live-streaming__feature-card {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .page-live-streaming__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 60px;
    }

    .page-live-streaming__hero-title {
        font-size: 2em !important;
    }

    .page-live-streaming__hero-description {
        font-size: 1em !important;
        margin-bottom: 30px;
    }

    .page-live-streaming__cta-buttons {
        flex-direction: column !important;
        gap: 15px !important;
    }

    .page-live-streaming__btn-primary,
    .page-live-streaming__btn-secondary,
    .page-live-streaming a[class*="button"],
    .page-live-streaming 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: 12px 20px !important;
    }

    .page-live-streaming__section {
        padding: 60px 0;
    }

    .page-live-streaming__section-title {
        font-size: 1.8em !important;
        margin-bottom: 30px;
    }

    .page-live-streaming__subsection-title {
        font-size: 1.4em !important;
        margin-bottom: 25px;
    }

    .page-live-streaming__text-block {
        font-size: 0.95em !important;
        line-height: 1.7;
    }

    /* Universal image and container adaptation */
    .page-live-streaming img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-live-streaming__container,
    .page-live-streaming__section,
    .page-live-streaming__card,
    .page-live-streaming__box,
    .page-live-streaming__steps-grid,
    .page-live-streaming__match-cards-grid,
    .page-live-streaming__tips-grid,
    .page-live-streaming__features-grid,
    .page-live-streaming__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        overflow-x: hidden !important;
    }

    /* Product display area (gameshow) specific layout for mobile */
    .page-live-streaming__steps-grid,
    .page-live-streaming__match-cards-grid,
    .page-live-streaming__tips-grid,
    .page-live-streaming__features-grid {
        grid-template-columns: 1fr !important; /* Single column layout for cards */
    }

    .page-live-streaming__match-card .page-live-streaming__btn-primary {
        width: calc(100% - 40px) !important;
    }

    .page-live-streaming__faq-question {
        font-size: 1em !important;
        padding: 15px !important;
    }

    .page-live-streaming__faq-answer {
        padding: 0 15px !important;
    }

    .page-live-streaming__faq-item.active .page-live-streaming__faq-answer {
        padding: 15px !important;
    }

    .page-live-streaming__copyright {
        padding: 15px;
        font-size: 0.85em;
    }
}