/* style/the-thao.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #000080; /* Dark Blue */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f4f4f4;
  --background-dark: #1a1a1a;
  --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 .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-the-thao .section-title {
  font-size: 2.5em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
  font-weight: bold;
}

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

/* 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(--secondary-color), #00004d);
  color: var(--text-light);
  overflow: hidden;
}

.page-the-thao .hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row; /* Changed to row for image on side */
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.page-the-thao .hero-content {
  flex: 1;
  text-align: left;
  z-index: 2;
}

.page-the-thao .hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: var(--primary-color);
  line-height: 1.2;
}

.page-the-thao .hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.page-the-thao .hero-image {
  flex: 1;
  max-width: 50%; /* Limit image width */
  margin-left: 30px;
  z-index: 2;
}

.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 30px rgba(0, 0, 0, 0.3);
}

.page-the-thao .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-the-thao .cta-button-bottom {
  display: block;
  width: fit-content;
  margin: 40px auto 60px auto;
  padding: 18px 50px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 10px;
  font-size: 1.4em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
}

.page-the-thao .cta-button-bottom:hover {
  background: #ffcc00;
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

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

.page-the-thao .section-about-sports {
  background-color: var(--background-light);
  color: var(--text-dark);
}

.page-the-thao .section-popular-sports {
  background-color: #fcfcfc;
}

.page-the-thao .section-how-to-bet {
  background-color: var(--background-light);
}

.page-the-thao .section-advantages {
  background-color: var(--secondary-color);
  color: var(--text-light);
}

.page-the-thao .section-advantages .section-title {
  color: var(--primary-color);
}

.page-the-thao .section-advantages .section-text {
  color: rgba(255, 255, 255, 0.9);
}

.page-the-thao .section-promotions {
  background-color: #fcfcfc;
}

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

.page-the-thao .section-conclusion {
  background: linear-gradient(45deg, #000080, #00004d);
  color: var(--text-light);
}

.page-the-thao .section-conclusion .section-title {
  color: var(--primary-color);
}

.page-the-thao .section-conclusion .section-text {
  color: rgba(255, 255, 255, 0.9);
}

/* Buttons */
.page-the-thao .btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-the-thao .btn-primary:hover {
  background: #000066;
  transform: translateY(-2px);
}

.page-the-thao .btn-secondary {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  margin-top: 15px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-the-thao .btn-secondary:hover {
  background: #ffcc00;
  transform: translateY(-2px);
}

.page-the-thao .btn-tertiary {
  display: inline-block;
  padding: 8px 20px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  margin-top: 15px;
  font-size: 0.95em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-the-thao .btn-tertiary:hover {
  background: #000066;
  transform: translateY(-1px);
}

.page-the-thao .btn-faq {
  display: inline-block;
  padding: 8px 15px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  margin-top: 10px;
  font-size: 0.9em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-the-thao .btn-faq:hover {
  background: #ffcc00;
  transform: translateY(-1px);
}

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

.page-the-thao .sport-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-the-thao .sport-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
}

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

.page-the-thao .sport-card .card-title .card-link {
  color: inherit;
  text-decoration: none;
}

.page-the-thao .sport-card .card-title .card-link:hover {
  color: var(--primary-color);
}

.page-the-thao .sport-card .card-description {
  font-size: 0.95em;
  color: #666666;
  padding: 0 20px 20px;
  flex-grow: 1;
}

/* Step List */
.page-the-thao .step-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.page-the-thao .step-item {
  background: #ffffff;
  border-left: 5px solid var(--primary-color);
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-the-thao .step-title {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-the-thao .step-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 15px;
}

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

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

.page-the-thao .advantage-item:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.2);
}

.page-the-thao .advantage-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5)); /* Gold glow for icons */
}

.page-the-thao .advantage-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-the-thao .advantage-description {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.8);
}

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

.page-the-thao .promo-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-the-thao .promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
}

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

.page-the-thao .promo-card .card-title .card-link {
  color: inherit;
  text-decoration: none;
}

.page-the-thao .promo-card .card-title .card-link:hover {
  color: var(--primary-color);
}

.page-the-thao .promo-card .card-description {
  font-size: 0.95em;
  color: #666666;
  padding: 0 20px 20px;
  flex-grow: 1;
}

/* FAQ Section */
.page-the-thao .faq-list {
  margin-top: 40px;
}

.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: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

.page-the-thao .faq-question h3 {
  font-size: 1.25em;
  color: var(--secondary-color);
  margin: 0;
  font-weight: bold;
  flex-grow: 1;
}

.page-the-thao .faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--primary-color);
  margin-left: 20px;
  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;
  color: var(--text-dark);
}

.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-bottom: 15px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-the-thao .hero-container {
    flex-direction: column;
    text-align: center;
  }
  .page-the-thao .hero-content {
    text-align: center;
  }
  .page-the-thao .hero-image {
    max-width: 80%;
    margin-left: 0;
    margin-top: 40px;
  }
  .page-the-thao .hero-title {
    font-size: 2.8em;
  }
  .page-the-thao .hero-description {
    font-size: 1.1em;
  }
  .page-the-thao .section-title {
    font-size: 2em;
  }
  .page-the-thao .sports-grid, .page-the-thao .advantage-grid, .page-the-thao .promo-grid {
    grid-template-columns: 1fr;
  }
  .page-the-thao .advantage-item, .page-the-thao .sport-card, .page-the-thao .promo-card {
    margin: 0 auto;
    max-width: 450px;
  }
}

@media (max-width: 768px) {
  .page-the-thao .hero-section {
    padding: 40px 15px;
  }
  .page-the-thao .hero-title {
    font-size: 2.2em;
  }
  .page-the-thao .hero-description {
    font-size: 1em;
  }
  .page-the-thao .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-the-thao .section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-the-thao section {
    padding: 60px 0;
  }
  .page-the-thao .step-item {
    padding: 20px;
  }
  .page-the-thao .step-title {
    font-size: 1.3em;
  }
  .page-the-thao .advantage-title, .page-the-thao .sport-card .card-title, .page-the-thao .promo-card .card-title {
    font-size: 1.3em;
  }
  .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.5em;
  }
  .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-title {
    font-size: 1.8em;
  }
  .page-the-thao .hero-description {
    font-size: 0.9em;
  }
  .page-the-thao .cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-the-thao .section-title {
    font-size: 1.5em;
  }
  .page-the-thao .advantage-icon {
    width: 80px;
    height: 80px;
  }
  .page-the-thao .cta-button-bottom {
    font-size: 1.1em;
    padding: 15px 30px;
  }
}