.page-the-thao {
    font-family: 'Arial', sans-serif;
    color: var(--text-main-color, #FFF5E1);
    background: var(--background-color-page, #B71C1C);
}

.page-the-thao__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-the-thao__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 10px;
    background: var(--background-color-page);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-the-thao__hero-image {
    width: 100%;
    max-height: 600px;
    overflow: hidden;
}

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

.page-the-thao__hero-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    z-index: 1;
    color: var(--text-main-color);
}

.page-the-thao__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-main-color);
    letter-spacing: 0.05em;
}

.page-the-thao__description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--text-main-color);
}

.page-the-thao__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary,
.page-the-thao__btn-tertiary {
    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;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    text-align: center;
    flex-grow: 1;
    max-width: 300px;
}

.page-the-thao__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
    color: #333333;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 216, 106, 0.4);
}

.page-the-thao__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 216, 106, 0.6);
}

.page-the-thao__btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-main-color);
    border: 2px solid #F4D34D;
}

.page-the-thao__btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: #FFCC66;
}

.page-the-thao__btn-tertiary {
    background: #7A0E0E;
    color: #FFF5E1;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    max-width: 180px;
}

.page-the-thao__btn-tertiary:hover {
    background: #9A1A1A;
}

.page-the-thao__section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--text-main-color);
    text-align: center;
    margin-bottom: 30px;
    padding-top: 40px;
    position: relative;
    letter-spacing: 0.03em;
}

.page-the-thao__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #FFD86A, #E6B800);
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-the-thao__section-description {
    font-size: 1.1rem;
    color: var(--text-main-color);
    text-align: center;
    max-width: 800px;
    margin: -10px auto 40px;
    line-height: 1.6;
}

.page-the-thao__content-area {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-main-color);
    padding: 20px 0;
    max-width: 900px;
    margin: 0 auto;
}

.page-the-thao__content-area p {
    margin-bottom: 15px;
    color: var(--text-main-color);
}

.page-the-thao__sub-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 600;
    color: #FFD86A;
    margin-top: 30px;
    margin-bottom: 15px;
    text-align: left;
}

.page-the-thao__intro-section {
    background: var(--background-color-page);
    padding-bottom: 60px;
}

.page-the-thao__sports-categories {
    background: var(--background-color-page);
    padding-bottom: 60px;
}

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

.page-the-thao__category-card {
    background: var(--card-bg-color, #D32F2F);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    color: var(--text-main-color);
    border: 1px solid var(--border-color, #F2B544);
}

.page-the-thao__category-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--border-color);
}

.page-the-thao__card-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 20px 15px 10px;
    color: #FFD86A;
}

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

.page-the-thao__category-card .page-the-thao__btn-tertiary {
    margin: 0 auto 20px;
    max-width: calc(100% - 30px);
}

.page-the-thao__why-choose-us {
    background: var(--background-color-page);
    padding-bottom: 60px;
}

.page-the-thao__feature-item {
    background: #7A0E0E;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.page-the-thao__feature-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #FFCC66;
    margin-bottom: 15px;
    text-align: center;
}

.page-the-thao__tournaments-section {
    background: var(--background-color-page);
    padding-bottom: 60px;
}

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

.page-the-thao__tournament-card {
    background: var(--card-bg-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    color: var(--text-main-color);
    border: 1px solid var(--border-color);
}

.page-the-thao__tournament-card img {
    width: 100%;
    
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--border-color);
}

.page-the-thao__guide-section {
    background: var(--background-color-page);
    padding-bottom: 60px;
}

.page-the-thao__promotions-section {
    background: var(--background-color-page);
    padding-bottom: 60px;
}

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

.page-the-thao__promo-card {
    background: var(--card-bg-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    color: var(--text-main-color);
    border: 1px solid var(--border-color);
}

.page-the-thao__promo-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--border-color);
}

.page-the-thao__all-promos-cta {
    text-align: center;
    margin-top: 40px;
}

.page-the-thao__faq-section {
    background: var(--background-color-page);
    padding-bottom: 60px;
}

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

details.page-the-thao__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: #7A0E0E;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
details.page-the-thao__faq-item summary.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--text-main-color);
}
details.page-the-thao__faq-item summary.page-the-thao__faq-question::-webkit-details-marker {
  display: none;
}
details.page-the-thao__faq-item summary.page-the-thao__faq-question:hover {
  background: #9A1A1A;
}
.page-the-thao__faq-qtext {
  flex: 1;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFD86A;
}
.page-the-thao__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFCC66;
  flex-shrink: 0;
  margin-left: 20px;
  width: 32px;
  text-align: center;
}
details.page-the-thao__faq-item .page-the-thao__faq-answer {
  padding: 0 25px 25px;
  background: #B71C1C;
  border-radius: 0 0 8px 8px;
  color: var(--text-main-color);
}
.page-the-thao__faq-answer p {
    color: var(--text-main-color);
    margin-bottom: 0;
}

.page-the-thao__final-cta {
    background: var(--background-color-page);
    padding: 60px 20px;
    text-align: center;
}
.page-the-thao__final-cta .page-the-thao__description {
    max-width: 700px;
    margin: 0 auto 30px;
}
.page-the-thao__final-cta .page-the-thao__cta-buttons {
    max-width: 700px;
}

.page-the-thao__dark-section {
    background: var(--deep-red-color, #7A0E0E);
    color: var(--text-main-color, #FFF5E1);
}
.page-the-thao__dark-section .page-the-thao__section-title,
.page-the-thao__dark-section .page-the-thao__section-description,
.page-the-thao__dark-section .page-the-thao__content-area p {
    color: var(--text-main-color);
}

.page-the-thao__light-bg {
    background: #D32F2F;
    color: var(--text-main-color);
}
.page-the-thao__light-bg .page-the-thao__card-title {
    color: #FFD86A;
}

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

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

    .page-the-thao__main-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .page-the-thao__description {
        font-size: 1rem;
    }

    .page-the-thao__section-title {
        font-size: clamp(1.6rem, 5vw, 2.4rem);
    }

    .page-the-thao__btn-primary,
    .page-the-thao__btn-secondary {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .page-the-thao__category-grid,
    .page-the-thao__tournament-grid,
    .page-the-thao__promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .page-the-thao__category-card img,
    .page-the-thao__tournament-card img,
    .page-the-thao__promo-card img {
        
    }
}

@media (max-width: 768px) {
    .page-the-thao__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .page-the-thao__hero-section {
        padding-top: 10px;
    }
    .page-the-thao__hero-image img {
        object-fit: contain !important;
        aspect-ratio: unset !important;
        height: auto !important;
    }
    .page-the-thao__hero-content {
        padding: 30px 15px;
    }
    .page-the-thao__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        letter-spacing: normal;
    }
    .page-the-thao__description {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .page-the-thao__cta-buttons {
        flex-direction: column !important;
        gap: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-the-thao__btn-primary,
    .page-the-thao__btn-secondary,
    .page-the-thao__btn-tertiary,
    .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 15px !important;
        font-size: 1rem !important;
    }
    .page-the-thao__category-card .page-the-thao__btn-tertiary {
        max-width: 100% !important;
    }

    .page-the-thao img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-the-thao__category-card img,
    .page-the-thao__tournament-card img,
    .page-the-thao__promo-card img {
        
        object-fit: cover !important;
    }

    .page-the-thao__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        padding-top: 30px;
        margin-bottom: 20px;
    }
    .page-the-thao__section-title::after {
        margin-top: 10px;
    }
    .page-the-thao__section-description {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }
    .page-the-thao__content-area {
        padding: 15px;
        font-size: 0.95rem;
    }
    .page-the-thao__sub-title {
        font-size: clamp(1.2rem, 5vw, 1.6rem);
        text-align: center;
    }
    .page-the-thao__feature-item {
        padding: 20px;
    }
    .page-the-thao__feature-title {
        font-size: 1.3rem;
    }

    .page-the-thao__category-grid,
    .page-the-thao__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        overflow-x: hidden !important;
        padding: 0 15px;
    }
    .page-the-thao__tournament-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        overflow-x: hidden !important;
        padding: 0 15px;
    }
    .page-the-thao__tournament-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    details.page-the-thao__faq-item summary.page-the-thao__faq-question {
        padding: 15px 20px;
    }
    .page-the-thao__faq-qtext {
        font-size: 1rem;
    }
    .page-the-thao__faq-toggle {
        font-size: 24px;
        margin-left: 15px;
    }
    details.page-the-thao__faq-item .page-the-thao__faq-answer {
        padding: 0 20px 20px;
    }
}