/* style/the-thao.css */
.page-the-thao {
    font-family: Arial, sans-serif;
    color: #1F2D3D; /* Text Main */
    background-color: #F4F7FB; /* Background */
}

.page-the-thao__hero-section {
    padding-top: 10px; /* Small top padding */
    padding-bottom: 60px;
    background: linear-gradient(180deg, #6FA3FF 0%, #2F6BFF 100%);
    color: #ffffff;
}

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

.page-the-thao__hero-content {
    flex: 1 1 50%;
    min-width: 300px;
}

.page-the-thao__hero-title {
    font-size: 3.2em;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff;
}

.page-the-thao__hero-description {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 600px;
}

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

.page-the-thao__hero-side-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: block;
}

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

.page-the-thao__cta-buttons--center {
    justify-content: center;
    margin-top: 30px;
}

.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-weight: bold;
    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, #4A8BFF 0%, #2F6BFF 100%);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-the-thao__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-the-thao__btn-secondary {
    background: #ffffff;
    color: #2F6BFF;
    border: 2px solid #2F6BFF;
}

.page-the-thao__btn-secondary:hover {
    background: #e0e7ff;
    transform: translateY(-2px);
}

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

.page-the-thao__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    color: #1F2D3D; /* Text Main */
    font-weight: bold;
}

.page-the-thao__section-description {
    font-size: 1.1em;
    line-height: 1.7;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: #1F2D3D; /* Text Main */
}

.page-the-thao__intro-section {
    background-color: #F4F7FB; /* Background */
    padding: 60px 0;
}

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

.page-the-thao__icon-box {
    background-color: #FFFFFF; /* Card BG */
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.page-the-thao__icon-box:hover {
    transform: translateY(-5px);
}

.page-the-thao__icon-box-media {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #D6E2FF; /* Border */
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-the-thao__icon-box-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%; /* Ensure image is also circular */
    display: block;
}

.page-the-thao__icon-box-title {
    font-size: 1.5em;
    color: #2F6BFF;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-the-thao__icon-box-text {
    font-size: 1em;
    line-height: 1.6;
    color: #1F2D3D;
}

.page-the-thao__sports-options-section {
    padding: 60px 0;
    background-color: #FFFFFF;
}

.page-the-thao__content-block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.page-the-thao__content-block:last-child {
    margin-bottom: 0;
}

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

.page-the-thao__content-text {
    flex: 1 1 55%;
    min-width: 300px;
}

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

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

.page-the-thao__sub-title {
    font-size: 2em;
    color: #2F6BFF;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-the-thao__content-text p {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #1F2D3D;
}

.page-the-thao__live-betting-section {
    padding: 80px 0;
    background-color: #2F6BFF;
    color: #ffffff;
}

.page-the-thao__dark-bg .page-the-thao__section-title,
.page-the-thao__dark-bg .page-the-thao__section-description {
    color: #ffffff;
}

.page-the-thao__list {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    max-width: 800px;
    font-size: 1.1em;
    line-height: 1.8;
}

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

.page-the-thao__list-item::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #A5C4FF; /* Glow */
}

.page-the-thao__list--promo .page-the-thao__list-item::before {
    content: '🎁';
}

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

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

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

.page-the-thao__guide-list {
    list-style: none;
    padding: 0;
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-the-thao__guide-item {
    background-color: #F4F7FB;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    border-left: 5px solid #2F6BFF;
}

.page-the-thao__guide-title {
    font-size: 1.4em;
    color: #2F6BFF;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-the-thao__guide-item p {
    font-size: 1em;
    line-height: 1.6;
    color: #1F2D3D;
}

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

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

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

.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: #1F2D3D; /* Text Main */
    cursor: pointer;
    background-color: #ffffff;
    position: relative;
    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.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #2F6BFF;
}

.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.6;
    color: #1F2D3D;
}

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

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .page-the-thao__hero-title {
        font-size: 2.8em;
    }
    .page-the-thao__section-title {
        font-size: 2em;
    }
    .page-the-thao__sub-title {
        font-size: 1.8em;
    }
    .page-the-thao__hero-container,
    .page-the-thao__container {
        padding-left: 25px;
        padding-right: 25px;
    }
    .page-the-thao__icon-box-media {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 768px) {
    /* HERO Section */
    .page-the-thao__hero-section {
        padding-top: 10px !important; /* Small top padding */
        padding-bottom: 40px;
    }
    .page-the-thao__hero-container {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
        gap: 20px;
    }
    .page-the-thao__hero-content {
        flex: none;
        width: 100%;
    }
    .page-the-thao__hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-the-thao__hero-description {
        font-size: 1em;
        margin-bottom: 25px;
    }
    .page-the-thao__cta-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    .page-the-thao__btn-primary,
    .page-the-thao__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-the-thao__hero-image {
        flex: none;
        width: 100%;
    }
    .page-the-thao__hero-side-image {
        border-radius: 8px;
    }

    /* General Container & Sections */
    .page-the-thao__container {
        padding: 30px 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-the-thao__section-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }
    .page-the-thao__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    /* Module 1 - Icon Boxes */
    .page-the-thao__intro-section {
        padding: 40px 0;
    }
    .page-the-thao__icon-box-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-the-thao__icon-box-media {
        width: 150px;
        height: 150px;
        border-width: 3px;
    }
    .page-the-thao__icon-box-title {
        font-size: 1.3em;
    }

    /* Sports Options Section (Content Blocks) */
    .page-the-thao__sports-options-section {
        padding: 40px 0;
    }
    .page-the-thao__content-block,
    .page-the-thao__content-block--reverse {
        flex-direction: column;
        gap: 25px;
        margin-bottom: 40px;
    }
    .page-the-thao__content-text,
    .page-the-thao__content-image {
        flex: none;
        width: 100%;
    }
    .page-the-thao__content-image img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        border-radius: 8px;
    }
    .page-the-thao__sub-title {
        font-size: 1.6em;
        text-align: center;
    }
    .page-the-thao__content-text p {
        font-size: 0.95em;
        text-align: left;
    }

    /* Live Betting Section */
    .page-the-thao__live-betting-section {
        padding: 50px 0;
    }
    .page-the-thao__list {
        margin: 30px auto;
        font-size: 0.95em;
    }
    .page-the-thao__list-item {
        padding-left: 25px;
    }
    .page-the-thao__content-image--center img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Promo Section */
    .page-the-thao__promo-section {
        padding: 40px 0;
    }

    /* Guide Section */
    .page-the-thao__guide-section {
        padding: 40px 0;
    }
    .page-the-thao__guide-list {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    .page-the-thao__guide-title {
        font-size: 1.2em;
    }
    .page-the-thao__guide-item p {
        font-size: 0.95em;
    }

    /* FAQ Section */
    .page-the-thao__faq-section {
        padding: 40px 0;
    }
    .page-the-thao__faq-list {
        margin: 30px auto 20px;
    }
    .page-the-thao__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-the-thao__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.95em;
    }

    /* General Image Responsiveness */
    .page-the-thao img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    .page-the-thao__section,
    .page-the-thao__card,
    .page-the-thao__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }
    /* Specific fix for circular images to maintain aspect ratio */
    .page-the-thao__icon-box-media {
        width: 150px;
        height: 150px;
    }
}