/* style/the-thao.css */
:root {
  --primary-color: #0A2463;
  --secondary-color: #E0B14A;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f4f7f6;
  --bg-dark: #0A2463;
  --border-color: #e0e0e0;
}

.page-the-thao {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
}

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

.page-the-thao section {
  padding: 60px 0;
  margin-bottom: 20px;
}

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

.page-the-thao h1, .page-the-thao h2, .page-the-thao h3 {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 30px;
}

.page-the-thao h1 {
  font-size: 3.2em;
  color: var(--text-light);
}

.page-the-thao h2 {
  font-size: 2.5em;
  margin-top: 40px;
}

.page-the-thao h3 {
  font-size: 1.8em;
  color: var(--primary-color);
}

.page-the-thao p {
  text-align: justify;
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-the-thao .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
}

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

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

.page-the-thao .hero-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-the-thao .hero-content {
  flex: 1;
  min-width: 300px;
  padding: 20px;
  text-align: left;
}

.page-the-thao .hero-content h1 {
  text-align: left;
  font-size: 3.5em;
  line-height: 1.2;
  margin-bottom: 20px;
}

.page-the-thao .hero-content p {
  text-align: left;
  font-size: 1.2em;
  opacity: 0.9;
}

.page-the-thao .hero-image {
  flex: 1;
  min-width: 300px;
  padding: 20px;
}

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

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

.page-the-thao .introduction-section .feature-item {
  background-color: var(--text-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-the-thao .introduction-section .feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-the-thao .introduction-section .feature-item img {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-the-thao .introduction-section .feature-item h3 {
  color: var(--secondary-color);
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.5em;
}

.page-the-thao .introduction-section .feature-item p {
  font-size: 1em;
  color: #555;
  text-align: center;
}

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

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

.page-the-thao .betting-types-section p {
  color: #c0c0c0;
  text-align: center;
}

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

.page-the-thao .bet-card {
  background-color: #1a3a7c;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-the-thao .bet-card:hover {
  transform: translateY(-5px);
  background-color: #2a4c9c;
}

.page-the-thao .bet-card img {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-the-thao .bet-card h3 {
  color: var(--secondary-color);
  margin-top: 0;
  margin-bottom: 10px;
}

.page-the-thao .bet-card p {
  font-size: 1em;
  color: #e0e0e0;
  text-align: center;
}

/* Live Betting Section */
.page-the-thao .live-betting-section {
  text-align: center;
}

.page-the-thao .live-betting-section img {
  width: 100%;
  max-width: 900px;
  height: auto;
  border-radius: 10px;
  margin-top: 40px;
  margin-bottom: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Promotions Section */
.page-the-thao .promotions-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
  text-align: center;
}

.page-the-thao .promotions-section h2 {
  color: var(--secondary-color);
}

.page-the-thao .promotions-section p {
  color: #c0c0c0;
}

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

.page-the-thao .promo-list li {
  background-color: #1a3a7c;
  margin-bottom: 15px;
  padding: 20px 25px;
  border-left: 5px solid var(--secondary-color);
  border-radius: 5px;
  font-size: 1.1em;
  color: var(--text-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

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

/* Security & FAQ Section */
.page-the-thao .security-faq-section .security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-the-thao .security-faq-section .security-item {
  background-color: var(--text-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.page-the-thao .security-faq-section .security-item img {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-the-thao .security-faq-section .security-item h3 {
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 10px;
}

.page-the-thao .security-faq-section .security-item p {
  font-size: 1em;
  color: #555;
  text-align: center;
}

.page-the-thao .faq-section {
  margin-top: 60px;
}

.page-the-thao .faq-section h2 {
  margin-bottom: 40px;
}

.page-the-thao .faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-the-thao .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--text-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.25em;
  color: var(--primary-color);
  text-align: left;
}

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

.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;
  padding: 0 25px;
  background: #f9f9f9;
  color: var(--text-dark);
}

.page-the-thao .faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding: 15px 25px 25px 25px;
}

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

.page-the-thao .faq-answer a {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-the-thao .faq-answer a:hover {
  color: var(--secondary-color);
}

/* Latest News Section */
.page-the-thao .latest-news-section {
  background-color: var(--bg-light);
  text-align: center;
}

.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: var(--text-light);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-the-thao .news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-the-thao .news-card h3 {
  font-size: 1.4em;
  margin: 20px 20px 10px 20px;
  color: var(--primary-color);
  text-align: left;
}

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

.page-the-thao .news-card h3 a:hover {
  color: var(--secondary-color);
}

.page-the-thao .news-card p {
  font-size: 0.95em;
  color: #666;
  padding: 0 20px;
  text-align: justify;
}

.page-the-thao .news-card .news-date {
  display: block;
  font-size: 0.85em;
  color: #999;
  padding: 0 20px 20px;
  margin-top: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-the-thao h1 {
    font-size: 2.8em;
  }
  .page-the-thao h2 {
    font-size: 2em;
  }
  .page-the-thao .hero-container {
    flex-direction: column-reverse;
  }
  .page-the-thao .hero-content {
    text-align: center;
    padding: 0;
  }
  .page-the-thao .hero-content h1, .page-the-thao .hero-content p {
    text-align: center;
  }
  .page-the-thao .hero-image {
    padding: 0;
    margin-bottom: 30px;
  }
  .page-the-thao .feature-grid, .page-the-thao .bet-type-cards, .page-the-thao .security-features, .page-the-thao .news-cards {
    grid-template-columns: 1fr;
  }
  .page-the-thao .introduction-section .feature-item img, .page-the-thao .security-faq-section .security-item img {
    width: 80px;
    height: 80px;
  }
  .page-the-thao .promo-list li {
    padding: 15px 20px;
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-the-thao section {
    padding: 40px 0;
  }
  .page-the-thao h1 {
    font-size: 2.2em;
  }
  .page-the-thao h2 {
    font-size: 1.8em;
  }
  .page-the-thao h3 {
    font-size: 1.5em;
  }
  .page-the-thao .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-the-thao .faq-question h3 {
    font-size: 1.1em;
  }
  .page-the-thao .faq-toggle {
    font-size: 1.5em;
  }
  .page-the-thao .news-card img {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .page-the-thao .container {
    padding: 0 15px;
  }
  .page-the-thao h1 {
    font-size: 1.8em;
  }
  .page-the-thao h2 {
    font-size: 1.5em;
  }
  .page-the-thao h3 {
    font-size: 1.3em;
  }
  .page-the-thao .hero-content p {
    font-size: 1em;
  }
  .page-the-thao .faq-question {
    padding: 15px;
  }
  .page-the-thao .faq-answer {
    padding: 0 15px;
  }
  .page-the-thao .faq-item.active .faq-answer {
    padding: 15px 15px 20px 15px;
  }
}