.page-the-thao {
    font-family: Arial, sans-serif;
    color: #FFF3E6; /* Text Main color */
    background-color: #0D0E12; /* Background color */
    line-height: 1.6;
}

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

.page-the-thao__hero-section {
    padding-top: 10px; /* Small top padding, assuming body handles header offset */
    padding-bottom: 60px;
    text-align: center;
    background-color: #0D0E12; /* Ensure consistent background */
}

.page-the-thao__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: 700;
    color: #FF8C1A; /* Main brand color */
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-the-thao__subtitle {
    font-size: 1.25rem;
    color: #FFF3E6;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-the-thao__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Ensure buttons wrap on smaller screens */
}

.page-the-thao__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    max-width: 100%; /* Ensure button max-width */
    box-sizing: border-box; /* Include padding/border in width */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    text-align: center;
}

.page-the-thao__btn--primary {
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button color */
    color: #FFF3E6; /* Text Main color */
    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: #17191F; /* Card BG color */
    color: #FF8C1A; /* Main brand color */
    border: 2px solid #A84F0C; /* Border color */
}

.page-the-thao__btn--secondary:hover {
    background: #FF8C1A; /* Main brand color */
    color: #FFF3E6; /* Text Main color */
    border-color: #FF8C1A;
    transform: translateY(-2px);
}

.page-the-thao__section {
    padding: 60px 0;
    background-color: #0D0E12; /* Consistent background */
}

.page-the-thao__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: #FF8C1A; /* Main brand color */
    text-align: center;
    margin-bottom: 40px;
}

.page-the-thao__text-block {
    font-size: 1.1rem;
    color: #FFF3E6;
    margin-bottom: 20px;
}

.page-the-thao__figure {
    margin: 40px auto;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
}

.page-the-thao__image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    margin: 0 auto; /* Center images */
}

.page-the-thao__figcaption {
    font-size: 0.95rem;
    color: #FFA53A; /* Accent color */
    margin-top: 15px;
    text-align: center;
}

/* Sport Grid Section */
.page-the-thao__sport-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-the-thao__sport-card {
    background-color: #17191F; /* Card BG color */
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-the-thao__sport-card .page-the-thao__image {
    margin-bottom: 20px;
    border-radius: 8px;
    width: 100%;
    height: auto;
}

.page-the-thao__card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #FF8C1A; /* Main brand color */
    margin-bottom: 15px;
}

.page-the-thao__card-text {
    font-size: 1rem;
    color: #FFF3E6;
    flex-grow: 1; /* Allow text to take available space */
}

/* Why Choose Section */
.page-the-thao__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.page-the-thao__benefit-card {
    background-color: #17191F; /* Card BG color */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* How To Bet Section */
.page-the-thao__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-the-thao__step-card {
    background-color: #17191F; /* Card BG color */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
    padding-top: 60px; /* Space for step number */
}

.page-the-thao__step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button color */
    color: #FFF3E6;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    border: 3px solid #0D0E12; /* Background color */
    box-shadow: 0 0 0 5px #A84F0C; /* Border color as glow */
}

.page-the-thao__step-card .page-the-thao__card-title {
    margin-top: 15px;
    margin-bottom: 10px;
}

.page-the-thao__step-card .page-the-thao__card-text a {
    color: #FFA53A; /* Accent color for links */
    text-decoration: underline;
}

.page-the-thao__step-card .page-the-thao__card-text a:hover {
    color: #FF8C1A; /* Main brand color on hover */
}

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

/* Betting Tips Section */
.page-the-thao__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-the-thao__list-item {
    background-color: #17191F; /* Card BG color */
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-the-thao__list-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #FF8C1A; /* Main brand color */
    margin-bottom: 10px;
}

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

.page-the-thao__faq-question {
    font-size: 1.3rem;
    font-weight: 600;
    color: #FF8C1A; /* Main brand color */
    background-color: #17191F; /* Card BG color */
    padding: 20px 25px;
    border-radius: 8px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-left: 5px solid #A84F0C; /* Border color */
}

.page-the-thao__faq-question:hover {
    background-color: #2a2d37;
}

.page-the-thao__faq-answer {
    font-size: 1.05rem;
    color: #FFF3E6;
    padding: 0 25px 20px 30px;
    margin-top: -10px;
    margin-bottom: 20px;
    background-color: #17191F; /* Card BG color */
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    border-left: 5px solid #A84F0C; /* Border color */
}

/* Final CTA Section */
.page-the-thao__container--center {
    text-align: center;
}

/* General Link Styling for content */
.page-the-thao a {
    color: #FFA53A; /* Accent color for general links */
    text-decoration: none;
}

.page-the-thao a:hover {
    color: #FF8C1A; /* Main brand color on hover */
    text-decoration: underline;
}

/* --- Responsive Styles --- */

/* Tablet: @media (max-width: 1024px) */
@media (max-width: 1024px) {
    .page-the-thao__container {
        padding: 0 25px;
    }

    .page-the-thao__main-title {
        font-size: clamp(2.5rem, 4.5vw, 3.2rem);
    }

    .page-the-thao__section-title {
        font-size: clamp(2rem, 3.8vw, 2.5rem);
    }

    .page-the-thao__sport-grid,
    .page-the-thao__benefits-grid,
    .page-the-thao__steps-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
}

/* Mobile: @media (max-width: 768px) */
@media (max-width: 768px) {
    .page-the-thao__container {
        padding: 0 15px !important; /* Smaller padding for mobile */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 1. Top section title + Dual CTAs */
    .page-the-thao__hero-section {
        padding-top: 10px !important; /* Small top padding, assuming body handles header offset */
        padding-bottom: 40px;
    }

    .page-the-thao__main-title {
        font-size: 2.2rem !important; /* Specific font size for mobile H1 */
        margin-bottom: 15px;
    }

    .page-the-thao__subtitle {
        font-size: 1rem !important;
        margin-bottom: 30px;
    }

    .page-the-thao__cta-buttons {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-the-thao__btn {
        width: 100% !important; /* Full width buttons */
        max-width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1rem !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* 2. Single-column long article container */
    .page-the-thao__section {
        padding: 40px 0 !important;
    }

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

    .page-the-thao__text-block {
        font-size: 1rem !important;
    }
    
    .page-the-thao__sport-grid,
    .page-the-thao__benefits-grid,
    .page-the-thao__steps-grid {
        grid-template-columns: 1fr !important; /* Single column layout */
        gap: 20px !important;
    }

    .page-the-thao__sport-card,
    .page-the-thao__benefit-card,
    .page-the-thao__step-card,
    .page-the-thao__list-item {
        padding: 20px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-the-thao__card-title {
        font-size: 1.3rem !important;
    }

    /* 3. General images and figures */
    .page-the-thao img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    
    .page-the-thao__figure {
        margin: 30px auto !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 4. Buttons and button containers (already covered in top section, but reinforce for general) */
    .page-the-thao__cta-bottom {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 5. Registration tutorial & FAQ (h3 paragraphs) */
    .page-the-thao__step-card {
        padding-top: 50px !important;
    }

    .page-the-thao__step-number {
        width: 45px !important;
        height: 45px !important;
        font-size: 1.6rem !important;
        top: -15px !important;
    }

    .page-the-thao__faq-question {
        font-size: 1.1rem !important;
        padding: 15px 20px !important;
        margin-bottom: 10px !important;
    }

    .page-the-thao__faq-answer {
        font-size: 0.95rem !important;
        padding: 0 20px 15px 25px !important;
        margin-top: -5px !important;
        margin-bottom: 15px !important;
    }

    .page-the-thao__final-cta .page-the-thao__btn {
        width: auto !important; /* Allow this button to size to content if not full-width design */
        max-width: 100% !important;
        margin: 0 auto !important; /* Center the button */
    }
}