.page-live-matches {
    font-family: 'Arial', sans-serif;
    color: #F3F8FF; /* Text Main */
    background-color: var(--deep-navy); /* Body background from shared.css */
}

.page-live-matches__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.page-live-matches__hero-section {
    position: relative;
    width: 100%;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 40px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #F3F8FF;
    background-color: #08162B; /* Deep Navy */
}

.page-live-matches__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height for aesthetic */
    overflow: hidden;
    position: relative;
}

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

.page-live-matches__hero-content-wrapper {
    position: relative;
    z-index: 10;
    padding-top: 20px;
}

.page-live-matches__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #F3F8FF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-live-matches__description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #AFC4E8; /* Text Secondary */
}

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

.page-live-matches__cta-buttons--centered {
    margin-top: 40px;
}

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

.page-live-matches__btn-primary {
    background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    color: #F3F8FF;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(17, 68, 166, 0.4);
}

.page-live-matches__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(17, 68, 166, 0.6);
}

.page-live-matches__btn-secondary {
    background-color: transparent;
    color: #F3F8FF;
    border: 2px solid #2B73F6;
    box-shadow: 0 5px 15px rgba(43, 115, 246, 0.2);
}

.page-live-matches__btn-secondary:hover {
    background-color: #2B73F6;
    color: #F3F8FF;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(43, 115, 246, 0.4);
}

.page-live-matches__section {
    padding: 60px 0;
    color: #F3F8FF;
}

.page-live-matches__dark-bg {
    background-color: #08162B; /* Deep Navy */
}

.page-live-matches__card-bg {
    background-color: #10233F; /* Card BG */
}

.page-live-matches__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #F3F8FF; /* Text Main */
    line-height: 1.3;
}

.page-live-matches__text-block {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #AFC4E8; /* Text Secondary */
    text-align: justify;
}

.page-live-matches__text-block strong {
    color: #F3F8FF;
}

.page-live-matches__text-main {
    color: #F3F8FF;
}

.page-live-matches__text-secondary {
    color: #AFC4E8;
}

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

.page-live-matches__card {
    background-color: #08162B; /* Deep Navy, slightly darker than section bg for contrast */
    border: 1px solid #244D84; /* Border */
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #F3F8FF;
    height: 100%;
    box-sizing: border-box;
}

.page-live-matches__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-live-matches__card-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #F3F8FF;
}

.page-live-matches__card-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #AFC4E8;
    flex-grow: 1;
}

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

.page-live-matches__step-card {
    background-color: #10233F; /* Card BG */
    border: 1px solid #244D84;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
    color: #F3F8FF;
}

.page-live-matches__step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    color: #F3F8FF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: -60px auto 20px auto;
    border: 3px solid #08162B;
    box-shadow: 0 5px 15px rgba(17, 68, 166, 0.5);
}

.page-live-matches__step-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #F3F8FF;
}

.page-live-matches__step-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #AFC4E8;
}

.page-live-matches__text-link {
    color: #4FA8FF; /* Glow */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-live-matches__text-link:hover {
    color: #F2C14E; /* Gold */
    text-decoration: underline;
}

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

.page-live-matches__feature-card {
    background-color: #08162B;
    border: 1px solid #244D84;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    color: #F3F8FF;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.page-live-matches__feature-image {
    height: 200px;
    margin-bottom: 20px;
}

.page-live-matches__feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #F3F8FF;
}

.page-live-matches__feature-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #AFC4E8;
    flex-grow: 1;
}

.page-live-matches__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-live-matches__list-item {
    background-color: #10233F; /* Card BG */
    border: 1px solid #244D84;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #F3F8FF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-live-matches__list-item strong {
    color: #F2C14E; /* Gold */
}

.page-live-matches__faq-list {
    margin-top: 30px;
}

.page-live-matches__faq-item {
    background-color: #08162B;
    border: 1px solid #244D84;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-live-matches__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    color: #F3F8FF;
    background-color: #10233F;
    transition: background-color 0.3s ease;
    list-style: none;
}

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

.page-live-matches__faq-question:hover {
    background-color: #113B7A; /* Main color */
}

.page-live-matches__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #F2C14E; /* Gold */
}

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

.page-live-matches__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1rem;
    line-height: 1.7;
    color: #AFC4E8;
    background-color: #08162B;
    border-top: 1px solid #1B3357; /* Divider */
}

.page-live-matches__final-cta {
    text-align: center;
    padding-bottom: 60px;
}

/* General image responsiveness */
.page-live-matches img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 1024px) {
    .page-live-matches__container {
        padding: 15px;
    }

    .page-live-matches__hero-section {
        padding-bottom: 30px;
    }

    .page-live-matches__main-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .page-live-matches__description {
        font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    }

    .page-live-matches__section-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
        margin-bottom: 30px;
    }

    .page-live-matches__section {
        padding: 40px 0;
    }

    .page-live-matches__card-image {
        height: 200px;
    }

    .page-live-matches__card-title {
        font-size: 1.4rem;
    }

    .page-live-matches__step-title {
        font-size: 1.3rem;
    }

    .page-live-matches__feature-title {
        font-size: 1.2rem;
    }

    .page-live-matches__faq-question {
        font-size: 1.1rem;
        padding: 15px 20px;
    }

    .page-live-matches__faq-answer {
        padding: 10px 20px 15px;
    }

    .page-live-matches__btn-primary,
    .page-live-matches__btn-secondary {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-live-matches__hero-section {
        padding-top: 10px !important;
        padding-bottom: 20px !important;
    }

    .page-live-matches__hero-image-wrapper {
        max-height: 300px;
    }

    .page-live-matches__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-live-matches__hero-content-wrapper .page-live-matches__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .page-live-matches__main-title {
        font-size: 2rem !important;
        margin-bottom: 15px !important;
    }

    .page-live-matches__description {
        font-size: 0.95rem !important;
        margin-bottom: 20px !important;
    }

    /* 通用图片与容器 */
    .page-live-matches img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-live-matches__section,
    .page-live-matches__card,
    .page-live-matches__container,
    .page-live-matches__steps-grid,
    .page-live-matches__features-grid,
    .page-live-matches__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .page-live-matches__section {
        padding: 30px 0 !important;
    }

    .page-live-matches__section-title {
        font-size: 1.8rem !important;
        margin-bottom: 25px !important;
    }

    .page-live-matches__text-block {
        font-size: 1rem !important;
    }

    /* 按钮与按钮容器 */
    .page-live-matches__cta-buttons {
        flex-direction: column !important;
        gap: 15px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .page-live-matches__cta-buttons--centered {
        margin-top: 30px !important;
    }

    .page-live-matches__btn-primary,
    .page-live-matches__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 14px 20px !important;
        font-size: 1rem !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* 产品展示图区域 (Cards, Steps, Features behave similarly) */
    .page-live-matches__grid,
    .page-live-matches__steps-grid,
    .page-live-matches__features-grid {
        grid-template-columns: 1fr !important; /* Single column layout */
        gap: 20px !important;
        margin-top: 20px !important;
    }

    .page-live-matches__card {
        padding: 20px !important;
    }

    .page-live-matches__card-image,
    .page-live-matches__feature-image {
        height: 180px !important;
        margin-bottom: 15px !important;
    }

    .page-live-matches__card-title {
        font-size: 1.3rem !important;
    }

    .page-live-matches__step-icon {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.8rem !important;
        margin: -50px auto 15px auto !important;
    }

    .page-live-matches__step-card {
        padding-top: 20px !important;
    }

    .page-live-matches__step-title {
        font-size: 1.2rem !important;
    }

    .page-live-matches__feature-title {
        font-size: 1.2rem !important;
    }

    /* 其他内容模块 (FAQ, Lists) */
    .page-live-matches__list-item {
        font-size: 1rem !important;
        padding: 12px 15px !important;
        margin-bottom: 10px !important;
    }

    .page-live-matches__faq-question {
        font-size: 1rem !important;
        padding: 15px 20px !important;
    }

    .page-live-matches__faq-answer {
        font-size: 0.95rem !important;
        padding: 10px 20px 15px !important;
    }

    .page-live-matches__final-cta {
        padding-bottom: 30px !important;
    }
}