.page-th-thao {
  --primary-color: #1A202C;
  --secondary-color: #FFD700;
  --text-light: #F0F0F0;
  --text-dark: #1A202C;
  --bg-dark: #1A202C;
  --bg-light: #FFFFFF;
  --accent-gold: #FFD700;
  --border-color: #333;
  font-family: 'Arial', sans-serif;
  color: var(--text-light);
  background-color: var(--bg-dark);
}

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

.page-th-thao h1, .page-th-thao h2, .page-th-thao h3 {
  color: var(--accent-gold);
  text-align: center;
  margin-bottom: 25px;
}

.page-th-thao h1 {
  font-size: 3.2em;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-th-thao h2 {
  font-size: 2.5em;
  font-weight: bold;
  padding-bottom: 15px;
  position: relative;
}

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

.page-th-thao h3 {
  font-size: 1.8em;
  color: var(--text-light);
}

.page-th-thao p {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 1em;
  color: var(--text-light);
  text-align: justify;
}

.page-th-thao a {
  color: var(--accent-gold);
  text-decoration: none;
}

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

.page-th-thao .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-th-thao .cta-button:hover {
  background: #FFC107; /* Slightly darker gold */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.page-th-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: linear-gradient(135deg, #1A202C 0%, #303B4F 100%); /* Dark gradient for depth */
  overflow: hidden;
}

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

.page-th-thao .hero-image {
  width: 100%;
  max-width: 1000px; /* Adjust max-width for visual balance */
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-th-thao .hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-th-thao .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 800px;
}

.page-th-thao .hero-content h1 {
  color: var(--text-light);
  margin-bottom: 20px;
}

.page-th-thao .hero-content p {
  color: var(--text-light);
  font-size: 1.3em;
  margin-bottom: 30px;
  text-align: center;
}

/* General Section Styling */
.page-th-thao section {
  padding: 60px 0;
  margin-bottom: 30px;
}

.page-th-thao .section-intro {
  background-color: #2A313C;
}

.page-th-thao .section-why-choose {
  background-color: var(--bg-dark);
}

.page-th-thao .section-sports-types {
  background-color: #2A313C;
}

.page-th-thao .section-live-betting {
  background-color: var(--bg-dark);
}

.page-th-thao .section-promotions {
  background-color: #2A313C;
}

.page-th-thao .section-security-support {
  background-color: var(--bg-dark);
}

.page-th-thao .section-get-started {
  background-color: #2A313C;
}

.page-th-thao .section-responsible-gambling {
  background-color: var(--bg-dark);
}

.page-th-thao .section-faq {
  background-color: #2A313C;
}

.page-th-thao .section-latest-news {
  background-color: var(--bg-dark);
}

/* Feature Grid */
.page-th-thao .feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-th-thao .feature-item {
  background-color: #2A313C;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-th-thao .feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-th-thao .feature-item h3 {
  color: var(--secondary-color);
  margin-top: 15px;
  margin-bottom: 15px;
  font-size: 1.5em;
}

.page-th-thao .feature-item p {
  color: var(--text-light);
  font-size: 1em;
  flex-grow: 1;
}

.page-th-thao .feature-image {
  width: 100%;
  max-width: 400px;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* Sport Category Grid */
.page-th-thao .sport-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-th-thao .sport-category-item {
  background-color: var(--bg-dark);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-th-thao .sport-category-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-th-thao .sport-category-item h3 {
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-size: 1.6em;
}

.page-th-thao .sport-category-item ul {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

.page-th-thao .sport-category-item ul li {
  color: var(--text-light);
  margin-bottom: 8px;
  font-size: 1em;
  line-height: 1.5;
  position: relative;
  padding-left: 20px;
}

.page-th-thao .sport-category-item ul li::before {
  content: '✓';
  color: var(--secondary-color);
  position: absolute;
  left: 0;
  top: 0;
}

.page-th-thao .category-image {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* Live Betting Section */
.page-th-thao .section-live-betting .live-betting-content {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-th-thao .live-betting-image {
  flex: 1;
  max-width: 50%;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  height: auto;
  object-fit: cover;
}

.page-th-thao .live-betting-text {
  flex: 1;
  max-width: 50%;
}

.page-th-thao .live-betting-text h3 {
  text-align: left;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-th-thao .live-betting-text p {
  text-align: left;
  margin-bottom: 15px;
}

.page-th-thao .live-betting-text .cta-button {
  margin-left: 0;
}

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

.page-th-thao .promo-item {
  background-color: var(--bg-dark);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.page-th-thao .promo-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-th-thao .promo-item h3 {
  color: var(--secondary-color);
  margin-top: 15px;
  margin-bottom: 10px;
  font-size: 1.4em;
}

.page-th-thao .promo-item p {
  color: var(--text-light);
  font-size: 0.95em;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-th-thao .promo-image {
  width: 100%;
  max-width: 300px;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}

.page-th-thao .promo-button {
  display: inline-block;
  padding: 10px 25px;
  background: var(--secondary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  margin-top: 15px;
}

.page-th-thao .promo-button:hover {
  background: #FFC107;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Security & Support Section */
.page-th-thao .security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-th-thao .security-item {
  background-color: #2A313C;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-th-thao .security-item h3 {
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-size: 1.5em;
}

/* Get Started Section */
.page-th-thao .step-by-step-guide {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-th-thao .step-item {
  background-color: var(--bg-dark);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-th-thao .step-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
}

.page-th-thao .step-number {
  width: 60px;
  height: 60px;
  background-color: var(--secondary-color);
  color: var(--text-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-th-thao .step-item h3 {
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-size: 1.4em;
}

.page-th-thao .step-item p {
  color: var(--text-light);
  font-size: 1em;
  flex-grow: 1;
}

.page-th-thao .step-button {
  display: inline-block;
  padding: 10px 20px;
  background: #3A4557; /* Darker background for secondary button */
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.95em;
  font-weight: bold;
  margin-top: 15px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-th-thao .step-button:hover {
  background: #4A5568;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Responsible Gambling Section */
.page-th-thao .section-responsible-gambling ul {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-th-thao .section-responsible-gambling ul li {
  background-color: #2A313C;
  padding: 15px 25px;
  margin-bottom: 15px;
  border-left: 5px solid var(--secondary-color);
  border-radius: 5px;
  color: var(--text-light);
  font-size: 1.1em;
  line-height: 1.6;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-th-thao .faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-th-thao .faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-th-thao .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-th-thao .faq-question:hover {
  background: #2A313C;
}

.page-th-thao .faq-question h3 {
  margin: 0;
  color: var(--text-light);
  font-size: 1.3em;
  text-align: left;
  flex-grow: 1;
}

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

.page-th-thao .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #2A313C;
  color: var(--text-light);
  border-radius: 0 0 8px 8px;
}

.page-th-thao .faq-answer p {
  padding-bottom: 15px;
  margin: 0;
  font-size: 1em;
  text-align: left;
}

.page-th-thao .faq-item.active .faq-answer {
  max-height: 500px; /* Enough height to contain content */
  padding: 15px 25px;
}

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

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

.page-th-thao .news-card {
  background-color: #2A313C;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-th-thao .news-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-th-thao .news-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-th-thao .news-card h3 {
  padding: 15px 20px 0;
  text-align: left;
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-th-thao .news-card .news-title-link {
  color: var(--secondary-color);
  text-decoration: none;
}

.page-th-thao .news-card .news-title-link:hover {
  text-decoration: underline;
}

.page-th-thao .news-card .news-excerpt {
  padding: 0 20px 15px;
  color: var(--text-light);
  font-size: 0.95em;
  flex-grow: 1;
  text-align: left;
}

.page-th-thao .news-card .read-more {
  display: block;
  padding: 10px 20px 15px;
  color: var(--accent-gold);
  font-weight: bold;
  text-align: right;
  transition: color 0.3s ease;
}

.page-th-thao .news-card .read-more:hover {
  color: #FFC107;
}

/* Footer Placeholder Styling (for contrast check) */
.page-th-thao .footer-placeholder {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 40px 20px;
  text-align: center;
  font-size: 0.9em;
  border-top: 1px solid var(--border-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-th-thao h1 {
    font-size: 2.8em;
  }
  .page-th-thao h2 {
    font-size: 2em;
  }
  .page-th-thao h3 {
    font-size: 1.6em;
  }
  .page-th-thao .hero-content p {
    font-size: 1.1em;
  }
  .page-th-thao .live-betting-content {
    flex-direction: column;
  }
  .page-th-thao .live-betting-image,
  .page-th-thao .live-betting-text {
    max-width: 100%;
  }
  .page-th-thao .live-betting-text h3,
  .page-th-thao .live-betting-text p {
    text-align: center;
  }
  .page-th-thao .live-betting-text .cta-button {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .page-th-thao .hero-section {
    padding: 60px 15px;
  }
  .page-th-thao h1 {
    font-size: 2.2em;
  }
  .page-th-thao h2 {
    font-size: 1.8em;
  }
  .page-th-thao h3 {
    font-size: 1.4em;
  }
  .page-th-thao p {
    font-size: 1em;
  }
  .page-th-thao .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-th-thao section {
    padding: 40px 0;
  }
  .page-th-thao .feature-item, .page-th-thao .sport-category-item, .page-th-thao .promo-item, .page-th-thao .security-item, .page-th-thao .step-item, .page-th-thao .news-card {
    padding: 20px;
  }
  .page-th-thao .faq-question {
    padding: 15px 20px;
  }
  .page-th-thao .faq-question h3 {
    font-size: 1.1em;
  }
  .page-th-thao .faq-answer {
    padding: 0 20px;
  }
  .page-th-thao .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
  .page-th-thao .faq-toggle {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .page-th-thao h1 {
    font-size: 1.8em;
  }
  .page-th-thao h2 {
    font-size: 1.6em;
  }
  .page-th-thao .hero-content p {
    font-size: 0.9em;
  }
  .page-th-thao .cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-th-thao .feature-image, .page-th-thao .category-image, .page-th-thao .promo-image, .page-th-thao .live-betting-image, .page-th-thao .news-image {
    height: 150px;
  }
  .page-th-thao .feature-item h3,
  .page-th-thao .sport-category-item h3,
  .page-th-thao .promo-item h3,
  .page-th-thao .security-item h3,
  .page-th-thao .step-item h3,
  .page-th-thao .news-card h3 {
    font-size: 1.2em;
  }
  .page-th-thao .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.8em;
  }
  .page-th-thao .faq-question h3 {
    font-size: 1em;
  }
  .page-th-thao .faq-toggle {
    font-size: 18px;
  }
}