:root {
    --primary-color: #FF8C1A;
    --secondary-color: #FFA53A;
    --card-bg: #17191F;
    --page-bg: #0D0E12;
    --text-main-color: #FFF3E6;
    --border-color: #A84F0C;
    --glow-color: #FFB04D;
    --deep-orange: #D96800;
}

.page-the-thao {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main-color); /* Main text color for the page */
    background-color: var(--page-bg); /* Page background color */
}

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

.page-the-thao__content-area--center {
    text-align: center;
}

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

/* HERO Section */
.page-the-thao__hero-section {
    padding-top: 10px; /* Small top padding, relying on body padding for header offset */
    padding-bottom: 60px;
    background: var(--page-bg);
}

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

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

.page-the-thao__hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

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

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

.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 8px 20px rgba(0,0,0,0.3);
}

/* Buttons */
.page-the-thao__btn-primary,
.page-the-thao__btn-secondary,
.page-the-thao__btn-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1em;
    white-space: nowrap;
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box;
}

.page-the-thao__btn-primary {
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange) 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

.page-the-thao__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6);
}

.page-the-thao__btn-secondary {
    background: #ffffff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.page-the-thao__btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 6px 15px rgba(255, 140, 26, 0.4);
}

.page-the-thao__btn-link {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-the-thao__btn-link:hover {
    background: var(--primary-color);
    color: #ffffff;
}

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

.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: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-the-thao__feature-item:hover {
    transform: translateY(-5px);
}

.page-the-thao__icon-box-media {
    width: 180px; /* Smaller for desktop, will be 200px on mobile */
    height: 180px;
    aspect-ratio: 1/1;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-color);
    box-shadow: 0 0 15px var(--glow-color);
}

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

.page-the-thao__feature-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.page-the-thao__feature-text {
    color: var(--text-main-color);
}

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

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

.page-the-thao__tab-button {
    background: var(--card-bg);
    color: var(--text-main-color);
    padding: 12px 25px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.page-the-thao__tab-button:hover,
.page-the-thao__tab-button.is-active {
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange) 100%);
    color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(255, 140, 26, 0.3);
}

.page-the-thao__game-panel {
    display: none;
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    animation: fadeIn 0.5s ease-in-out forwards;
}

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

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

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

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

.page-the-thao__guide-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-the-thao__guide-list li {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.page-the-thao__guide-step-title {
    font-size: 1.8em;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

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

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

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

.page-the-thao__card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.page-the-thao__card:hover {
    transform: translateY(-5px);
}

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

.page-the-thao__card-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.page-the-thao__card-text {
    color: var(--text-main-color);
    flex-grow: 1; /* Make text take available space */
    margin-bottom: 20px;
}

.page-the-thao__cta-buttons--center {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

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

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

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

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

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

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

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

.page-the-thao__faq-toggle {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--secondary-color);
    margin-left: 15px;
    transition: transform 0.3s ease;
}

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

.page-the-thao__faq-answer {
    padding: 0 25px 20px;
    color: var(--text-main-color);
}

/* Final CTA Section */
.page-the-thao__final-cta-section {
    padding: 60px 0;
    background: linear-gradient(180deg, var(--deep-orange) 0%, var(--primary-color) 100%);
    color: #ffffff;
    text-align: center;
}

.page-the-thao__final-cta-section .page-the-thao__section-title {
    color: #ffffff;
}

.page-the-thao__final-cta-section .page-the-thao__hero-description {
    color: #ffffff;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

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

/* General image and container responsive styles */
.page-the-thao img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Media Queries for Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .page-the-thao {
        font-size: 15px;
        line-height: 1.5;
    }

    .page-the-thao__content-area,
    .page-the-thao__hero-container {
        padding: 20px 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* HERO Section Mobile */
    .page-the-thao__hero-section {
        padding-top: 10px !important; /* As per requirement, relying on body padding */
        padding-bottom: 30px;
    }

    .page-the-thao__hero-container {
        flex-direction: column;
        gap: 20px;
    }

    .page-the-thao__hero-content {
        order: 2; /* Content below image */
        text-align: center;
    }

    .page-the-thao__hero-image {
        order: 1; /* Image above content */
    }

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

    .page-the-thao__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

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