.page-the-thao {
    --color-primary: #113B7A;
    --color-secondary: #1D5FD1;
    --color-text-main: #F3F8FF;
    --color-text-secondary: #AFC4E8;
    --color-card-bg: #10233F;
    --color-border: #244D84;
    --color-glow: #4FA8FF;
    --color-gold: #F2C14E;
    --color-divider: #1B3357;
    --color-deep-navy: #08162B;
    color: var(--color-text-main); /* Default text color for the page */
    background-color: var(--color-deep-navy); /* Body background is dark, so page text should be light */
    font-family: 'Arial', sans-serif;
}

.page-the-thao__hero-section {
    position: relative;
    width: 100%;
    padding-top: 10px; /* Small top padding, body handles header offset */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: var(--color-deep-navy);
}

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

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

.page-the-thao__hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 20px auto 40px auto;
    padding: 0 20px;
    color: var(--color-text-main);
}

.page-the-thao__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-the-thao__description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--color-text-secondary);
}

.page-the-thao__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-the-thao__btn-primary {
    background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    color: var(--color-text-main);
    border: 2px solid var(--color-primary);
}

.page-the-thao__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-the-thao__btn-secondary {
    background: var(--color-card-bg);
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
}

.page-the-thao__btn-secondary:hover {
    background: var(--color-gold);
    color: var(--color-card-bg);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-the-thao__section {
    padding: 60px 0;
    background-color: var(--color-deep-navy);
}

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

.page-the-thao__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-the-thao__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--color-gold);
    margin: 15px auto 0 auto;
    border-radius: 2px;
}

.page-the-thao__content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-the-thao__image-left {
    flex: 1;
    max-width: 50%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(var(--color-glow-rgb), 0.5);
    display: block;
    height: auto;
    object-fit: cover;
}

.page-the-thao__text-block {
    flex: 1;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.page-the-thao__text-block p {
    margin-bottom: 15px;
}

.page-the-thao__text-block strong {
    color: var(--color-text-main);
}

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

.page-the-thao__feature-card {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-text-secondary);
}

.page-the-thao__feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(var(--color-glow-rgb), 0.3);
}

.page-the-thao__card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-gold);
    margin-bottom: 15px;
}

.page-the-thao__card-image {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 20px;
    display: block;
}

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

.page-the-thao__step-card {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-text-secondary);
}

.page-the-thao__step-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 15px;
    line-height: 1;
}

.page-the-thao__btn-text {
    color: var(--color-gold);
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    transition: color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-the-thao__btn-text:hover {
    color: var(--color-primary);
}

.page-the-thao__flex-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-the-thao__promo-content {
    flex: 1;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.page-the-thao__image-right {
    flex: 1;
    max-width: 50%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(var(--color-glow-rgb), 0.5);
    display: block;
    height: auto;
    object-fit: cover;
}

.page-the-thao__section--cta {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    padding: 80px 0;
}

.page-the-thao__cta-box {
    text-align: center;
    color: var(--color-text-main);
}

.page-the-thao__cta-title {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 20px;
}

.page-the-thao__cta-description {
    font-size: 1.15rem;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: var(--color-text-secondary);
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
    .page-the-thao__hero-image-wrapper {
        max-height: 450px;
    }

    .page-the-thao__content-wrapper,
    .page-the-thao__flex-container {
        flex-direction: column;
        text-align: center;
    }

    .page-the-thao__image-left,
    .page-the-thao__image-right {
        max-width: 80%;
        margin-bottom: 30px;
    }

    .page-the-thao__promo-content {
        order: 2;
    }

    .page-the-thao__image-right {
        order: 1;
    }

    .page-the-thao__cta-buttons {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .page-the-thao {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-the-thao__hero-section {
        padding-top: 10px !important;
    }

    .page-the-thao__hero-image-wrapper {
        max-height: 300px;
    }

    .page-the-thao__hero-content {
        margin: 15px auto 30px auto;
        padding: 0 15px;
    }

    .page-the-thao__main-title {
        font-size: 2.2rem;
    }

    .page-the-thao__description {
        font-size: 1rem;
    }

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

    .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-left: 15px;
        padding-right: 15px;
    }

    .page-the-thao__section {
        padding: 40px 0;
    }

    .page-the-thao__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-the-thao__section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .page-the-thao__content-wrapper,
    .page-the-thao__flex-container {
        flex-direction: column;
        gap: 20px;
    }

    .page-the-thao__image-left,
    .page-the-thao__image-right {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin-bottom: 20px;
        box-sizing: border-box !important;
    }

    .page-the-thao__text-block {
        text-align: left;
    }

    .page-the-thao__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-the-thao__feature-card {
        padding: 25px;
    }

    .page-the-thao__card-title {
        font-size: 1.3rem;
    }

    .page-the-thao__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-the-thao__step-card {
        padding: 25px;
    }

    .page-the-thao__step-number {
        font-size: 2.5rem;
    }

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

    .page-the-thao__cta-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .page-the-thao img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-the-thao__hero-section,
    .page-the-thao__section,
    .page-the-thao__container,
    .page-the-thao__cta-box,
    .page-the-thao__feature-card,
    .page-the-thao__step-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-the-thao__promo-content {
        padding-left: 0;
        padding-right: 0;
    }
}