/* style/the-thao.css */
:root {
  --primary-color: #4A148C;
  --secondary-color: #FFD700;
  --text-dark: #2C0B4E;
  --text-light: #FFFFFF;
  --background-light: #F8F8F8;
  --background-dark: #330A58;
  --border-color: #E0E0E0;
}

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

.page-the-thao h1, .page-the-thao h2, .page-the-thao h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-the-thao h2 {
  font-size: 2.2em;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 30px;
}

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

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

.page-the-thao a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

/* Hero Section */
.page-the-thao .hero-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-color) 0%, #6A0DAD 100%); /* Slightly lighter purple for gradient */
  padding: 80px 0;
}

.page-the-thao .hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  color: var(--text-light);
}

.page-the-thao .hero-image-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle overlay */
  z-index: 1;
}

.page-the-thao .hero-content h1 {
  font-size: 3.5em;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-the-thao .hero-content p {
  font-size: 1.3em;
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-the-thao .hero-ctas {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-the-thao .cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

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

.page-the-thao .cta-button.secondary {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-the-thao .cta-button.secondary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-the-thao .cta-button.small {
  padding: 10px 20px;
  font-size: 1em;
  border-radius: 5px;
}

/* Why Choose Us Section */
.page-the-thao .why-choose-us {
  padding: 60px 0;
  background-color: var(--background-light);
}

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

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

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

.page-the-thao .feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

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

.page-the-thao .feature-item p {
  font-size: 1em;
  color: #555;
}

/* Popular Sports Section */
.page-the-thao .popular-sports {
  padding: 60px 0;
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-the-thao .popular-sports h2 {
  color: var(--secondary-color);
}

.page-the-thao .popular-sports p {
  color: #E0E0E0;
  text-align: center;
  margin-bottom: 40px;
}

.page-the-thao .sport-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-the-thao .sport-card {
  background-color: #331A58; /* Darker variant of primary */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-the-thao .sport-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-the-thao .sport-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-the-thao .sport-card h3 {
  padding: 15px 20px 0;
  color: var(--secondary-color);
  font-size: 1.4em;
}

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

.page-the-thao .sport-card h3 a:hover {
  color: #FFC107;
}

.page-the-thao .sport-card p {
  padding: 0 20px 15px;
  font-size: 0.95em;
  color: #CCC;
  text-align: left;
}

.page-the-thao .sport-card .cta-button {
  margin: 0 20px 20px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: none;
  display: block;
  text-align: center;
}

.page-the-thao .sport-card .cta-button:hover {
  background-color: #FFC107;
  color: var(--primary-color);
}

/* Betting Guide Section */
.page-the-thao .betting-guide {
  padding: 60px 0;
  background-color: var(--background-light);
}

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

.page-the-thao .step-item {
  background-color: var(--text-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  position: relative;
  padding-top: 70px;
}

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

.page-the-thao .step-item h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-the-thao .step-item p {
  font-size: 1em;
  color: #555;
}

.page-the-thao .guide-cta {
  text-align: center;
  margin-top: 50px;
}

/* Promotions Section */
.page-the-thao .promotions {
  padding: 60px 0;
  background-color: var(--background-dark);
  color: var(--text-light);
}

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

.page-the-thao .promotions p {
  color: #E0E0E0;
  text-align: center;
  margin-bottom: 40px;
}

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

.page-the-thao .promo-card {
  background-color: #331A58;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-the-thao .promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-the-thao .promo-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-the-thao .promo-card h3 {
  padding: 15px 20px 0;
  color: var(--secondary-color);
  font-size: 1.4em;
}

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

.page-the-thao .promo-card h3 a:hover {
  color: #FFC107;
}

.page-the-thao .promo-card p {
  padding: 0 20px 15px;
  font-size: 0.95em;
  color: #CCC;
  text-align: left;
}

.page-the-thao .promo-card .cta-button {
  margin: 0 20px 20px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: none;
  display: block;
  text-align: center;
}

.page-the-thao .promo-card .cta-button:hover {
  background-color: #FFC107;
  color: var(--primary-color);
}

/* Security & Support Section */
.page-the-thao .security-support {
  padding: 60px 0;
  background-color: var(--background-light);
}

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

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

.page-the-thao .security-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

.page-the-thao .security-item h3 {
  color: var(--primary-color);
  font-size: 1.5em;
  margin-bottom: 10px;
}

.page-the-thao .security-item p {
  font-size: 1em;
  color: #555;
}

.page-the-thao .contact-info {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1em;
}

/* FAQ Section */
.page-the-thao .faq-section {
  padding: 60px 0;
  background-color: var(--background-dark);
  color: var(--text-light);
}

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

.page-the-thao .faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-the-thao .faq-question:hover {
  background: #5C239E; /* Slightly lighter primary for hover */
}

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

.page-the-thao .faq-toggle {
  font-size: 2em;
  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;
  background-color: #331A58; /* Darker variant of primary */
  color: #E0E0E0;
  padding: 0 25px;
}

.page-the-thao .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 20px 25px;
}

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

/* Latest Articles Section */
.page-the-thao .latest-articles {
  padding: 60px 0;
  background-color: var(--background-light);
}

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

.page-the-thao .article-card {
  background-color: var(--text-light);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-the-thao .article-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-the-thao .article-card h3 {
  padding: 15px 20px 0;
  font-size: 1.4em;
  color: var(--primary-color);
}

.page-the-thao .article-card h3 a {
  color: var(--primary-color);
}

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

.page-the-thao .article-card p {
  padding: 0 20px 15px;
  font-size: 0.95em;
  color: #555;
  text-align: left;
}

.page-the-thao .article-card .cta-button {
  margin: 0 20px 20px;
  background-color: var(--primary-color);
  color: var(--text-light);
  border: none;
  display: block;
  text-align: center;
}

.page-the-thao .article-card .cta-button:hover {
  background-color: #5C239E;
  color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-the-thao .hero-content h1 {
    font-size: 3em;
  }
  .page-the-thao .hero-content p {
    font-size: 1.2em;
  }
  .page-the-thao h2 {
    font-size: 2em;
  }
  .page-the-thao h3 {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page-the-thao .hero-section {
    min-height: 500px;
    padding: 60px 0;
  }
  .page-the-thao .hero-content h1 {
    font-size: 2.5em;
  }
  .page-the-thao .hero-content p {
    font-size: 1.1em;
  }
  .page-the-thao .hero-ctas {
    flex-direction: column;
    gap: 15px;
  }
  .page-the-thao .cta-button {
    width: 80%;
    margin: 0 auto;
  }
  .page-the-thao h2 {
    font-size: 1.8em;
  }
  .page-the-thao h3 {
    font-size: 1.3em;
  }
  .page-the-thao .features-grid, .page-the-thao .sport-categories-grid, .page-the-thao .guide-steps, .page-the-thao .promo-cards, .page-the-thao .security-grid, .page-the-thao .article-cards {
    grid-template-columns: 1fr;
  }
  .page-the-thao .feature-item, .page-the-thao .sport-card, .page-the-thao .step-item, .page-the-thao .promo-card, .page-the-thao .security-item, .page-the-thao .article-card {
    padding: 20px;
  }
  .page-the-thao .faq-question {
    padding: 15px 20px;
  }
  .page-the-thao .faq-question h3 {
    font-size: 1.1em;
  }
  .page-the-thao .faq-toggle {
    font-size: 1.8em;
  }
  .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-section {
    min-height: 400px;
    padding: 40px 0;
  }
  .page-the-thao .hero-content h1 {
    font-size: 2em;
  }
  .page-the-thao .hero-content p {
    font-size: 1em;
  }
  .page-the-thao .cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-the-thao h2 {
    font-size: 1.6em;
  }
  .page-the-thao h3 {
    font-size: 1.2em;
  }
}