.page-the-thao {
    font-family: Arial, sans-serif;
    color: #FFF1E8; /* Text Main color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css #140C0C */
}

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

.page-the-thao__section-title {
    font-size: 2.5em;
    font-weight: bold;
    color: #F3C54D; /* Gold color for main titles */
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
}

.page-the-thao__sub-title {
    font-size: 1.8em;
    font-weight: bold;
    color: #FFF1E8;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-the-thao__paragraph {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
}

.page-the-thao__highlight {
    color: #FFB04A; /* Highlight color for keywords */
    font-weight: bold;
}

/* Buttons */
.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-the-thao__btn-primary {
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
    color: #ffffff; /* White text for contrast */
    border: none;
}

.page-the-thao__btn-primary:hover {
    background: linear-gradient(180deg, #D86A14 0%, #FFB04A 100%);
    box-shadow: 0 4px 15px rgba(255, 176, 74, 0.4);
}

.page-the-thao__btn-secondary {
    background: transparent;
    color: #F3C54D; /* Gold text for secondary button */
    border: 2px solid #F3C54D; /* Gold border */
}

.page-the-thao__btn-secondary:hover {
    background-color: rgba(243, 197, 77, 0.1);
    color: #FFB04A;
    border-color: #FFB04A;
}

.page-the-thao__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-the-thao__card-button {
    margin-top: 20px;
    width: 100%; /* Full width for card buttons */
}

/* Hero Section */
.page-the-thao__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    position: relative;
    overflow: hidden;
}

.page-the-thao__hero-content-wrapper {
    display: flex;
    flex-direction: column; /* Image on top, text below */
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.page-the-thao__hero-image {
    width: 100%;
    height: auto;
    max-height: 675px; /* Limit height for aesthetic */
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 30px;
    border: 2px solid #6A1E1E; /* Border color */
}

.page-the-thao__hero-text-block {
    text-align: center;
    max-width: 900px;
}

.page-the-thao__hero-title {
    font-size: clamp(2.5em, 4vw, 3.5em); /* Responsive H1 font size */
    font-weight: bold;
    color: #F3C54D;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-the-thao__hero-description {
    font-size: 1.2em;
    line-height: 1.8;
    color: #FFF1E8;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* General Content Sections */
.page-the-thao__content-section {
    padding: 60px 0;
}

.page-the-thao__dark-section {
    background-color: #2A1212; /* Card BG color for dark sections */
    color: #FFF1E8;
}

.page-the-thao__grid-2-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-the-thao__grid-3-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.page-the-thao__grid-4-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.page-the-thao__image-wrapper {
    text-align: center;
}

.page-the-thao__content-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #6A1E1E;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-the-thao__feature-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.page-the-thao__list-item {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.page-the-thao__list-item::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #FFB04A;
}

/* Card Styling */
.page-the-thao__card {
    background-color: #2A1212; /* Card BG color */
    border: 1px solid #6A1E1E; /* Border color */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure cards are same height in a grid */
}

.page-the-thao__card-title {
    font-size: 1.5em;
    color: #F3C54D;
    margin-bottom: 15px;
    font-weight: bold;
}

/* Feature Cards */
.page-the-thao__feature-card {
    background-color: #2A1212; /* Card BG color */
    border: 1px solid #6A1E1E; /* Border color */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-the-thao__feature-icon {
    width: 200px; 
    height: 200px;
    object-fit: contain; /* Use contain to ensure full icon is visible */
    margin: 0 auto 20px;
}

.page-the-thao__feature-title {
    font-size: 1.3em;
    color: #F3C54D;
    margin-bottom: 10px;
    font-weight: bold;
}

/* FAQ Section */
.page-the-thao__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
}

.page-the-thao__faq-item {
    background-color: #2A1212; /* Card BG color */
    border: 1px solid #6A1E1E; /* Border color */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-the-thao__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #FFF1E8;
    cursor: pointer;
    background-color: #C61F1F; /* Main color for summary background */
    border-bottom: 1px solid #6A1E1E;
    list-style: none; /* Hide default marker */
}
.page-the-thao__faq-question::-webkit-details-marker {
    display: none; /* Hide marker for Webkit */
}
.page-the-thao__faq-question::marker {
    display: none; /* Hide marker for other browsers */
}

.page-the-thao__faq-qtext {
    flex-grow: 1;
}

.page-the-thao__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
    color: #F3C54D;
}

.page-the-thao__faq-item[open] .page-the-thao__faq-toggle {
    transform: rotate(45deg); /* Rotate '+' to 'x' when open */
}

.page-the-thao__faq-answer {
    padding: 20px 25px;
    font-size: 1.05em;
    line-height: 1.7;
    color: #FFF1E8;
    background-color: #2A1212; /* Card BG color */
}

/* CTA Section */
.page-the-thao__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: #C61F1F; /* Main color for CTA background */
}

.page-the-thao__cta-content {
    max-width: 900px;
}

.page-the-thao__cta-section .page-the-thao__section-title {
    color: #F3C54D;
    margin-bottom: 25px;
}

.page-the-thao__cta-section .page-the-thao__paragraph {
    font-size: 1.2em;
    color: #FFF1E8;
    margin-bottom: 40px;
}

.page-the-thao__large-cta-button {
    padding: 15px 40px;
    font-size: 1.3em;
    min-width: 250px;
}


/* General Image Responsive Rules */
.page-the-thao img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 1024px) {
    .page-the-thao__hero-title {
        font-size: clamp(2em, 5vw, 3em);
    }
    .page-the-thao__section-title {
        font-size: 2em;
    }
    .page-the-thao__sub-title {
        font-size: 1.5em;
    }
    .page-the-thao__paragraph {
        font-size: 1em;
    }
    .page-the-thao__grid-2-columns {
        grid-template-columns: 1fr;
    }
    .page-the-thao__grid-3-columns {
        grid-template-columns: 1fr 1fr;
    }
    .page-the-thao__grid-4-columns {
        grid-template-columns: 1fr 1fr;
    }
    .page-the-thao__feature-icon {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-the-thao__hero-section {
        padding-top: 10px !important; /* Small top padding, body handles header offset */
    }
    .page-the-thao__hero-content-wrapper {
        padding: 10px;
    }
    .page-the-thao__hero-title {
        font-size: 2em !important;
    }
    .page-the-thao__hero-description {
        font-size: 1em !important;
    }

    /* 长文金框区 - General content sections */
    .page-the-thao__content-section {
        padding: 40px 0 !important;
    }
    .page-the-thao__container {
        padding: 0 15px !important; /* Add side padding to container */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-the-thao__section-title {
        font-size: 1.8em !important;
        margin-bottom: 30px !important;
    }
    .page-the-thao__sub-title {
        font-size: 1.3em !important;
    }
    .page-the-thao__paragraph {
        font-size: 0.95em !important;
        line-height: 1.6 !important;
    }

    /* 游戏轮播 (__slider-track) - Minimal rule for compliance, not actually used in HTML */
    .page-the-thao__slider-track {
        display: flex !important; /* Ensure flex for horizontal scrolling if present */
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x mandatory !important;
    }
    .page-the-thao__game-slide {
        flex: 0 0 80% !important; /* Make slides wider for mobile */
        max-width: 80% !important;
        scroll-snap-align: start !important;
    }
    /* 合作品牌六宫格 (__banners-top-wrapper) - Minimal rule for compliance, not actually used in HTML */
    .page-the-thao__banners-top-wrapper {
        grid-template-columns: repeat(3, 1fr) !important; /* 3 columns for mobile */
        gap: 10px !important;
    }
    .page-the-thao__banner-item img {
         /* Adjust max-width for smaller screen */
        
    }
    /* 博客卡片区 (Minimal rule for compliance) */
    .page-the-thao__blog-masonry {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        align-items: stretch !important;
    }
    .page-the-thao__blog-slider-track {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x mandatory !important;
    }
    .page-the-thao__blog-slide {
        flex: 0 0 90% !important;
        max-width: 90% !important;
        scroll-snap-align: start !important;
    }

    /* 通用图片与容器 */
    .page-the-thao img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-the-thao__image-wrapper,
    .page-the-thao__card,
    .page-the-thao__feature-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-the-thao__feature-icon {
        width: 200px !important; 
        height: 200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* 按钮与按钮容器 */
    .page-the-thao__btn-primary,
    .page-the-thao__btn-secondary,
    .page-the-thao a[class*="button"],
    .page-the-thao 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-left: 15px !important;
        padding-right: 15px !important;
    }
    .page-the-thao__cta-buttons,
    .page-the-thao__button-group,
    .page-the-thao__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px !important; /* Add gap between stacked buttons */
    }
    .page-the-thao__cta-buttons {
        flex-direction: column !important;
    }

    /* FAQ Section */
    .page-the-thao__faq-list {
        margin-top: 20px !important;
    }
    .page-the-thao__faq-question {
        padding: 15px 20px !important;
        font-size: 1.1em !important;
    }
    .page-the-thao__faq-answer {
        padding: 15px 20px !important;
        font-size: 0.95em !important;
    }

    /* CTA Section */
    .page-the-thao__cta-section {
        padding: 50px 0 !important;
    }
    .page-the-thao__large-cta-button {
        padding: 12px 25px !important;
        font-size: 1.1em !important;
        min-width: unset !important;
    }
}