:root {
    --primary-color: #FF8C1A;
    --secondary-color: #FFA53A;
    --card-bg: #17191F;
    --body-bg: #0D0E12;
    --text-main: #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); /* Default text color for dark body background */
    background-color: var(--body-bg); /* Explicitly set body background for consistency */
}

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

.page-the-thao__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-the-thao__section-description {
    font-size: 1.1em;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-the-thao__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small top spacing, relying on body padding-top from shared.css */
    background: var(--body-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-the-thao__hero-image-wrapper {
    width: 100%;
    max-height: 600px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-the-thao__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Cover for desktop */
}

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

.page-the-thao__main-title {
    font-size: clamp(2em, 3.5vw, 3em); /* Use clamp for H1 */
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.page-the-thao__main-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-main);
    font-weight: 300;
}

.page-the-thao__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    text-align: center;
}

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

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

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

.page-the-thao__btn-secondary:hover {
    background: rgba(255, 140, 26, 0.1);
    color: var(--glow-color);
    border-color: var(--glow-color);
}

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

/* Light Background Sections */
.page-the-thao__light-bg {
    background-color: var(--text-main);
    color: #333333; /* Dark text for light background */
    padding: 60px 0;
}

.page-the-thao__light-bg .page-the-thao__section-title {
    color: var(--deep-orange);
}

.page-the-thao__light-bg .page-the-thao__section-description,
.page-the-thao__light-bg p,
.page-the-thao__light-bg li {
    color: #333333;
}

/* Dark Background Sections */
.page-the-thao__dark-section {
    background-color: var(--body-bg);
    color: var(--text-main);
    padding: 60px 0;
}

.page-the-thao__dark-section .page-the-thao__section-title {
    color: var(--primary-color);
}

.page-the-thao__dark-section .page-the-thao__section-description,
.page-the-thao__dark-section p,
.page-the-thao__dark-section li {
    color: var(--text-main);
}

/* Content Wrapper (Image + Text) */
.page-the-thao__content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.page-the-thao__content-wrapper--reversed {
    flex-direction: row-reverse;
}

.page-the-thao__text-block {
    flex: 1;
}

.page-the-thao__image-block {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-the-thao__image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Grid for Cards */
.page-the-thao__grid-3-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

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

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

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

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

.page-the-thao__card-text {
    font-size: 1em;
    color: var(--text-main);
}

/* Benefits Section */
.page-the-thao__benefit-item {
    text-align: center;
}

.page-the-thao__benefit-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
}

/* Guide Section */
.page-the-thao__guide-list {
    list-style: none;
    padding: 0;
}

.page-the-thao__guide-item {
    margin-bottom: 30px;
    position: relative;
    padding-left: 40px;
}

.page-the-thao__guide-item::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 0;
    background: var(--primary-color);
    color: var(--text-main);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.1em;
}

.page-the-thao__guide-title {
    font-size: 1.3em;
    color: var(--deep-orange);
    margin-bottom: 10px;
}

/* FAQ Section */
.page-the-thao__faq-list {
    margin-top: 40px;
}

.page-the-thao__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-main);
}

.page-the-thao__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: bold;
    color: var(--primary-color);
    cursor: pointer;
    background-color: #1a1d25; /* Slightly lighter dark for summary */
    list-style: none; /* Remove default marker */
}

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

.page-the-thao__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--glow-color);
    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: 0 25px 20px;
    font-size: 1em;
    line-height: 1.8;
    color: var(--text-main);
}

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

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

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

.page-the-thao__cta-final-section .page-the-thao__section-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.page-the-thao__cta-final-section .page-the-thao__section-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: var(--text-main);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-the-thao__container {
        padding: 15px;
    }

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

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

    .page-the-thao__grid-2-col {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

@media (max-width: 768px) {
    /* General Images and Containers */
    .page-the-thao img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }

    .page-the-thao__hero-image {
        object-fit: contain !important; /* Mobile: contain, no cover */
        aspect-ratio: unset !important;
        max-height: none !important;
    }

    .page-the-thao__section,
    .page-the-thao__card,
    .page-the-thao__container,
    .page-the-thao__hero-section,
    .page-the-thao__introduction-section,
    .page-the-thao__bet-types-section,
    .page-the-thao__guide-section,
    .page-the-thao__benefits-section,
    .page-the-thao__faq-section,
    .page-the-thao__cta-final-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .page-the-thao {
        font-size: 16px;
        line-height: 1.6;
    }

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

    .page-the-thao__hero-content {
        padding: 30px 10px;
    }

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

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