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

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

.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: 40px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.page-the-thao__hero-section {
    position: relative;
    padding-top: 10px; /* Adjusted for shared header offset */
    background-color: var(--page-bg);
    padding-bottom: 40px;
}

.page-the-thao__hero-image {
    width: 100%;
    height: 675px;
    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: 3.2em;
    color: var(--text-main);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.1;
}

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

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

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

.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 {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
}

.page-the-thao__btn-secondary {
    background: #ffffff;
    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 5px 15px rgba(255, 140, 26, 0.4);
}

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

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

.page-the-thao__intro-section {
    padding: 60px 0;
}

.page-the-thao__dark-section {
    background-color: var(--page-bg);
    color: var(--text-main);
}

.page-the-thao__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-the-thao__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-the-thao__odds-types-section {
    padding: 60px 0;
    background-color: #f5f5f5;
}

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

.page-the-thao__card {
    background: var(--card-bg);
    color: var(--text-main);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-the-thao__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

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

.page-the-thao__card-text {
    font-size: 1em;
    flex-grow: 1;
}

.page-the-thao__more-odds {
    text-align: center;
    font-style: italic;
    color: var(--primary-color);
    font-size: 1.1em;
}

.page-the-thao__top-sports-section {
    padding: 60px 0;
}

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

.page-the-thao__sport-item {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-the-thao__sport-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-the-thao__sport-name {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-the-thao__sport-description {
    font-size: 0.95em;
    color: var(--text-main);
    flex-grow: 1;
}

.page-the-thao__how-to-bet-section {
    padding: 60px 0;
}

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

.page-the-thao__step-item {
    background: #ffffff;
    color: #333333;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.page-the-thao__step-title {
    font-size: 1.6em;
    color: #333333;
    margin-bottom: 10px;
    font-weight: bold;
}

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

.page-the-thao__promotions-section {
    padding: 60px 0;
}

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

.page-the-thao__promo-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-the-thao__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-the-thao__promo-title {
    font-size: 1.6em;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-the-thao__promo-description {
    font-size: 1em;
    color: var(--text-main);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-the-thao__cta-center {
    text-align: center;
}

.page-the-thao__tips-section {
    padding: 60px 0;
    background-color: #f5f5f5;
}

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

.page-the-thao__tip-item {
    background: #ffffff;
    color: #333333;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-the-thao__tip-title {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-the-thao__tip-description {
    font-size: 1em;
    flex-grow: 1;
}

.page-the-thao__faq-section {
    padding: 60px 0;
}

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

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

.page-the-thao__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--secondary-color);
    cursor: pointer;
    list-style: none;
    position: relative;
}

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

.page-the-thao__faq-toggle {
    font-size: 1.5em;
    color: var(--primary-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;
    color: var(--text-main);
    line-height: 1.6;
}

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

.page-the-thao__conclusion-section {
    padding: 60px 0;
    background-color: #f5f5f5;
}

/* Mobile Responsiveness */
@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: 2.5em;
    }

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

    .page-the-thao__grid-layout,
    .page-the-thao__sports-grid,
    .page-the-thao__steps-grid,
    .page-the-thao__promo-grid,
    .page-the-thao__tips-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }

    .page-the-thao__card-image,
    .page-the-thao__sport-image,
    .page-the-thao__promo-image {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .page-the-thao__hero-section {
        padding-top: 10px; /* Consistent small top padding */
    }

    .page-the-thao__hero-image {
        height: 400px; /* Smaller hero image on mobile */
    }

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

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

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

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

    .page-the-thao__btn-primary,
    .page-the-thao__btn-secondary,
    .page-the-thao__btn-outline,
    .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-group,
    .page-the-thao__cta-center,
    .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; /* Ensure buttons wrap */
        gap: 10px;
    }

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

    .page-the-thao__text-block {
        font-size: 0.95em;
    }

    .page-the-thao__grid-layout,
    .page-the-thao__sports-grid,
    .page-the-thao__steps-grid,
    .page-the-thao__promo-grid,
    .page-the-thao__tips-list {
        grid-template-columns: 1fr; /* Single column layout for cards */
        gap: 20px;
    }

    .page-the-thao__card,
    .page-the-thao__sport-item,
    .page-the-thao__step-item,
    .page-the-thao__promo-card,
    .page-the-thao__tip-item {
        padding: 20px;
    }

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

    .page-the-thao__section,
    .page-the-thao__card,
    .page-the-thao__container,
    .page-the-thao__hero-section,
    .page-the-thao__intro-section,
    .page-the-thao__odds-types-section,
    .page-the-thao__top-sports-section,
    .page-the-thao__how-to-bet-section,
    .page-the-thao__promotions-section,
    .page-the-thao__tips-section,
    .page-the-thao__faq-section,
    .page-the-thao__conclusion-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-the-thao__card-image,
    .page-the-thao__sport-image,
    .page-the-thao__promo-image {
        height: auto;
    }

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

    .page-the-thao__faq-answer {
        padding: 0 20px 15px;
    }
}