.page-the-thao {
    color: var(--text-main);
    background-color: var(--deep-navy);
}

.page-the-thao__container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 40px 16px;
    box-sizing: border-box;
}

.page-the-thao__section-title {
    font-size: 3em;
    font-weight: 700;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-the-thao__section-subtitle {
    font-size: 1.2em;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.5;
}

/* Hero Section */
.page-the-thao__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    background-color: var(--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;
    box-sizing: border-box;
}

.page-the-thao__hero-content {
    flex: 1 1 50%;
    min-width: 300px;
    color: var(--text-main);
}

.page-the-thao__hero-title {
    font-size: clamp(2.5em, 4vw, 3.5em);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--gold);
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.4);
}

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

.page-the-thao__hero-cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.page-the-thao__cta-button {
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

.page-the-thao__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(43, 115, 246, 0.4);
}

.page-the-thao__btn-secondary {
    background: transparent;
    color: var(--glow);
    border: 2px solid var(--glow);
}

.page-the-thao__btn-secondary:hover {
    background: var(--glow);
    color: var(--deep-navy);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(79, 168, 255, 0.4);
}

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

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

/* Intro Section */
.page-the-thao__intro-section {
    background-color: var(--card-bg);
    padding: 60px 0;
}

.page-the-thao__intro-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.page-the-thao__intro-item {
    flex: 1 1 calc(33.333% - 20px);
    min-width: 280px;
    background-color: var(--deep-navy);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-the-thao__intro-item:hover {
    transform: translateY(-10px);
}

.page-the-thao__icon-box-media {
    width: 240px;
    height: 240px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--glow);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(79, 168, 255, 0.5);
}

.page-the-thao__icon-box-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.page-the-thao__intro-item-title {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 15px;
}

.page-the-thao__intro-item-description {
    font-size: 1em;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Game Tabs Section */
.page-the-thao__game-tabs-section {
    background-color: var(--deep-navy);
    padding: 60px 0;
}

.page-the-thao__tab-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    border-bottom: 2px solid var(--divider);
    gap: 10px;
    flex-wrap: wrap;
}

.page-the-thao__tab-button {
    background: none;
    border: none;
    padding: 15px 25px;
    font-size: 1.1em;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px; /* Offset border-bottom from parent */
}

.page-the-thao__tab-button:hover,
.page-the-thao__tab-button.is-active {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

.page-the-thao__game-panel {
    display: none;
}

.page-the-thao__game-panel.is-active {
    display: block;
}

.page-the-thao__panel-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-the-thao__panel-text {
    flex: 1 1 55%;
    min-width: 300px;
}

.page-the-thao__panel-title {
    font-size: 2em;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 15px;
}

.page-the-thao__panel-text p {
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.page-the-thao__panel-image {
    flex: 1 1 35%;
    min-width: 250px;
    text-align: center;
}

.page-the-thao__panel-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

/* Guide Section */
.page-the-thao__guide-section {
    background-color: var(--card-bg);
    padding: 60px 0;
}

.page-the-thao__guide-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-bottom: 40px;
}

.page-the-thao__guide-step {
    flex: 1 1 calc(25% - 22.5px);
    min-width: 220px;
    background-color: var(--deep-navy);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
}

.page-the-thao__guide-icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    background: var(--glow);
    color: var(--deep-navy);
    font-size: 2em;
    font-weight: 700;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.page-the-thao__guide-step-title {
    font-size: 1.5em;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 10px;
}

.page-the-thao__guide-step p {
    font-size: 0.95em;
    color: var(--text-secondary);
    line-height: 1.5;
}

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

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

/* Promo Section */
.page-the-thao__promo-section {
    background-color: var(--deep-navy);
    padding: 60px 0;
}

.page-the-thao__promo-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.page-the-thao__promo-card {
    flex: 1 1 calc(33.333% - 20px);
    min-width: 280px;
    background-color: var(--card-bg);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-the-thao__promo-card:hover {
    transform: translateY(-8px);
}

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

.page-the-thao__promo-card-title {
    font-size: 1.6em;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
}

.page-the-the-thao__promo-card-description {
    font-size: 0.95em;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Trust Section */
.page-the-thao__trust-section {
    background-color: var(--card-bg);
    padding: 60px 0;
}

.page-the-thao__trust-features {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.page-the-thao__trust-item {
    flex: 1 1 calc(33.333% - 20px);
    min-width: 280px;
    background-color: var(--deep-navy);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-the-thao__trust-item-title {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--glow);
    margin-bottom: 15px;
}

.page-the-thao__trust-item p {
    font-size: 1em;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* FAQ Section */
.page-the-thao__faq-section {
    background-color: var(--deep-navy);
    padding: 60px 0;
}

.page-the-thao__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-the-thao__faq-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-the-thao__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15em;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--divider);
}

.page-the-thao__faq-item[open] .page-the-thao__faq-question {
    border-bottom: 1px solid var(--border);
}

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

.page-the-thao__faq-toggle {
    font-size: 1.5em;
    color: var(--glow);
    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: 15px 25px 20px;
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-secondary);
    background-color: var(--deep-navy);
}

/* Final CTA Section */
.page-the-thao__final-cta-section {
    background-color: var(--card-bg);
    padding: 80px 0;
    text-align: center;
}

.page-the-thao__final-cta-section .page-the-thao__section-title {
    color: var(--gold);
}

.page-the-thao__final-cta-section .page-the-thao__section-subtitle {
    margin-bottom: 50px;
}

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

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

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

    .page-the-thao__hero-image {
        order: 1;
    }

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

    .page-the-thao__intro-item,
    .page-the-thao__promo-card,
    .page-the-thao__trust-item {
        flex: 1 1 calc(50% - 15px);
    }

    .page-the-thao__guide-step {
        flex: 1 1 calc(50% - 15px);
    }

    .page-the-thao__panel-content {
        flex-direction: column;
    }

    .page-the-thao__panel-text,
    .page-the-thao__panel-image {
        min-width: unset;
        flex: 1 1 100%;
    }
}

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

    .page-the-thao__hero-title {
        font-size: 2.2em;
    }

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

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

    .page-the-thao__cta-button,
    .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;
        padding-right: 15px;
    }

    .page-the-thao__hero-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;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

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

    .page-the-thao__section-subtitle {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

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

    .page-the-thao__intro-item,
    .page-the-thao__promo-card,
    .page-the-thao__trust-item,
    .page-the-thao__guide-step {
        flex: 1 1 100%;
        min-width: unset;
    }

    .page-the-thao__icon-box-media {
        width: 200px;
        height: 200px;
        margin-bottom: 15px;
    }

    .page-the-thao__tab-nav {
        flex-direction: column;
        align-items: center;
        margin-bottom: 30px;
    }

    .page-the-thao__tab-button {
        width: 100%;
        text-align: center;
        border-bottom: none;
        border-radius: 8px;
        margin-bottom: 5px;
        background-color: var(--card-bg);
    }

    .page-the-thao__tab-button:hover,
    .page-the-thao__tab-button.is-active {
        border-bottom: none;
        background-color: var(--glow);
        color: var(--deep-navy);
    }

    .page-the-thao__panel-content {
        padding: 20px;
    }

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

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

    .page-the-thao__guide-steps {
        margin-bottom: 30px;
    }

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

    .page-the-thao__guide-step p {
        font-size: 0.9em;
    }

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

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

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

    .page-the-thao__faq-answer {
        font-size: 0.9em;
        padding: 10px 20px 15px;
    }

    .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;
    }
}