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

.page-the-thao {
    font-family: Arial, sans-serif;
    color: var(--color-text-main); /* Text color for dark background */
    background-color: var(--color-background);
}

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

.page-the-thao__section-title {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 700;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.page-the-thao__text-block {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--color-text-main);
    text-align: justify;
}

.page-the-thao__link-text {
    color: var(--color-secondary);
    text-decoration: underline;
}

.page-the-thao__link-text:hover {
    color: var(--color-glow);
}

/* Hero Section */
.page-the-thao__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
    background-color: var(--color-background);
}

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

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

.page-the-thao__main-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -1px;
}

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

.page-the-thao__cta-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

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

.page-the-thao__btn-primary:hover {
    background: linear-gradient(180deg, var(--color-glow) 0%, var(--color-primary) 100%);
    transform: translateY(-2px);
}

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

.page-the-thao__btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-background);
    transform: translateY(-2px);
}

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

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

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

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

/* Sports Types Section */
.page-the-thao__sports-types-section {
    padding: 60px 0;
    background-color: var(--color-background);
}

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

.page-the-thao__card {
    background-color: var(--color-card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    color: var(--color-text-main);
}

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

.page-the-thao__card img {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-the-thao__card-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-primary);
    padding: 15px 20px 10px;
}

.page-the-thao__card-description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text-main);
    padding: 0 20px 15px;
    flex-grow: 1;
}

.page-the-thao__btn-text {
    display: inline-block;
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px 20px;
    transition: color 0.3s ease;
}

.page-the-thao__btn-text:hover {
    color: var(--color-glow);
}

/* Betting Guide Section */
.page-the-thao__betting-guide-section {
    padding: 60px 0;
}

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

.page-the-thao__guide-item {
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: var(--color-text-main);
}

.page-the-thao__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(180deg, var(--color-secondary) 0%, var(--color-deep-orange) 100%);
    color: var(--color-text-main);
    border-radius: 50%;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

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

.page-the-thao__guide-description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text-main);
}

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

/* Promotions Section */
.page-the-thao__promotions-section {
    padding: 60px 0;
    background-color: var(--color-background);
}

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

.page-the-thao__promo-card {
    background-color: var(--color-card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    color: var(--color-text-main);
}

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

.page-the-thao__promo-card img {
    width: 100%;
    height: 220px; /* Fixed height for promo images */
    object-fit: cover;
    display: block;
}

/* Why Choose Section */
.page-the-thao__why-choose-section {
    padding: 60px 0;
}

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

.page-the-thao__feature-item {
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: var(--color-text-main);
}

.page-the-thao__feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

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

.page-the-thao__feature-description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text-main);
}

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

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

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

.page-the-thao__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary);
    cursor: pointer;
    list-style: none; /* For details tag */
    background-color: var(--color-card-bg);
}

.page-the-thao__faq-question::-webkit-details-marker, /* Hide default marker for Chrome/Safari */
.page-the-thao__faq-question::marker { /* Hide default marker for Firefox */
    display: none;
    content: "";
}

.page-the-thao__faq-toggle {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-secondary);
    margin-left: 15px;
}

.page-the-thao__faq-answer {
    padding: 0 20px 20px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text-main);
}

/* General image styling for content sections */
.page-the-thao img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

    .page-the-thao__hero-content,
    .page-the-thao__hero-image {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .page-the-thao__cta-group {
        justify-content: center;
    }

    .page-the-thao__card img {
        height: 200px;
    }

    .page-the-thao__promo-card img {
        
    }
}

@media (max-width: 768px) {
    .page-the-thao__container {
        padding: 30px 15px;
    }

    .page-the-thao__section-title {
        font-size: clamp(24px, 6vw, 32px);
        margin-bottom: 25px;
    }

    .page-the-thao__text-block {
        font-size: 15px;
    }

    /* HERO Section */
    .page-the-thao__hero-section {
        padding-top: 10px !important; /* Ensure small top padding */
        padding-bottom: 30px;
    }

    .page-the-thao__hero-container {
        padding: 30px 15px;
    }

    .page-the-thao__main-title {
        font-size: clamp(28px, 7vw, 42px);
        margin-bottom: 15px;
    }

    .page-the-thao__hero-description {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .page-the-thao__cta-group {
        flex-direction: column;
        gap: 10px;
    }

    /* Buttons responsive */
    .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: 12px 20px;
        font-size: 16px;
    }

    .page-the-thao__cta-group {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0px;
        padding-right: 0px;
        flex-wrap: wrap !important; /* Ensure multiple buttons wrap */
        gap: 10px;
    }

    /* General images responsive */
    .page-the-thao img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-the-thao__card img,
    .page-the-thao__promo-card img {
        height: auto !important; /* Allow images to scale */
    }

    /* Card Layouts */
    .page-the-thao__grid-layout,
    .page-the-thao__promo-grid,
    .page-the-thao__features-grid,
    .page-the-thao__guide-steps {
        grid-template-columns: 1fr; /* Single column layout */
        gap: 20px;
    }

    .page-the-thao__introduction-section,
    .page-the-thao__sports-types-section,
    .page-the-thao__betting-guide-section,
    .page-the-thao__promotions-section,
    .page-the-thao__why-choose-section,
    .page-the-thao__faq-section {
        padding: 40px 0;
    }

    .page-the-thao__card,
    .page-the-thao__promo-card,
    .page-the-thao__guide-item,
    .page-the-thao__feature-item,
    .page-the-thao__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-the-thao__card-title,
    .page-the-thao__guide-title,
    .page-the-thao__feature-title {
        font-size: 18px;
    }

    .page-the-thao__faq-question {
        font-size: 16px;
        padding: 15px;
    }

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

    .page-the-thao__step-number {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}