.page-the-thao {
  --primary-color: #0A192F;
  --secondary-color: #FFD700;
  --accent-color: #DC143C;
  --text-light: #f0f0f0;
  --text-dark: #333333;
  --bg-light: #ffffff;
  --bg-dark: #0A192F;
  --border-color: #e0e0e0;
  font-family: 'Arial', sans-serif;
  color: var(--text-dark);
}

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

/* Hero Section */
.page-the-thao .hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a345e 100%);
  color: var(--text-light);
  padding: 80px 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-the-thao .hero-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-the-thao .hero-content {
  flex: 1;
  text-align: left;
}

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

.page-the-thao .hero-content p {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 30px;
}

.page-the-thao .hero-image {
  flex: 1;
  max-width: 50%;
}

.page-the-thao .hero-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  display: block;
}

.page-the-thao .cta-button {
  display: inline-block;
  padding: 15px 35px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-the-thao .cta-button:hover {
  background: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-the-thao section {
  padding: 60px 0;
  background-color: var(--bg-light);
}

.page-the-thao section:nth-of-type(even) {
  background-color: #f8f8f8;
}

.page-the-thao section h2 {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-the-thao section h2::after {
  content: '';
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
  border-radius: 2px;
}

.page-the-thao section h3 {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-the-thao section p {
  line-height: 1.7;
  margin-bottom: 15px;
  color: var(--text-dark);
}

/* Why Choose Section */
.page-the-thao .section-why-choose .feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-the-thao .section-why-choose .feature-item {
  background: var(--bg-light);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-the-thao .section-why-choose .feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-the-thao .section-why-choose .feature-item .feature-icon {
  width: 120px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao .section-why-choose .feature-item h3 {
  color: var(--primary-color);
  font-size: 1.4em;
}

/* Bet Types Section */
.page-the-thao .section-bet-types {
  background-color: #f8f8f8;
}

.page-the-thao .section-bet-types .bet-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-the-thao .section-bet-types .bet-type-item {
  background: var(--bg-light);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
}

.page-the-thao .section-bet-types .bet-type-item .bet-type-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-the-thao .section-bet-types .bet-type-item h3 {
  padding: 0 20px;
  font-size: 1.4em;
  color: var(--primary-color);
}

.page-the-thao .section-bet-types .bet-type-item p {
  padding: 0 20px 20px;
  font-size: 0.95em;
}

.page-the-thao .call-to-action-text {
  text-align: center;
  font-size: 1.1em;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
  color: var(--primary-color);
}

/* How To Section */
.page-the-thao .section-how-to .step-by-step {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-the-thao .section-how-to .step-item {
  background: var(--bg-light);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  position: relative;
  padding-top: 60px;
}

.page-the-thao .section-how-to .step-item .step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary-color);
  color: var(--primary-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  border: 4px solid var(--primary-color);
  box-shadow: 0 0 0 5px rgba(255, 215, 0, 0.5);
}

.page-the-thao .section-how-to .step-item h3 {
  font-size: 1.3em;
  margin-top: 15px;
  color: var(--primary-color);
}

.page-the-thao .small-cta-button {
  display: inline-block;
  padding: 10px 20px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9em;
  margin-top: 15px;
  transition: background-color 0.3s ease;
}

.page-the-thao .small-cta-button:hover {
  background: #1a345e;
}

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

.page-the-thao .section-live-betting .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
}

.page-the-thao .section-live-betting .live-betting-content {
  flex: 1;
  text-align: left;
}

.page-the-thao .section-live-betting .live-betting-content h2 {
  color: var(--secondary-color);
  text-align: left;
}

.page-the-thao .section-live-betting .live-betting-content h2::after {
  left: 0;
  transform: translateX(0);
}

.page-the-thao .section-live-betting .live-betting-content p {
  color: var(--text-light);
  margin-bottom: 20px;
}

.page-the-thao .section-live-betting .live-betting-image {
  flex: 1;
  max-width: 50%;
}

.page-the-thao .section-live-betting .live-betting-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Responsibility Section */
.page-the-thao .section-responsibility {
  text-align: center;
}

.page-the-thao .section-responsibility h2 {
  margin-bottom: 20px;
}

.page-the-thao .section-responsibility p {
  max-width: 800px;
  margin: 0 auto 30px auto;
  font-size: 1.1em;
}

/* App Download Section */
.page-the-thao .section-app-download {
  background-color: #f8f8f8;
}

.page-the-thao .section-app-download .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
}

.page-the-thao .section-app-download .app-content {
  flex: 1;
  text-align: left;
}

.page-the-thao .section-app-download .app-content h2 {
  text-align: left;
  color: var(--primary-color);
}

.page-the-thao .section-app-download .app-content h2::after {
  left: 0;
  transform: translateX(0);
}

.page-the-thao .section-app-download .app-content p {
  margin-bottom: 20px;
}

.page-the-thao .section-app-download .app-image {
  flex: 1;
  max-width: 40%;
}

.page-the-thao .section-app-download .app-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* News Blog Section */
.page-the-thao .section-news-blog {
  background-color: var(--bg-light);
}

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

.page-the-thao .section-news-blog .blog-post-card {
  background: var(--bg-light);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-the-thao .section-news-blog .blog-post-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-the-thao .section-news-blog .blog-post-card .post-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.page-the-thao .section-news-blog .blog-post-card .post-content {
  padding: 25px;
}

.page-the-thao .section-news-blog .blog-post-card h3 {
  font-size: 1.3em;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-the-thao .section-news-blog .blog-post-card h3 a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-the-thao .section-news-blog .blog-post-card h3 a:hover {
  text-decoration: underline;
  color: var(--secondary-color);
}

.page-the-thao .section-news-blog .blog-post-card p {
  font-size: 0.95em;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.page-the-thao .section-news-blog .blog-post-card .read-more {
  display: inline-block;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-the-thao .section-news-blog .blog-post-card .read-more:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* FAQ Section */
.page-the-thao .section-faq {
  background-color: #f8f8f8;
}

.page-the-thao .section-faq .faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-the-thao .faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.page-the-thao .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--bg-light);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-the-thao .faq-question:hover {
  background: #f0f0f0;
}

.page-the-thao .faq-question h3 {
  margin: 0;
  font-size: 1.15em;
  color: var(--primary-color);
}

.page-the-thao .faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

.page-the-thao .faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.page-the-thao .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  background: #fffbf0;
  padding: 0 25px;
}

.page-the-thao .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 20px 25px;
  border-top: 1px solid var(--border-color);
}

.page-the-thao .faq-item.active .faq-answer p {
  color: var(--text-dark);
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-the-thao .hero-container {
    flex-direction: column;
    text-align: center;
  }
  .page-the-thao .hero-content {
    text-align: center;
  }
  .page-the-thao .hero-image {
    max-width: 80%;
    margin-top: 30px;
  }
  .page-the-thao .section-live-betting .container,
  .page-the-thao .section-app-download .container {
    flex-direction: column;
  }
  .page-the-thao .section-live-betting .live-betting-content h2,
  .page-the-thao .section-app-download .app-content h2 {
    text-align: center;
  }
  .page-the-thao .section-live-betting .live-betting-content h2::after,
  .page-the-thao .section-app-download .app-content h2::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .page-the-thao .section-live-betting .live-betting-image,
  .page-the-thao .section-app-download .app-image {
    max-width: 70%;
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-the-thao .hero-content h1 {
    font-size: 2.5em;
  }
  .page-the-thao .hero-content p {
    font-size: 1em;
  }
  .page-the-thao section h2 {
    font-size: 2em;
  }
  .page-the-thao section h3 {
    font-size: 1.4em;
  }
  .page-the-thao .cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-the-thao .section-why-choose .feature-grid,
  .page-the-thao .section-bet-types .bet-type-grid,
  .page-the-thao .section-how-to .step-by-step,
  .page-the-thao .section-news-blog .blog-posts-grid {
    grid-template-columns: 1fr;
  }
  .page-the-thao .faq-question {
    padding: 15px 20px;
  }
  .page-the-thao .faq-question h3 {
    font-size: 1em;
  }
  .page-the-thao .faq-answer {
    padding: 0 20px;
  }
  .page-the-thao .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-the-thao .hero-content h1 {
    font-size: 2em;
  }
  .page-the-thao .hero-image {
    max-width: 100%;
  }
  .page-the-thao section h2 {
    font-size: 1.8em;
  }
  .page-the-thao .section-live-betting .live-betting-image,
  .page-the-thao .section-app-download .app-image {
    max-width: 100%;
  }
}