/* style/sports.css */
.page-sports {
    font-family: 'Arial', sans-serif;
    color: #1F2D3D; /* Text Main */
    background-color: #F4F7FB; /* Background */
}

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

/* Hero Section */
.page-sports__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small top padding as body handles header offset */
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #2F6BFF;
    color: #ffffff;
}

.page-sports__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Max height for desktop hero image */
    overflow: hidden;
}

.page-sports__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

.page-sports__hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    max-width: 800px;
    margin-top: 40px;
}

.page-sports__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-sports__description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

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

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

.page-sports__btn-primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-sports__btn-primary:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
    box-shadow: 0 5px 15px rgba(47, 107, 255, 0.4);
}

.page-sports__btn-secondary {
    background: #ffffff;
    color: #2F6BFF;
    border: 2px solid #2F6BFF;
}

.page-sports__btn-secondary:hover {
    background: #e0eaff;
    color: #2F6BFF;
    box-shadow: 0 5px 15px rgba(47, 107, 255, 0.2);
}

/* General Section Styling */
.page-sports__section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1F2D3D; /* Text Main */
    text-align: center;
    margin-bottom: 40px;
}

.page-sports__dark-bg .page-sports__section-title {
    color: #ffffff;
}

.page-sports__section-text {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
}

.page-sports__about-section,
.page-sports__live-betting-section,
.page-sports__get-started-section,
.page-sports__faq-section {
    padding: 80px 0;
    background-color: #F4F7FB; /* Background */
    color: #1F2D3D;
}

.page-sports__features-section,
.page-sports__promotions-section,
.page-sports__why-choose-section {
    padding: 80px 0;
    background-color: #2F6BFF;
    color: #ffffff;
}

/* Features Section */
.page-sports__grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-sports__feature-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.page-sports__feature-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

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

.page-sports__card-text {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* Live Betting Section */
.page-sports__live-betting-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-sports__live-betting-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-sports__text-block {
    flex: 1;
}

.page-sports__text-block p {
    margin-bottom: 20px;
}

/* Promotions Section */
.page-sports__promotion-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-sports__promotion-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    color: #1F2D3D;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-sports__promotion-card .page-sports__card-title {
    color: #1F2D3D;
}

.page-sports__promotion-card .page-sports__card-text {
    color: #1F2D3D;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-sports__promotion-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-sports__full-promo-link {
    text-align: center;
}

/* Get Started Section */
.page-sports__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.page-sports__step-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-sports__step-number {
    font-size: 3rem;
    font-weight: 700;
    color: #2F6BFF;
    margin-bottom: 15px;
}

.page-sports__step-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #1F2D3D;
    margin-bottom: 10px;
}

.page-sports__step-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #1F2D3D;
}

.page-sports__get-started-cta {
    text-align: center;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Why Choose Section */
.page-sports__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-sports__benefit-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

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

.page-sports__benefit-text {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* FAQ Section */
.page-sports__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.page-sports__faq-item {
    background: #ffffff;
    border: 1px solid #D6E2FF; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-sports__faq-item[open] {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-sports__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #1F2D3D;
    cursor: pointer;
    list-style: none;
    position: relative;
}

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

.page-sports__faq-question .page-sports__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    color: #2F6BFF;
    transition: transform 0.3s ease;
}

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

.page-sports__faq-answer {
    padding: 0 20px 20px;
    font-size: 1rem;
    line-height: 1.6;
    color: #1F2D3D;
}

.page-sports__faq-answer p {
    margin-bottom: 10px;
}

.page-sports__faq-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    margin-top: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* General Image Responsiveness */
.page-sports img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .page-sports__container {
        padding: 20px 30px;
    }

    .page-sports__hero-content {
        margin-top: 20px;
    }

    .page-sports__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }

    .page-sports__description {
        font-size: 1rem;
    }

    .page-sports__section-title {
        font-size: 2rem;
    }

    .page-sports__live-betting-content {
        flex-direction: column;
        text-align: center;
    }

    .page-sports__live-betting-image {
        max-width: 100%;
    }

    .page-sports__text-block {
        padding: 0 20px;
    }
}

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

    .page-sports__hero-content {
        margin-top: 20px;
        padding: 15px;
    }

    .page-sports__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        margin-bottom: 15px;
    }

    .page-sports__description {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    .page-sports__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-sports__btn-primary,
    .page-sports__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 0.95rem;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* 其他内容模块 */
    .page-sports__about-section,
    .page-sports__features-section,
    .page-sports__live-betting-section,
    .page-sports__promotions-section,
    .page-sports__get-started-section,
    .page-sports__why-choose-section,
    .page-sports__faq-section {
        padding: 40px 0;
    }

    .page-sports__container {
        padding: 0 15px;
    }

    .page-sports__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .page-sports__section-text {
        font-size: 0.95rem;
    }

    /* 产品展示图区域 (通用卡片布局) */
    .page-sports__grid-layout,
    .page-sports__promotion-cards,
    .page-sports__steps-grid,
    .page-sports__benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-sports__feature-card,
    .page-sports__promotion-card,
    .page-sports__step-card,
    .page-sports__benefit-item {
        padding: 25px;
    }

    .page-sports__card-title,
    .page-sports__step-title,
    .page-sports__benefit-title {
        font-size: 1.3rem;
    }

    .page-sports__card-text,
    .page-sports__step-text,
    .page-sports__benefit-text {
        font-size: 0.9rem;
    }

    .page-sports__live-betting-content {
        gap: 20px;
    }

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

    .page-sports__promotion-image,
    .page-sports__faq-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-sports__full-promo-link {
        padding: 0 15px;
    }

    .page-sports__get-started-cta {
        flex-direction: column;
        gap: 15px;
    }

    .page-sports__faq-question {
        font-size: 1rem;
        padding: 15px;
    }

    .page-sports__faq-answer {
        padding: 0 15px 15px;
        font-size: 0.95rem;
    }

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

    .page-sports__container,
    .page-sports__hero-image-wrapper,
    .page-sports__feature-card,
    .page-sports__promotion-card,
    .page-sports__step-card,
    .page-sports__benefit-item,
    .page-sports__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden;
    }

    /* 按钮与按钮容器 */
    .page-sports__cta-buttons,
    .page-sports__get-started-cta {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-sports__cta-buttons > *,
    .page-sports__get-started-cta > * {
        width: 100% !important;
        max-width: 100% !important;
    }
}