.page-the-thao {
  --primary-color: #1A202C;
  --secondary-color: #FFD700;
  --text-dark: #1A202C;
  --text-light: #FFFFFF;
  --bg-light: #F8F8F8;
  --bg-dark: #2D3748;
  --border-color: #E2E8F0;
  font-family: 'Arial', sans-serif;
  color: var(--text-dark);
}

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

.page-the-thao section {
  padding: 60px 0;
  text-align: center;
}

.page-the-thao section:nth-of-type(even) {
  background-color: var(--bg-light);
}

.page-the-thao .section-title {
  font-size: 38px;
  color: var(--primary-color);
  margin-bottom: 30px;
  font-weight: bold;
}

.page-the-thao .text-content {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.page-the-thao .text-content a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-the-thao .text-content a:hover {
  text-decoration: underline;
}

.page-the-thao .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin: 10px;
  transition: all 0.3s ease;
  border: 2px solid var(--secondary-color);
}

.page-the-thao .cta-button:hover {
  background: #E6C200; /* Slightly darker gold */
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-the-thao .cta-button.secondary {
  background: var(--primary-color);
  color: var(--text-light);
  border-color: var(--primary-color);
}

.page-the-thao .cta-button.secondary:hover {
  background: #3F4B5E; /* Slightly lighter dark */
  border-color: #3F4B5E;
}

/* Hero Section */
.page-the-thao .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background-color: var(--bg-dark); /* Fallback for image load */
}

.page-the-thao .hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-the-thao .hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-the-thao .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-the-thao .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  color: var(--text-light);
}

.page-the-thao .hero-title {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--secondary-color);
  line-height: 1.2;
}

.page-the-thao .hero-description {
  font-size: 22px;
  margin-bottom: 40px;
  color: var(--text-light);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Sports Overview Section */
.page-the-thao .grid-3-cols, .page-the-thao .grid-2-cols {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

.page-the-thao .grid-3-cols {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-the-thao .grid-2-cols {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.page-the-thao .sport-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-the-thao .sport-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-the-thao .card-image {
  width: 100%;
  max-width: 400px; /* Ensure images are not too small */
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-the-thao .card-title {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-the-thao .card-description {
  font-size: 16px;
  line-height: 1.6;
  color: #4A5568;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-the-thao .card-button {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-the-thao .card-button:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* How to Start Section */
.page-the-thao .step-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-the-thao .step-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: left;
  position: relative;
  padding-top: 70px; /* Space for step number */
}

.page-the-thao .step-number {
  position: absolute;
  top: 20px;
  left: 30px;
  width: 40px;
  height: 40px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-the-thao .step-title {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-the-thao .step-description {
  font-size: 16px;
  line-height: 1.6;
  color: #4A5568;
}

.page-the-thao .cta-group {
  margin-top: 40px;
}

/* Live Betting Section */
.page-the-thao .live-betting-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-the-thao .live-betting-section .section-title {
  color: var(--secondary-color);
}

.page-the-thao .live-betting-section .text-content {
  color: var(--text-light);
}

.page-the-thao .feature-list {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  max-width: 800px;
  text-align: left;
}

.page-the-thao .feature-list li {
  background-color: #3F4B5E;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  font-size: 18px;
  color: var(--text-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-the-thao .feature-list li strong {
  color: var(--secondary-color);
}

/* Promotions Section */
.page-the-thao .promo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-the-thao .promo-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-the-thao .promo-card .card-title {
  font-size: 24px;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-the-thao .promo-card .card-description {
  font-size: 16px;
  line-height: 1.6;
  color: #4A5568;
  margin-bottom: 20px;
}

/* FAQ Section */
.page-the-thao .faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.faq-item {
  margin-bottom: 15px;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--primary-color);
  color: var(--text-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-question:hover {
  background: #2D3748;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.faq-question h3 {
  margin: 0;
  font-size: 18px;
  color: var(--text-light);
  font-weight: bold;
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--secondary-color);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: var(--bg-light);
  border-radius: 0 0 8px 8px;
  border: 1px solid var(--border-color);
  border-top: none;
  color: var(--text-dark);
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding: 20px 25px;
  border-top: 1px solid var(--border-color);
}

.faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #4A5568;
}

.faq-answer a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.faq-answer a:hover {
  text-decoration: underline;
}

/* Latest News Section */
.page-the-thao .news-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-the-thao .news-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: left;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.page-the-thao .news-card .card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}

.page-the-thao .news-card .card-title {
  font-size: 22px;
  color: var(--primary-color);
  margin: 20px 20px 10px 20px;
  font-weight: bold;
  line-height: 1.4;
}

.page-the-thao .news-card .card-link {
  color: var(--primary-color);
  text-decoration: none;
}

.page-the-thao .news-card .card-link:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-the-thao .news-card .card-description {
  font-size: 16px;
  line-height: 1.6;
  color: #4A5568;
  padding: 0 20px 15px 20px;
  flex-grow: 1;
}

.page-the-thao .news-date {
  font-size: 14px;
  color: #718096;
  padding: 0 20px 20px 20px;
  display: block;
  margin-top: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-the-thao .hero-title {
    font-size: 42px;
  }
  .page-the-thao .hero-description {
    font-size: 20px;
  }
  .page-the-thao .section-title {
    font-size: 32px;
  }
  .page-the-thao .text-content {
    font-size: 17px;
  }
  .page-the-thao .card-title {
    font-size: 22px;
  }
  .page-the-thao .step-title {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .page-the-thao .hero-section {
    padding: 60px 15px;
  }
  .page-the-thao .hero-title {
    font-size: 36px;
  }
  .page-the-thao .hero-description {
    font-size: 18px;
  }
  .page-the-thao .cta-button {
    padding: 12px 30px;
    font-size: 16px;
    margin: 8px;
  }
  .page-the-thao .section-title {
    font-size: 28px;
  }
  .page-the-thao .text-content {
    font-size: 16px;
  }
  .page-the-thao .grid-3-cols, .page-the-thao .grid-2-cols {
    grid-template-columns: 1fr;
  }
  .page-the-thao .sport-card, .page-the-thao .step-item, .page-the-thao .promo-card, .page-the-thao .news-card {
    padding: 20px;
  }
  .page-the-thao .card-image {
    height: 200px;
  }
  .page-the-thao .step-number {
    top: 15px;
    left: 20px;
  }
  .page-the-thao .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 16px;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-the-thao .hero-title {
    font-size: 30px;
  }
  .page-the-thao .hero-description {
    font-size: 16px;
  }
  .page-the-thao .cta-button {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    display: block;
  }
  .page-the-thao .section-title {
    font-size: 24px;
  }
  .page-the-thao .card-title {
    font-size: 20px;
  }
  .page-the-thao .step-title {
    font-size: 18px;
  }
  .page-the-thao .news-card .card-title {
    font-size: 18px;
  }
  .page-the-thao .news-card .card-description {
    font-size: 15px;
  }
}