/* Base styles for the Thể Thao page */
.page-the-thao {
  font-family: Arial, sans-serif;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
  line-height: 1.6;
}

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

.page-the-thao__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #1F2D3D; /* Text Main */
}

.page-the-thao__text-block {
  margin-bottom: 20px;
  font-size: 1.1em;
  line-height: 1.7;
  color: #1F2D3D; /* Text Main */
}

.page-the-thao__link-text {
  color: #2F6BFF;
  text-decoration: underline;
}

/* Hero Section */
.page-the-thao__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding */
  margin-bottom: 40px;
  overflow: hidden;
}

.page-the-thao__hero-image-wrapper {
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.page-the-thao__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-the-thao__hero-content-wrapper {
  max-width: 900px;
  margin: -150px auto 0 auto;
  padding: 40px;
  background: rgba(255, 255, 255, 0.95); /* Card BG with slight transparency */
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
  z-index: 10;
}

.page-the-thao__main-title {
  font-size: 2.8em;
  font-weight: bold;
  color: #2F6BFF; /* Main Color */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-the-thao__subtitle {
  font-size: 1.2em;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  word-wrap: break-word;
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button */
  color: #ffffff;
  border: none;
}

.page-the-thao__btn-primary:hover {
  opacity: 0.9;
  box-shadow: 0 5px 15px rgba(47, 107, 255, 0.4);
}

.page-the-thao__btn-secondary {
  background: #ffffff; /* Card BG */
  color: #2F6BFF; /* Main Color */
  border: 2px solid #2F6BFF; /* Main Color */
}

.page-the-thao__btn-secondary:hover {
  background: #2F6BFF;
  color: #ffffff;
  box-shadow: 0 5px 15px rgba(47, 107, 255, 0.2);
}

/* Section common styles */
.page-the-thao__introduction-section,
.page-the-thao__guide-section,
.page-the-thao__promotions-section,
.page-the-thao__conclusion-section {
  padding: 60px 0;
  margin-bottom: 40px;
  background-color: #F4F7FB; /* Background */
}

.page-the-thao__lobbies-section,
.page-the-thao__tips-section,
.page-the-thao__support-section,
.page-the-thao__faq-section {
  padding: 60px 0;
  margin-bottom: 40px;
  background-color: #2F6BFF; /* Main Color */
  color: #ffffff;
}

.page-the-thao__lobbies-section .page-the-thao__section-title,
.page-the-thao__tips-section .page-the-thao__section-title,
.page-the-thao__support-section .page-the-thao__section-title,
.page-the-thao__faq-section .page-the-thao__section-title {
  color: #ffffff;
}

.page-the-thao__lobbies-section .page-the-thao__text-block,
.page-the-thao__tips-section .page-the-thao__text-block,
.page-the-thao__support-section .page-the-thao__text-block,
.page-the-thao__faq-section .page-the-thao__text-block {
  color: #f0f0f0;
}

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

.page-the-thao__lobby-card {
  background: #ffffff; /* Card BG */
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-the-thao__lobby-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  display: block;
}

.page-the-thao__lobby-title {
  font-size: 1.8em;
  font-weight: bold;
  color: #2F6BFF; /* Main Color */
  margin-bottom: 15px;
}

.page-the-thao__lobby-description {
  color: #1F2D3D; /* Text Main */
  margin-bottom: 25px;
  flex-grow: 1;
}

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

.page-the-thao__guide-item {
  background: #ffffff; /* Card BG */
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-the-thao__guide-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  display: block;
}

.page-the-thao__guide-title {
  font-size: 1.6em;
  font-weight: bold;
  color: #2F6BFF; /* Main Color */
  margin-bottom: 15px;
}

.page-the-thao__guide-item p {
  color: #1F2D3D; /* Text Main */
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Tips Section */
.page-the-thao__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-the-thao__tips-list li {
  background: rgba(255, 255, 255, 0.1);
  border-left: 5px solid #6FA3FF; /* Auxiliary Color */
  padding: 20px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.1em;
  color: #ffffff;
}

.page-the-thao__tips-list li strong {
  color: #A5C4FF; /* Glow */
}

/* Promotions Section */
.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; /* Card BG */
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-the-thao__promo-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  display: block;
}

.page-the-thao__promo-title {
  font-size: 1.7em;
  font-weight: bold;
  color: #2F6BFF; /* Main Color */
  margin-bottom: 15px;
}

.page-the-thao__promo-description {
  color: #1F2D3D; /* Text Main */
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Support Section */
.page-the-thao__support-content {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-the-thao__support-text {
  flex: 1;
}

.page-the-thao__support-channels {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-the-thao__support-channels li {
  font-size: 1.1em;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-the-thao__support-channels li strong {
  color: #A5C4FF; /* Glow */
}

.page-the-thao__support-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-the-thao__support-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  display: block;
  margin: 0 auto;
}

/* FAQ Section */
.page-the-thao__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__faq-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  list-style: none;
}

.page-the-thao__faq-question::-webkit-details-marker {
  display: none;
}

.page-the-thao__faq-qtext {
  flex-grow: 1;
  color: #ffffff;
}

.page-the-thao__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  transition: transform 0.3s ease;
  color: #A5C4FF; /* Glow */
}

.page-the-thao__faq-item[open] .page-the-thao__faq-toggle {
  transform: rotate(45deg);
}

.page-the-thao__faq-answer {
  padding: 20px 25px;
  font-size: 1.1em;
  line-height: 1.7;
  color: #f0f0f0;
}

.page-the-thao__faq-answer p {
  margin-bottom: 10px;
  color: #f0f0f0;
}

/* General image and container responsiveness */
.page-the-thao img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-the-thao__section,
.page-the-thao__card,
.page-the-thao__container,
.page-the-thao__lobby-card,
.page-the-thao__guide-item,
.page-the-thao__promo-card,
.page-the-thao__support-content {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

/* Media Queries for responsiveness */
@media (max-width: 1024px) {
  .page-the-thao__hero-content-wrapper {
    margin-top: -100px;
    padding: 30px;
  }

  .page-the-thao__main-title {
    font-size: 2.2em;
  }

  .page-the-thao__subtitle {
    font-size: 1.1em;
  }

  .page-the-thao__section-title {
    font-size: 2em;
  }

  .page-the-thao__lobby-grid,
  .page-the-thao__guide-steps,
  .page-the-thao__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }

  .page-the-thao__support-content {
    flex-direction: column;
    text-align: center;
  }

  .page-the-thao__support-image-wrapper {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-the-thao {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-the-thao__hero-section {
    padding-top: 10px;
    margin-bottom: 20px;
  }

  .page-the-thao__hero-image-wrapper {
    height: 300px;
  }

  .page-the-thao__hero-content-wrapper {
    margin-top: -80px;
    padding: 20px;
  }

  .page-the-thao__main-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .page-the-thao__subtitle {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-the-thao__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-the-thao__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-the-thao__introduction-section,
  .page-the-thao__lobbies-section,
  .page-the-thao__guide-section,
  .page-the-thao__tips-section,
  .page-the-thao__promotions-section,
  .page-the-thao__support-section,
  .page-the-thao__conclusion-section,
  .page-the-thao__faq-section {
    padding: 30px 0;
    margin-bottom: 20px;
  }

  .page-the-thao__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-the-thao__lobby-grid,
  .page-the-thao__guide-steps,
  .page-the-thao__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao__lobby-card,
  .page-the-thao__guide-item,
  .page-the-thao__promo-card {
    padding: 20px;
  }

  .page-the-thao__lobby-image,
  .page-the-thao__guide-image,
  .page-the-thao__promo-image,
  .page-the-thao__support-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-the-thao__lobby-title {
    font-size: 1.5em;
  }

  .page-the-thao__guide-title {
    font-size: 1.4em;
  }

  .page-the-thao__promo-title {
    font-size: 1.4em;
  }

  .page-the-thao__tips-list li {
    padding: 15px;
    font-size: 1em;
  }

  .page-the-thao__support-content {
    flex-direction: column;
    gap: 20px;
  }

  .page-the-thao__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-the-thao__faq-answer {
    padding: 15px 20px;
    font-size: 1em;
  }

  /* Ensure all image containers are correctly sized on mobile */
  .page-the-thao__hero-image-wrapper,
  .page-the-thao__lobby-card,
  .page-the-thao__guide-item,
  .page-the-thao__promo-card,
  .page-the-thao__support-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}