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

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

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

/* Hero Section */
.page-the-thao__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding as body handles header offset */
  margin-bottom: 40px;
  text-align: center;
  overflow: hidden;
}

.page-the-thao__hero-image {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  overflow: hidden;
  margin-bottom: 30px;
}

.page-the-thao__hero-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Default cover for desktop */
  display: block;
}

.page-the-thao__hero-content {
  padding: 0 20px 40px;
  max-width: 900px;
  margin: 0 auto;
}

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

.page-the-thao__description {
  font-size: 1.15rem;
  color: var(--text-main-color, #FFF6D6);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.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: 14px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-the-thao__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.6);
}

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

.page-the-thao__btn-secondary:hover {
  background: rgba(242, 193, 78, 0.1);
  transform: translateY(-3px);
}

.page-the-thao__btn-tertiary {
  background: var(--card-bg-color, #111111);
  color: var(--primary-color, #F2C14E);
  border: 1px solid var(--border-color, #3A2A12);
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 5px;
  margin-top: auto; /* Push button to bottom of card */
}

.page-the-thao__btn-tertiary:hover {
  background: var(--primary-color, #F2C14E);
  color: #111111;
  border-color: var(--primary-color, #F2C14E);
}

/* General Section Styles */
.page-the-thao__section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-the-thao__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--text-main-color, #FFF6D6);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  position: relative;
}

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

.page-the-thao__text-block {
  font-size: 1.05rem;
  color: var(--text-main-color, #FFF6D6);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 20px;
}

/* Features Section */
.page-the-thao__features-grid,
.page-the-thao__sports-grid,
.page-the-thao__promotions-grid,
.page-the-thao__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  box-sizing: border-box;
}

.page-the-thao__feature-card,
.page-the-thao__sport-card,
.page-the-thao__promotion-card,
.page-the-thao__step-card {
  background: var(--card-bg-color, #111111);
  border: 1px solid var(--border-color, #3A2A12);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: var(--text-main-color, #FFF6D6);
}

.page-the-thao__feature-card:hover,
.page-the-thao__sport-card:hover,
.page-the-thao__promotion-card:hover,
.page-the-thao__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px var(--glow-color, #FFD36B);
}

.page-the-thao__feature-card img,
.page-the-thao__sport-card img,
.page-the-thao__promotion-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary-color, #F2C14E);
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-the-thao__feature-card p,
.page-the-thao__sport-card p,
.page-the-thao__promotion-card p,
.page-the-thao__step-card p {
  font-size: 1rem;
  color: var(--text-main-color, #FFF6D6);
  margin-bottom: 20px;
}

/* Live Betting Section */
.page-the-thao__live-betting-section .page-the-thao__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-the-thao__live-betting-section .page-the-thao__text-content {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.page-the-thao__live-betting-section .page-the-thao__text-content .page-the-thao__text-block {
  text-align: left;
}

.page-the-thao__live-betting-section .page-the-thao__image-wrapper {
  flex: 1;
  min-width: 400px;
  text-align: center;
}

.page-the-thao__live-betting-section .page-the-thao__image-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-the-thao__list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
}

.page-the-thao__list li {
  font-size: 1.05rem;
  color: var(--text-main-color, #FFF6D6);
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-the-thao__list li::before {
  content: '✓';
  color: var(--primary-color, #F2C14E);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Get Started Section */
.page-the-thao__step-card {
  padding: 40px 30px;
}

.page-the-thao__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

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

details.page-the-thao__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color, #3A2A12);
  overflow: hidden;
  background: var(--card-bg-color, #111111);
  color: var(--text-main-color, #FFF6D6);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
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, #FFF6D6);
}
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: rgba(242, 193, 78, 0.05);
}
.page-the-thao__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main-color, #FFF6D6);
}
.page-the-thao__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color, #F2C14E);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-the-thao__faq-item .page-the-thao__faq-answer {
  padding: 0 25px 20px;
  background: rgba(17, 17, 17, 0.8);
  border-radius: 0 0 10px 10px;
  font-size: 1rem;
  color: var(--text-main-color, #FFF6D6);
}
.page-the-thao__faq-answer p {
  margin-top: 0;
  text-align: left;
}

/* Bottom CTA Section */
.page-the-thao__cta-bottom-section .page-the-thao__container {
  background: var(--card-bg-color, #111111);
  border-radius: 15px;
  padding: 50px;
  text-align: center;
  border: 1px solid var(--border-color, #3A2A12);
}
.page-the-thao__cta-bottom-section .page-the-thao__section-title {
  margin-bottom: 20px;
}
.page-the-thao__cta-bottom-section .page-the-thao__text-block {
  margin-bottom: 30px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-the-thao__container {
    padding: 0 15px;
  }
  .page-the-thao__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-the-thao__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-the-thao__description {
    font-size: 1.1rem;
  }
  .page-the-thao__section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  }
  .page-the-thao__features-grid,
  .page-the-thao__sports-grid,
  .page-the-thao__promotions-grid,
  .page-the-thao__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }
  .page-the-thao__live-betting-section .page-the-thao__content-wrapper {
    flex-direction: column;
    text-align: center;
  }
}