/* style/the-thao.css */
.page-the-thao {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #F3F8FF; /* Text Main */
    background-color: transparent; /* Body background is handled by shared.css var(--deep-navy-color) */
}

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

.page-the-thao__section-title {
    font-size: 2.5em;
    font-weight: 700;
    color: #F3F8FF; /* Text Main */
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-the-thao__section-description,
.page-the-thao__text-block {
    font-size: 1.1em;
    color: #AFC4E8; /* Text Secondary */
    text-align: center;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-the-thao__dark-bg {
    background-color: #10233F; /* Card BG */
    padding: 60px 0;
}

/* Hero Section */
.page-the-thao__hero-section {
    padding-top: 10px; /* Small top padding, body handles header-offset */
    padding-bottom: 60px;
    background-color: #08162B; /* Deep Navy */
}

.page-the-thao__hero-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    max-width: 1170px;
    margin: 0 auto;
    padding: 40px 16px;
}

.page-the-thao__hero-content {
    flex: 1 1 45%;
    min-width: 300px;
    text-align: left;
}

.page-the-thao__main-title {
    font-size: clamp(2.5em, 5vw, 3.8em);
    font-weight: 800;
    color: #F3F8FF; /* Text Main */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-the-thao__hero-description {
    font-size: 1.2em;
    color: #AFC4E8; /* Text Secondary */
    margin-bottom: 30px;
}

.page-the-thao__cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
    border: 2px solid transparent;
    box-sizing: border-box;
}

.page-the-thao__btn-primary {
    background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    color: #F3F8FF; /* Text Main */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-the-thao__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-the-thao__btn-secondary {
    background: #10233F; /* Card BG */
    color: #4FA8FF; /* Glow */
    border-color: #244D84; /* Border */
}

.page-the-thao__btn-secondary:hover {
    background: #1B3357; /* Divider */
    color: #F3F8FF; /* Text Main */
}

.page-the-thao__hero-image {
    flex: 1 1 45%;
    min-width: 300px;
    text-align: center;
}

.page-the-thao__hero-side-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Sports Categories Section */
.page-the-thao__sports-categories-section {
    padding: 60px 0;
    background-color: #08162B; /* Deep Navy */
}

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

.page-the-thao__sport-card {
    background-color: #10233F; /* Card BG */
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-the-thao__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 20px;
}

.page-the-thao__card-title {
    font-size: 1.8em;
    color: #F3F8FF; /* Text Main */
    margin-bottom: 10px;
    padding: 0 20px;
}

.page-the-thao__card-text {
    font-size: 1em;
    color: #AFC4E8; /* Text Secondary */
    margin-bottom: 20px;
    padding: 0 20px;
    flex-grow: 1;
}

.page-the-thao__card-btn {
    margin: 0 20px;
    width: calc(100% - 40px);
}

/* Why Choose Section */
.page-the-thao__why-choose-section {
    padding: 60px 0;
}

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

.page-the-thao__feature-item {
    background-color: #10233F; /* Card BG */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.page-the-thao__feature-title {
    font-size: 1.5em;
    color: #F2C14E; /* Gold */
    margin-bottom: 10px;
}

.page-the-thao__feature-text {
    font-size: 1em;
    color: #AFC4E8; /* Text Secondary */
}

/* Guide Section */
.page-the-thao__guide-section {
    padding: 60px 0;
    background-color: #08162B; /* Deep Navy */
}

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

.page-the-thao__guide-step {
    background-color: #10233F; /* Card BG */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.page-the-thao__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    color: #F3F8FF; /* Text Main */
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 20px;
    border: 3px solid #F2C14E; /* Gold */
}

.page-the-thao__step-title {
    font-size: 1.6em;
    color: #F3F8FF; /* Text Main */
    margin-bottom: 10px;
}

.page-the-thao__step-text {
    font-size: 1em;
    color: #AFC4E8; /* Text Secondary */
}

.page-the-thao__cta-center {
    text-align: center;
    margin-top: 50px;
}

/* Promotions Section */
.page-the-thao__promotions-section {
    padding: 60px 0;
}

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

.page-the-thao__promo-card {
    background-color: #10233F; /* Card BG */
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* FAQ Section */
.page-the-thao__faq-section {
    padding: 60px 0;
    background-color: #08162B; /* Deep Navy */
}

.page-the-thao__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-the-thao__faq-item {
    background-color: #10233F; /* Card BG */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-the-thao__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: 600;
    color: #F3F8FF; /* Text Main */
    background-color: #1B3357; /* Divider */
    border-bottom: 1px solid #244D84; /* Border */
    list-style: none; /* For details tag */
}

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

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

.page-the-thao__faq-toggle {
    font-size: 1.8em;
    line-height: 1;
    margin-left: 15px;
    color: #F2C14E; /* Gold */
    transition: transform 0.3s ease;
}

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

.page-the-thao__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: #AFC4E8; /* Text Secondary */
    text-align: left;
}

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

.page-the-thao__faq-answer .page-the-thao__cta-buttons {
    justify-content: center;
    margin-top: 15px;
}

.page-the-thao__faq-cta .page-the-thao__btn-secondary {
    width: auto;
    margin: 0;
}

/* Final CTA Section */
.page-the-thao__cta-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #10233F 0%, #08162B 100%);
    text-align: center;
}

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

.page-the-thao__cta-section .page-the-thao__section-title {
    margin-bottom: 15px;
}

.page-the-thao__cta-section .page-the-thao__text-block {
    margin-bottom: 30px;
}

.page-the-thao__cta-section .page-the-thao__cta-buttons {
    justify-content: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-the-thao__hero-container {
        flex-direction: column;
        text-align: center;
    }

    .page-the-thao__hero-content {
        text-align: center;
    }

    .page-the-thao__cta-buttons {
        justify-content: center;
    }

    .page-the-thao__main-title {
        font-size: clamp(2em, 4.5vw, 3.2em);
    }

    .page-the-thao__section-title {
        font-size: 2em;
    }

    .page-the-thao__hero-description,
    .page-the-thao__text-block {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    /* HERO Section */
    .page-the-thao__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px !important;
    }

    .page-the-thao__hero-container {
        padding: 20px 15px !important;
        gap: 20px;
    }

    .page-the-thao__main-title {
        font-size: clamp(2em, 8vw, 2.5em) !important;
        margin-bottom: 15px !important;
    }

    .page-the-thao__hero-description {
        font-size: 0.95em !important;
        margin-bottom: 25px !important;
    }

    .page-the-thao__cta-buttons {
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px;
    }

    .page-the-thao__btn-primary,
    .page-the-thao__btn-secondary {
        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-the-thao__hero-image {
        min-width: unset;
        order: -1; /* Image first on mobile */
    }

    /* Intro Section */
    .page-the-thao__intro-section {
        padding: 40px 0 !important;
    }

    .page-the-thao__container {
        padding: 15px !important;
    }

    .page-the-thao__section-title {
        font-size: 1.8em !important;
        margin-bottom: 15px !important;
    }

    .page-the-thao__section-description,
    .page-the-thao__text-block {
        font-size: 0.9em !important;
        margin-bottom: 15px !important;
    }

    /* Sports Categories Section */
    .page-the-thao__sports-categories-section {
        padding: 40px 0 !important;
    }

    .page-the-thao__sports-grid {
        gap: 20px;
        margin-top: 25px;
    }

    .page-the-thao__sport-card {
        padding-bottom: 20px;
    }

    .page-the-thao__card-image {
        height: 200px;
    }

    .page-the-thao__card-title {
        font-size: 1.5em;
    }

    .page-the-thao__card-text {
        font-size: 0.9em;
    }

    .page-the-thao__card-btn {
        margin: 0 15px;
        width: calc(100% - 30px);
    }

    /* Why Choose Section */
    .page-the-thao__why-choose-section {
        padding: 40px 0 !important;
    }

    .page-the-thao__feature-grid {
        gap: 20px;
        margin-top: 25px;
    }

    .page-the-thao__feature-item {
        padding: 20px;
    }

    .page-the-thao__feature-title {
        font-size: 1.3em;
    }

    .page-the-thao__feature-text {
        font-size: 0.9em;
    }

    /* Guide Section */
    .page-the-thao__guide-section {
        padding: 40px 0 !important;
    }

    .page-the-thao__guide-steps {
        gap: 20px;
        margin-top: 25px;
    }

    .page-the-thao__guide-step {
        padding: 20px;
    }

    .page-the-thao__step-number {
        width: 40px;
        height: 40px;
        font-size: 1.5em;
        margin-bottom: 15px;
    }

    .page-the-thao__step-title {
        font-size: 1.4em;
    }

    .page-the-thao__step-text {
        font-size: 0.9em;
    }

    .page-the-thao__cta-center {
        margin-top: 30px;
    }

    /* Promotions Section */
    .page-the-thao__promotions-section {
        padding: 40px 0 !important;
    }

    .page-the-thao__promo-grid {
        gap: 20px;
        margin-top: 25px;
    }

    .page-the-thao__promo-card {
        padding-bottom: 20px;
    }

    /* FAQ Section */
    .page-the-thao__faq-section {
        padding: 40px 0 !important;
    }

    .page-the-thao__faq-list {
        margin-top: 25px;
    }

    .page-the-thao__faq-question {
        padding: 15px 20px !important;
        font-size: 1.1em !important;
    }

    .page-the-thao__faq-toggle {
        font-size: 1.5em !important;
    }

    .page-the-thao__faq-answer {
        padding: 15px 20px !important;
        font-size: 0.95em !important;
    }

    .page-the-thao__faq-answer .page-the-thao__cta-buttons {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .page-the-thao__faq-cta .page-the-thao__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Final CTA Section */
    .page-the-thao__cta-section {
        padding: 50px 0 !important;
    }

    .page-the-thao__cta-section .page-the-thao__section-title {
        font-size: 1.8em !important;
    }

    .page-the-thao__cta-section .page-the-thao__text-block {
        font-size: 0.95em !important;
    }

    /* General Image Adaptation */
    .page-the-thao img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-the-thao__section,
    .page-the-thao__card,
    .page-the-thao__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}