/* style/th-thao.css */

:root {
  --primary-color: #0A1931; /* Dark Blue */
  --secondary-color: #FFD700; /* Gold */
  --text-light: #FFFFFF;
  --text-dark: #333333;
  --background-light: #F8F8F8;
  --background-dark: #1A2E47;
  --border-color: #E0E0E0;
}

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

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

/* 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: 60px 20px;
  background: var(--primary-color);
  color: var(--text-light);
}

.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;
}

.page-th-thao .hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-th-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-th-thao .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

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

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

.page-th-thao .cta-button, .page-th-thao .cta-button-bottom {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  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-th-thao .cta-button:hover, .page-th-thao .cta-button-bottom:hover {
  background: #FFEB84;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

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

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

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

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

.page-th-thao section:nth-of-type(even) h2 {
  color: var(--secondary-color);
}

.page-th-thao section p {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-th-thao section:nth-of-type(even) p {
  color: #DDDDDD;
}

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

.page-th-thao section:nth-of-type(even) h3 {
  color: var(--secondary-color);
}

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

.page-th-thao section:nth-of-type(even) a {
  color: var(--secondary-color);
}

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

.page-th-thao section:nth-of-type(even) a:hover {
  color: #FFEB84;
}

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

.page-th-thao .feature-item {
  background-color: #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-th-thao .feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-th-thao .feature-item img {
  width: 150px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

.page-th-thao .feature-item p {
  font-size: 1em;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 0;
}

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

.page-th-thao .bet-type-cards .card {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-th-thao .bet-type-cards .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-th-thao .bet-type-cards .card h3 {
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-th-thao .bet-type-cards .card p {
  color: #DDDDDD;
  font-size: 1em;
  text-align: left;
}

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

.page-th-thao .step-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
  padding-top: 60px; /* Space for step number */
}

.page-th-thao .step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: 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 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-th-thao .step-item p {
  font-size: 1em;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 20px;
}

.page-th-thao .btn-small {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.95em;
  font-weight: bold;
  transition: all 0.3s ease;
}

.page-th-thao .btn-small:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-1px);
}

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

.page-th-thao .promo-cards .card {
  background-color: var(--background-dark);
  color: var(--text-light);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

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

.page-th-thao .promo-cards .card p {
  color: #DDDDDD;
  font-size: 1em;
  text-align: center;
  margin-bottom: 20px;
}

.page-th-thao .promo-cards .card .promo-img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-th-thao .btn-promo {
  display: inline-block;
  padding: 12px 30px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  transition: all 0.3s ease;
}

.page-th-thao .btn-promo:hover {
  background: #FFEB84;
  transform: translateY(-1px);
}

/* 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: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

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

.page-th-thao .security-item p {
  font-size: 1em;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 0;
}

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

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

.page-th-thao .section-faq p {
  color: #DDDDDD;
}

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

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: var(--primary-color);
  color: var(--text-light);
  border: 1px solid #1A2E47;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #1A2E47;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--secondary-color);
}

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

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
  background: #2A3F5B;
  color: #DDDDDD;
  border-radius: 0 0 8px 8px;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 20px;
  border-top: 1px solid #3A506B;
}

.faq-answer p {
  margin: 0;
  text-align: left;
  font-size: 1em;
  color: #DDDDDD;
}

/* Conclusion Section */
.page-th-thao .section-conclusion {
  background-color: var(--primary-color);
  color: var(--text-light);
  text-align: center;
}

.page-th-thao .section-conclusion h2 {
  color: var(--secondary-color);
}

.page-th-thao .section-conclusion p {
  color: #DDDDDD;
  font-size: 1.2em;
  margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-th-thao h1 {
    font-size: 2.8em;
  }
  .page-th-thao section h2 {
    font-size: 2em;
  }
  .page-th-thao h3 {
    font-size: 1.6em;
  }
  .page-th-thao .hero-content p {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-th-thao .hero-section {
    padding: 40px 15px;
  }
  .page-th-thao h1 {
    font-size: 2.2em;
  }
  .page-th-thao .hero-content p {
    font-size: 1em;
  }
  .page-th-thao .cta-button, .page-th-thao .cta-button-bottom {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-th-thao section {
    padding: 40px 0;
  }
  .page-th-thao section h2 {
    font-size: 1.8em;
  }
  .page-th-thao h3 {
    font-size: 1.4em;
  }
  .page-th-thao .features-grid, .page-th-thao .bet-type-cards, .page-th-thao .steps-grid, .page-th-thao .promo-cards, .page-th-thao .security-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-th-thao .feature-item, .page-th-thao .bet-type-cards .card, .page-th-thao .step-item, .page-th-thao .promo-cards .card, .page-th-thao .security-item {
    padding: 25px;
  }
  .page-th-thao .step-item {
    padding-top: 50px;
  }
  .page-th-thao .step-number {
    width: 45px;
    height: 45px;
    font-size: 1.6em;
    top: -15px;
  }
  .page-th-thao .faq-question {
    padding: 12px 15px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 18px;
  }
  .faq-answer {
    padding: 0 15px;
  }
  .faq-item.active .faq-answer {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-th-thao h1 {
    font-size: 1.8em;
  }
  .page-th-thao section h2 {
    font-size: 1.6em;
  }
  .page-th-thao .hero-content p {
    font-size: 0.9em;
  }
  .page-th-thao .cta-button, .page-th-thao .cta-button-bottom {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-th-thao .feature-item img {
    width: 120px;
  }
  .page-th-thao .btn-small, .page-th-thao .btn-promo {
    font-size: 0.85em;
    padding: 8px 20px;
  }
}