/* style/the-thao.css */
:root {
  --primary-color: #336699;
  --secondary-color: #FFCC00;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f8f8f8;
  --background-dark: #2a2a2a;
  --border-color: #e0e0e0;
}

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

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

/* 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: 60px 20px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #4a77a9 100%); /* Slightly lighter primary for gradient */
  color: var(--text-light);
}

.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: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-the-thao h1 {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-the-thao .hero-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

.page-the-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.1em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

/* General Section Styling */
.page-the-thao section {
  padding: 80px 0;
}

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

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

.page-the-thao h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

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

.page-the-thao p {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 15px;
}

/* Features Grid */
.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: #ffffff;
  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(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-the-thao .feature-item .feature-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--secondary-color);
}

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

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

.page-the-thao .card {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

/* Guide Steps */
.page-the-thao .guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-the-thao .step-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 280px;
}

.page-the-thao .step-item span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: var(--text-light);
  font-size: 2.2em;
  font-weight: bold;
  border-radius: 50%;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-the-thao .button-small {
  display: inline-block;
  padding: 10px 25px;
  background: var(--secondary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9em;
  font-weight: bold;
  margin-top: auto;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-the-thao .button-small:hover {
  background: #e6b800;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

/* Promotions */
.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-cards .card {
  text-align: center;
}

.page-the-thao .promo-cards .promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Safety & Support */
.page-the-thao .safety-support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-the-thao .safety-support-grid .item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.page-the-thao .safety-support-grid .item-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-color);
}

.page-the-thao .safety-support-grid .item h3 {
  font-size: 1.5em;
}

/* FAQ Section */
.page-the-thao .section-faq {
  background-color: var(--background-light);
}

.page-the-thao .faq-list {
  margin-top: 40px;
}

.page-the-thao .faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  background: #ffffff;
}

.page-the-thao .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

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

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

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

.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;
  border-radius: 0 0 5px 5px;
}

.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-answer p {
  margin: 0;
  color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-the-thao h1 {
    font-size: 2.8em;
  }
  .page-the-thao h2 {
    font-size: 2.2em;
  }
  .page-the-thao h3 {
    font-size: 1.6em;
  }
  .page-the-thao .feature-item .feature-icon {
    width: 100px;
    height: 100px;
  }
  .page-the-thao .promo-cards .promo-image {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .page-the-thao .hero-section {
    padding: 40px 15px;
  }
  .page-the-thao h1 {
    font-size: 2.2em;
  }
  .page-the-thao .hero-content p {
    font-size: 1em;
  }
  .page-the-thao .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-the-thao section {
    padding: 60px 0;
  }
  .page-the-thao h2 {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-the-thao h3 {
    font-size: 1.4em;
  }
  .page-the-thao .feature-item, .page-the-thao .card, .page-the-thao .step-item, .page-the-thao .safety-support-grid .item {
    padding: 25px;
  }
  .page-the-thao .feature-item .feature-icon {
    width: 80px;
    height: 80px;
  }
  .page-the-thao .step-item span {
    width: 50px;
    height: 50px;
    font-size: 1.8em;
  }
  .page-the-thao .promo-cards .promo-image {
    height: 150px;
  }
  .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: 20px;
  }
  .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 h1 {
    font-size: 1.8em;
  }
  .page-the-thao .hero-content p {
    font-size: 0.9em;
  }
  .page-the-thao .cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-the-thao h2 {
    font-size: 1.6em;
  }
  .page-the-thao h3 {
    font-size: 1.2em;
  }
  .page-the-thao .feature-item .feature-icon {
    width: 70px;
    height: 70px;
  }
  .page-the-thao .button-small {
    padding: 8px 20px;
    font-size: 0.8em;
  }
  .page-the-thao .faq-question h3 {
    font-size: 1em;
  }
}