/* style/the-thao.css */

:root {
  --primary-color: #003366; /* Deep Blue */
  --secondary-color: #FFD700; /* Gold */
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #002244;
  --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: #f0f2f5;
}

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

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

.page-the-thao h2 {
  font-size: 2.5em;
}

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

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

.page-the-thao ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-the-thao li {
  margin-bottom: 10px;
}

/* Buttons */
.page-the-thao .cta-button,
.page-the-thao .btn-primary,
.page-the-thao .btn-secondary,
.page-the-thao .btn-link {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  margin: 10px 5px;
}

.page-the-thao .cta-button {
  background: var(--secondary-color);
  color: var(--primary-color);
  font-size: 1.2em;
  padding: 15px 35px;
  border: 2px solid var(--secondary-color);
}

.page-the-thao .cta-button:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-the-thao .btn-primary {
  background: var(--primary-color);
  color: var(--text-light);
  border: 1px solid var(--primary-color);
}

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

.page-the-thao .btn-secondary {
  background: var(--secondary-color);
  color: var(--primary-color);
  border: 1px solid var(--secondary-color);
}

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

.page-the-thao .btn-link {
  background: none;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  padding: 8px 18px;
}

.page-the-thao .btn-link:hover {
  background: var(--primary-color);
  color: var(--text-light);
}

/* 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-color: var(--bg-dark); /* Fallback background if image fails */
}

.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 .hero-content h1 {
  color: var(--text-light);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

/* Intro Section */
.page-the-thao .intro-section p {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
}

.page-the-thao .intro-section .btn-secondary {
  margin-top: 20px;
}

/* Sports Categories */
.page-the-thao .sports-categories .category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-the-thao .sports-categories .category-item {
  background-color: var(--text-light);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-the-thao .sports-categories .category-item img {
  max-width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-the-thao .sports-categories .category-item h3 {
  margin-top: 0;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-the-thao .sports-categories .category-item p {
  font-size: 0.95em;
  color: var(--text-dark);
  flex-grow: 1;
  text-align: left;
}

.page-the-thao .sports-categories .category-item .btn-link {
  margin-top: 20px;
}

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

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

.page-the-thao .live-betting-section p {
  text-align: center;
  color: #cccccc;
  margin-bottom: 40px;
}

.page-the-thao .live-betting-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-the-thao .live-betting-features .feature-item {
  background: #004488;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-the-thao .live-betting-features .feature-item img {
  max-width: 100px;
  height: auto;
  margin-bottom: 20px;
  filter: brightness(1.2); /* Allowed for icon enhancement, not color change */
}

.page-the-thao .live-betting-features .feature-item h3 {
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-the-thao .live-betting-features .feature-item p {
  color: #e0e0e0;
  text-align: center;
}

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

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

.page-the-thao .promotions-section .promo-card {
  background-color: var(--text-light);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-the-thao .promotions-section .promo-card img {
  max-width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-the-thao .promotions-section .promo-card h3 {
  margin-top: 0;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-the-thao .promotions-section .promo-card p {
  font-size: 0.95em;
  color: var(--text-dark);
  flex-grow: 1;
  text-align: left;
}

.page-the-thao .promotions-section .promo-card .btn-primary,
.page-the-thao .promotions-section .promo-card .btn-link {
  margin-top: 20px;
}

/* Guide Section */
.page-the-thao .guide-section .guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-the-thao .guide-section .step-item {
  background-color: var(--text-light);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-the-thao .guide-section .step-item img {
  max-width: 100%;
  height: 180px; /* Fixed height for consistency */
  object-fit: contain;
  margin-bottom: 20px;
}

.page-the-thao .guide-section .step-item h3 {
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 15px;
}

.page-the-thao .guide-section .step-item p {
  font-size: 0.95em;
  color: var(--text-dark);
  flex-grow: 1;
  text-align: left;
}

.page-the-thao .guide-section .step-item .btn-primary,
.page-the-thao .guide-section .step-item .btn-secondary {
  margin-top: 20px;
}

/* Security Section */
.page-the-thao .security-section ul {
  list-style: none;
  padding: 0;
  text-align: left;
}

.page-the-thao .security-section li {
  background-color: var(--text-light);
  border-left: 5px solid var(--primary-color);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  font-size: 1.05em;
}

.page-the-thao .security-section li strong {
  color: var(--primary-color);
}

/* Support Section */
.page-the-thao .support-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

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

.page-the-thao .support-section p {
  color: #cccccc;
  text-align: center;
}

.page-the-thao .support-channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-the-thao .support-channels .channel-item {
  background: #004488;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-the-thao .support-channels .channel-item img {
  max-width: 80px;
  height: auto;
  margin-bottom: 20px;
  filter: brightness(1.2); /* Allowed for icon enhancement, not color change */
}

.page-the-thao .support-channels .channel-item h3 {
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-the-thao .support-channels .channel-item p {
  color: #e0e0e0;
  text-align: center;
}

/* Why Choose Section */
.page-the-thao .why-choose-section ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.page-the-thao .why-choose-section li {
  background-color: var(--text-light);
  border-left: 5px solid var(--secondary-color);
  padding: 15px 20px;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  font-size: 1.05em;
}

.page-the-thao .why-choose-section li strong {
  color: var(--primary-color);
}

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

.page-the-thao .faq-list {
  max-width: 900px;
  margin: 0 auto;
}

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

.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: #f5f5f5;
}

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

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

.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; /* Sufficient height to accommodate content */
  padding: 20px 25px;
  border-top: 1px solid var(--border-color);
}

.page-the-thao .faq-answer p {
  margin-bottom: 15px;
  text-align: left;
}

.page-the-thao .faq-answer .btn-link {
  margin-top: 10px;
  margin-right: 10px;
  margin-bottom: 10px;
}

/* CTA Bottom Section */
.page-the-thao .cta-bottom-section {
  text-align: center;
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 80px 20px;
}

.page-the-thao .cta-bottom-section h2 {
  color: var(--secondary-color);
  margin-bottom: 25px;
}

.page-the-thao .cta-bottom-section p {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-the-thao h1 {
    font-size: 2.8em;
  }
  .page-the-thao h2 {
    font-size: 2em;
  }
  .page-the-thao h3 {
    font-size: 1.6em;
  }
  .page-the-thao .sports-categories .category-grid,
  .page-the-thao .live-betting-features,
  .page-the-thao .promotions-section .promo-cards,
  .page-the-thao .guide-section .guide-steps,
  .page-the-thao .support-channels {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@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.4em;
  }
  .page-the-thao .hero-section {
    padding: 40px 15px;
  }
  .page-the-thao .hero-image img {
    border-radius: 4px;
  }
  .page-the-thao .hero-content p {
    font-size: 1em;
  }
  .page-the-thao .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-the-thao .sports-categories .category-item img,
  .page-the-thao .promotions-section .promo-card img,
  .page-the-thao .guide-section .step-item img {
    height: 150px;
  }
  .page-the-thao .faq-question {
    padding: 15px 20px;
  }
  .page-the-thao .faq-question h3 {
    font-size: 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 h2 {
    font-size: 1.5em;
  }
  .page-the-thao h3 {
    font-size: 1.2em;
  }
  .page-the-thao .container {
    padding: 0 15px;
  }
  .page-the-thao .sports-categories .category-grid,
  .page-the-thao .live-betting-features,
  .page-the-thao .promotions-section .promo-cards,
  .page-the-thao .guide-section .guide-steps,
  .page-the-thao .support-channels {
    grid-template-columns: 1fr;
  }
  .page-the-thao .cta-button,
  .page-the-thao .btn-primary,
  .page-the-thao .btn-secondary,
  .page-the-thao .btn-link {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}