/* style/the-thao.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f9f9f9;
  --background-dark: #222222;
  --border-color: #e0e0e0;
}

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

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

.page-the-thao section {
  padding: 60px 0;
  margin-bottom: 20px;
  background-color: var(--background-light);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

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

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

.page-the-thao h2 {
  font-size: 2.2em;
  border-bottom: 3px solid var(--primary-color);
  padding-bottom: 15px;
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

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

.page-the-thao .button-small {
  display: inline-block;
  padding: 10px 20px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 25px;
  font-size: 1em;
  font-weight: bold;
  margin-top: 15px;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
}

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

/* 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: 80px 20px;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #a31a1a 100%); /* Darker gradient for background */
  color: var(--text-light);
  box-shadow: none;
  border-radius: 0;
}

.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;
  max-width: 900px; /* Adjust max-width for image */
}

.page-the-thao .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 25px 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 p {
  color: var(--text-light);
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 20px auto;
}

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

.page-the-thao .feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-the-thao .feature-item img {
  width: 100%; /* Ensure images are large */
  max-width: 300px; /* Minimum size requirement */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-the-thao .feature-item h3 {
  color: var(--secondary-color);
  font-size: 1.5em;
  margin-top: 0;
  text-align: center;
}

.page-the-thao .feature-item p {
  font-size: 1em;
  color: var(--text-dark);
  text-align: center;
  flex-grow: 1;
}

/* Odds Highlights */
.page-the-thao .odds-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-top: 40px;
}

.page-the-thao .highlight-item {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
  flex: 1 1 calc(33% - 50px);
  min-width: 280px;
  text-align: center;
}

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

.page-the-thao .highlight-item p {
  font-size: 1em;
  color: var(--text-dark);
  text-align: center;
}

/* Live Betting Section */
.page-the-thao .section-live-betting .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-the-thao .live-betting-content {
  flex: 1 1 50%;
  min-width: 300px;
}

.page-the-thao .live-betting-content h2 {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-the-thao .live-betting-content p {
  text-align: left;
}

.page-the-thao .live-betting-image {
  flex: 1 1 40%;
  min-width: 300px;
  text-align: center;
}

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

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

.page-the-thao .promotion-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-the-thao .promotion-item img {
  width: 100%; /* Ensure images are large */
  max-width: 350px; /* Minimum size requirement */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-the-thao .promotion-item h3 {
  color: var(--secondary-color);
  font-size: 1.5em;
  margin-top: 0;
  text-align: center;
}

.page-the-thao .promotion-item p {
  font-size: 1em;
  color: var(--text-dark);
  text-align: center;
  flex-grow: 1;
}

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

.page-the-thao .feature-item-small {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.page-the-thao .feature-item-small img {
  width: 100%; /* Ensure images are large */
  max-width: 200px; /* Minimum size requirement */
  height: auto;
  margin-bottom: 15px;
  object-fit: contain;
}

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

.page-the-thao .feature-item-small p {
  font-size: 0.95em;
  color: var(--text-dark);
  text-align: center;
}

/* Guide Steps */
.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: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-the-thao .step-item h3 {
  color: var(--secondary-color);
  font-size: 1.6em;
  margin-top: 0;
  text-align: center;
}

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

.page-the-thao .button-primary {
  display: inline-block;
  padding: 12px 25px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 25px;
  font-size: 1em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
}

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

/* FAQ Section */
.page-the-thao .section-faq {
  background-color: #f0f2f5;
}

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

.page-the-thao .faq-item {
  margin-bottom: 15px;
  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: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-the-thao .faq-question:hover {
  background: #f5f5f5;
  border-color: var(--primary-color);
}

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

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

.page-the-thao .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--primary-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: #ffffff;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  border-radius: 0 0 8px 8px;
}

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

.page-the-thao .faq-answer p {
  margin: 0;
  font-size: 1em;
  color: var(--text-dark);
  text-align: justify;
}

/* Conclusion */
.page-the-thao .section-conclusion {
  text-align: center;
  padding-bottom: 80px;
}

.page-the-thao .section-conclusion p {
  max-width: 900px;
  margin: 0 auto 30px auto;
  font-size: 1.15em;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-the-thao h1 {
    font-size: 2.4em;
  }
  .page-the-thao h2 {
    font-size: 1.8em;
  }
  .page-the-thao .hero-section {
    padding: 60px 15px;
  }
  .page-the-thao .live-betting-content,
  .page-the-thao .live-betting-image {
    flex: 1 1 100%;
  }
  .page-the-thao .live-betting-content h2 {
    text-align: center;
  }
  .page-the-thao .live-betting-content p {
    text-align: center;
  }
  .page-the-thao .odds-highlights {
    flex-direction: column;
    align-items: center;
  }
  .page-the-thao .highlight-item {
    flex: 1 1 90%;
  }
}

@media (max-width: 768px) {
  .page-the-thao section {
    padding: 40px 0;
  }
  .page-the-thao .container {
    padding: 0 15px;
  }
  .page-the-thao h1 {
    font-size: 2em;
  }
  .page-the-thao h2 {
    font-size: 1.6em;
  }
  .page-the-thao h3 {
    font-size: 1.4em;
  }
  .page-the-thao .cta-button {
    padding: 12px 25px;
    font-size: 1.1em;
  }
  .page-the-thao .feature-grid,
  .page-the-thao .promotion-grid,
  .page-the-thao .security-features,
  .page-the-thao .guide-steps {
    grid-template-columns: 1fr;
  }
  .page-the-thao .feature-item img,
  .page-the-thao .promotion-item img,
  .page-the-thao .feature-item-small img {
    max-width: 250px;
  }
  .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;
  }
}