:root {
    --color-primary: #C91F17;
    --color-secondary: #E53935;
    --color-button-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
    --color-card-bg: #D32F2F;
    --color-background: #B71C1C;
    --color-text-main: #FFF5E1;
    --color-border: #F2B544;
    --color-glow: #FFCC66;
    --color-gold: #F4D34D;
    --color-deep-red: #7A0E0E;
    --color-white: #ffffff;
    --color-black: #000000;
    --color-light-grey: #f5f5f5;
    --color-dark-grey: #333333;
}

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

.page-the-thao__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
    padding-bottom: 40px;
    padding-top: 10px;
}

.page-the-thao__hero-image-wrapper {
    width: 100%;
    max-height: 600px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-the-thao__hero-content-wrapper {
    position: relative;
    z-index: 1;
    padding: 20px 20px;
    max-width: 900px;
    margin-top: 20px;
}

.page-the-thao__main-title {
    font-size: clamp(2.2em, 4vw, 3.2em);
    color: var(--color-gold);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-the-thao__intro-text {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: var(--color-text-main);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-the-thao__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary,
.page-the-thao__btn-tertiary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    text-align: center;
    cursor: pointer;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-the-thao__btn-primary {
    background: var(--color-button-gradient);
    color: var(--color-deep-red);
    border: 2px solid var(--color-border);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-the-thao__btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-the-thao__btn-secondary {
    background-color: transparent;
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-the-thao__btn-secondary:hover {
    background-color: var(--color-gold);
    color: var(--color-deep-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-the-thao__btn-tertiary {
    background-color: var(--color-deep-red);
    color: var(--color-text-main);
    border: 1px solid var(--color-primary);
    padding: 8px 15px;
    font-size: 0.95em;
    border-radius: 5px;
}

.page-the-thao__btn-tertiary:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.page-the-thao__section {
    padding: 60px 20px;
    text-align: center;
    max-width: 1150px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-the-thao__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.8em);
    color: var(--color-gold);
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-the-thao__section-description {
    font-size: 1.05em;
    color: var(--color-text-main);
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.7;
}

.page-the-thao__sport-categories {
    background-color: var(--color-deep-red);
    padding-top: 40px;
    padding-bottom: 40px;
}

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

.page-the-thao__sport-card {
    background-color: var(--color-card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--color-border);
    color: var(--color-text-main);
}

.page-the-thao__sport-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

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

.page-the-thao__card-content {
    padding: 25px;
    text-align: left;
}

.page-the-thao__card-title {
    font-size: 1.5em;
    color: var(--color-gold);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-the-thao__card-description {
    font-size: 0.95em;
    color: var(--color-text-main);
    margin-bottom: 20px;
    line-height: 1.6;
}

.page-the-thao__why-choose {
    background-color: var(--color-light-grey);
    color: var(--color-dark-grey);
}

.page-the-thao__why-choose .page-the-thao__section-title {
    color: var(--color-primary);
}

.page-the-thao__why-choose .page-the-thao__section-description {
    color: var(--color-dark-grey);
}

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

.page-the-thao__feature-item.page-the-thao__card {
    background-color: var(--color-white);
    padding: 25px;
    text-align: left;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

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

.page-the-thao__feature-text {
    font-size: 0.95em;
    color: var(--color-dark-grey);
    line-height: 1.6;
}

.page-the-thao__how-to-play {
    background-color: var(--color-deep-red);
    color: var(--color-text-main);
}

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

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

.page-the-thao__step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-button-gradient);
    color: var(--color-deep-red);
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 20px;
    border: 2px solid var(--color-border);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.page-the-thao__step-title {
    font-size: 1.4em;
    color: var(--color-gold);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-the-thao__step-text {
    font-size: 0.95em;
    color: var(--color-text-main);
    line-height: 1.6;
}

.page-the-thao__bottom-cta {
    margin-top: 50px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-the-thao__promotions {
    background-color: var(--color-light-grey);
    color: var(--color-dark-grey);
}

.page-the-thao__promotions .page-the-thao__section-title {
    color: var(--color-primary);
}

.page-the-thao__promotions .page-the-thao__section-description {
    color: var(--color-dark-grey);
}

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

.page-the-thao__promo-card.page-the-thao__card {
    background-color: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    text-align: left;
}

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

.page-the-thao__promo-content {
    padding: 25px;
}

.page-the-thao__promo-title {
    font-size: 1.4em;
    color: var(--color-primary);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-the-thao__promo-text {
    font-size: 0.95em;
    color: var(--color-dark-grey);
    margin-bottom: 15px;
    line-height: 1.6;
}

.page-the-thao__promo-date {
    display: block;
    font-size: 0.85em;
    color: #666;
    margin-bottom: 20px;
}

.page-the-thao__faq-section {
    background-color: var(--color-deep-red);
    color: var(--color-text-main);
}

.page-the-thao__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

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

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

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

.page-the-thao__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.page-the-thao__faq-qtext {
    flex-grow: 1;
    color: var(--color-gold);
}

.page-the-thao__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--color-gold);
    margin-left: 15px;
    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 25px;
    font-size: 1em;
    color: var(--color-text-main);
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding-top 0.3s ease-out;
}

.page-the-thao__faq-item[open] .page-the-thao__faq-answer {
    max-height: 500px;
    padding-top: 10px;
    transition: max-height 0.5s ease-in, padding-top 0.3s ease-in;
}

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

.page-the-thao__final-cta {
    background-color: var(--color-light-grey);
    color: var(--color-dark-grey);
    padding-bottom: 80px;
}

.page-the-thao__final-cta .page-the-thao__section-title {
    color: var(--color-primary);
}

.page-the-thao__final-cta .page-the-thao__section-description {
    color: var(--color-dark-grey);
}

.page-the-thao img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .page-the-thao__hero-content-wrapper {
        max-width: 800px;
    }
    .page-the-thao__section {
        padding: 50px 20px;
    }
    .page-the-thao__main-title {
        font-size: clamp(2em, 4.5vw, 3em);
    }
    .page-the-thao__section-title {
        font-size: clamp(1.6em, 3.8vw, 2.5em);
    }
}

@media (max-width: 768px) {
    .page-the-thao__hero-section {
        padding-top: 10px !important;
        padding-bottom: 30px;
    }
    .page-the-thao__hero-image-wrapper {
        max-height: 300px;
    }
    .page-the-thao__hero-content-wrapper {
        padding: 15px;
        margin-top: 15px;
    }
    .page-the-thao__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em) !important;
        margin-bottom: 10px;
    }
    .page-the-thao__intro-text {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-the-thao__cta-buttons {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
    }
    .page-the-thao__btn-primary,
    .page-the-thao__btn-secondary,
    .page-the-thao__btn-tertiary {
        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__section {
        padding: 30px 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-the-thao__section-title {
        font-size: clamp(1.5em, 6vw, 2em) !important;
        margin-bottom: 15px;
    }
    .page-the-thao__section-description {
        font-size: 0.95em;
        margin-bottom: 25px;
    }
    .page-the-thao__sport-card,
    .page-the-thao__feature-item.page-the-thao__card,
    .page-the-thao__step,
    .page-the-thao__promo-card.page-the-thao__card {
        padding: 20px;
    }
    .page-the-thao__card-title,
    .page-the-thao__feature-title,
    .page-the-thao__step-title,
    .page-the-thao__promo-title {
        font-size: 1.3em;
    }
    .page-the-thao__card-description,
    .page-the-thao__feature-text,
    .page-the-thao__step-text,
    .page-the-thao__promo-text {
        font-size: 0.9em;
    }
    .page-the-thao__card-image,
    .page-the-thao__promo-image {
        height: 180px;
    }

    .page-the-thao img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    .page-the-thao__sport-card,
    .page-the-thao__promo-card,
    .page-the-thao__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin-left: auto;
        margin-right: auto;
    }

    .page-the-thao__bottom-cta {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-the-thao__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-the-thao__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-the-thao__faq-list {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-the-thao__faq-item summary {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-the-thao__faq-answer {
        padding: 0 20px 15px 20px;
        font-size: 0.95em;
    }
}