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

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

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

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

.page-the-thao__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small top padding */
    background-color: var(--main-bg);
}

.page-the-thao__hero-image-wrapper {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

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

.page-the-thao__hero-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.page-the-thao__main-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    color: var(--glow-color);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

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

.page-the-thao__cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

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

.page-the-thao__btn--primary {
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange) 100%);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-the-thao__btn--primary:hover {
    background: linear-gradient(180deg, var(--deep-orange) 0%, var(--secondary-color) 100%);
    box-shadow: 0 0 15px var(--glow-color);
}

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

.page-the-thao__btn--secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 0 15px var(--glow-color);
}

.page-the-thao__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--glow-color);
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

.page-the-thao__text-block {
    font-size: 1rem;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-the-thao__feature-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-the-thao__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-the-thao__feature-title {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-the-thao__feature-description {
    font-size: 0.95rem;
    color: var(--text-main);
}

.page-the-thao__image-figure {
    margin: 40px auto;
    max-width: 800px;
    text-align: center;
}

.page-the-thao__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    display: block;
    margin: 0 auto;
}

.page-the-thao__image-caption {
    font-size: 0.9rem;
    color: var(--text-main);
    margin-top: 15px;
    font-style: italic;
}

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

.page-the-thao__option-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-the-thao__option-title {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-the-thao__option-description {
    font-size: 1rem;
    color: var(--text-main);
}

.page-the-thao__live-betting-features {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    max-width: 800px;
}

.page-the-thao__live-betting-features li {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 15px;
    font-size: 1rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-the-thao__live-betting-features li strong {
    color: var(--primary-color);
    margin-right: 10px;
}

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

.page-the-thao__promo-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-the-thao__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-the-thao__promo-title {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-the-thao__promo-description {
    font-size: 0.95rem;
    color: var(--text-main);
}

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

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

.page-the-thao__step-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-the-thao__step-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
}

.page-the-thao__step-title {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-the-thao__step-description {
    font-size: 0.95rem;
    color: var(--text-main);
}

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

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

.page-the-thao__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--primary-color);
    cursor: pointer;
    list-style: none;
}

.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.5rem;
    line-height: 1;
    color: var(--secondary-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: 1rem;
    color: var(--text-main);
    line-height: 1.6;
}

.page-the-thao__cta-bottom-section {
    background-color: var(--card-bg);
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.page-the-thao__cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}


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

    .page-the-thao__main-title {
        font-size: clamp(2rem, 5vw, 2.8rem);
    }

    .page-the-thao__section-title {
        font-size: clamp(1.6rem, 4.5vw, 2.2rem);
    }

    .page-the-thao__feature-grid, .page-the-thao__option-list, .page-the-thao__promo-card-grid, .page-the-thao__step-by-step-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }
}

@media (max-width: 768px) {
    /* 1. Top section title + CTA */
    .page-the-thao__hero-section {
        padding-top: 10px !important;
    }
    .page-the-thao__hero-image-wrapper {
        height: 300px;
    }
    .page-the-thao__hero-content {
        padding: 30px 15px;
    }
    .page-the-thao__main-title {
        font-size: 2rem !important;
    }
    .page-the-thao__description {
        font-size: 1rem !important;
    }
    .page-the-thao__cta-group {
        flex-direction: column !important;
        gap: 15px !important;
    }

    /* 2. Single column long article container */
    .page-the-thao__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-the-thao__section {
        padding: 30px 0 !important;
    }
    .page-the-thao__section-title {
        font-size: 1.8rem !important;
        margin-bottom: 20px !important;
    }
    .page-the-thao__text-block {
        font-size: 0.95rem !important;
        margin-bottom: 20px !important;
    }

    /* 3. General images and figure */
    .page-the-thao img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-the-thao__image-figure {
        margin: 20px auto !important;
    }
    .page-the-thao__image-caption {
        font-size: 0.85rem !important;
        margin-top: 10px !important;
    }

    /* 4. Buttons and button containers */
    .page-the-thao__btn {
        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;
        font-size: 0.95rem !important;
    }
    .page-the-thao__cta-group, .page-the-thao__cta-center {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
    }
    .page-the-thao__cta-group {
        flex-direction: column !important;
    }

    /* 5. Registration tutorial and FAQ block */
    .page-the-thao__feature-grid, .page-the-thao__option-list, .page-the-thao__promo-card-grid, .page-the-thao__step-by-step-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin-top: 20px !important;
    }
    .page-the-thao__feature-card, .page-the-thao__option-item, .page-the-thao__promo-card, .page-the-thao__step-card {
        padding: 20px !important;
    }
    .page-the-thao__feature-title, .page-the-thao__option-title, .page-the-thao__promo-title, .page-the-thao__step-title {
        font-size: 1.2rem !important;
    }
    .page-the-thao__feature-description, .page-the-thao__option-description, .page-the-thao__promo-description, .page-the-thao__step-description {
        font-size: 0.9rem !important;
    }
    .page-the-thao__live-betting-features li {
        font-size: 0.95rem !important;
        padding: 12px 15px !important;
    }
    .page-the-thao__faq-list {
        margin: 20px auto !important;
    }
    .page-the-thao__faq-question {
        padding: 15px 20px !important;
        font-size: 1rem !important;
    }
    .page-the-thao__faq-answer {
        padding: 0 20px 15px !important;
        font-size: 0.95rem !important;
    }
    .page-the-thao__cta-bottom-section {
        padding: 40px 0 !important;
    }
    .page-the-thao__cta-content {
        padding: 0 15px !important;
    }
}