/* Base Styles */
.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;
  color: #2F6BFF;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.page-the-thao__main-title {
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 20px auto;
  font-size: clamp(2em, 4vw, 3.5em);
}

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

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary,
.page-the-thao__btn-outline {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-the-thao__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-the-thao__btn-secondary {
  background: #FFFFFF;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
}

.page-the-thao__btn-secondary:hover {
  background: #2F6BFF;
  color: #FFFFFF;
}

.page-the-thao__btn-outline {
  background: transparent;
  color: #A5C4FF; /* Glow */
  border: 2px solid #A5C4FF;
}

.page-the-thao__btn-outline:hover {
  background: #A5C4FF;
  color: #FFFFFF;
}

.page-the-thao__content-image {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 30px auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.page-the-thao__hero-section {
  padding-top: 10px; /* Small top padding */
  background-color: #2F6BFF; /* Primary color as base */
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

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

.page-the-thao__hero-content-wrapper {
  padding: 40px 20px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  color: #FFFFFF;
  z-index: 1;
}

.page-the-thao__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #F0F8FF;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

/* Introduction Section */
.page-the-thao__introduction-section {
  padding: 60px 0;
  background-color: #F4F7FB; /* Background */
  color: #1F2D3D;
}

/* Sport Types Section */
.page-the-thao__sport-types-section {
  padding: 60px 0;
  background-color: #2F6BFF; /* Primary color */
  color: #FFFFFF;
}

.page-the-thao__sport-types-section .page-the-thao__section-title {
  color: #FFFFFF;
}

.page-the-thao__sport-types-section .page-the-thao__paragraph {
  color: #F0F8FF;
}

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

.page-the-thao__sport-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  border: 1px solid #6FA3FF;
}

.page-the-thao__sport-card .page-the-thao__card-title {
  font-size: 1.5em;
  color: #FFFFFF;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-the-thao__sport-card .page-the-thao__card-text {
  color: #F0F8FF;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Advantages Section */
.page-the-thao__advantages-section {
  padding: 60px 0;
  background-color: #FFFFFF; /* Card BG */
  color: #1F2D3D;
}

.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-color: #F4F7FB; /* Background */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #D6E2FF;
}

.page-the-thao__advantage-title {
  font-size: 1.4em;
  color: #2F6BFF;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-the-thao__advantage-text {
  color: #1F2D3D;
}

/* Guide Section */
.page-the-thao__guide-section {
  padding: 60px 0;
  background-color: #2F6BFF; /* Primary color */
  color: #FFFFFF;
}

.page-the-thao__guide-section .page-the-thao__section-title {
  color: #FFFFFF;
}

.page-the-thao__guide-section .page-the-thao__paragraph {
  color: #F0F8FF;
}

.page-the-thao__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-the-thao__guide-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  border: 1px solid #6FA3FF;
}

.page-the-thao__guide-step-title {
  font-size: 1.3em;
  color: #FFFFFF;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-the-thao__guide-step-text {
  color: #F0F8FF;
  margin-bottom: 15px;
}

/* Promotions Section */
.page-the-thao__promotions-section {
  padding: 60px 0;
  background-color: #F4F7FB; /* Background */
  color: #1F2D3D;
}

.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-card {
  background-color: #FFFFFF; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #D6E2FF;
}

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

.page-the-thao__promotion-card .page-the-thao__card-title {
  font-size: 1.4em;
  color: #2F6BFF;
  margin: 20px 20px 10px 20px;
  font-weight: 600;
}

.page-the-thao__promotion-card .page-the-thao__card-text {
  color: #1F2D3D;
  padding: 0 20px 20px 20px;
  flex-grow: 1;
}

.page-the-thao__promotion-card .page-the-thao__btn-primary {
  margin: 0 20px 20px 20px;
  width: calc(100% - 40px);
}

.page-the-thao__view-all-promotions {
  margin-top: 40px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ Section */
.page-the-thao__faq-section {
  padding: 60px 0;
  background-color: #2F6BFF; /* Primary color */
  color: #FFFFFF;
}

.page-the-thao__faq-section .page-the-thao__section-title {
  color: #FFFFFF;
}

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

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

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: 600;
  color: #FFFFFF;
  cursor: pointer;
  list-style: none;
}

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

.page-the-thao__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-the-thao__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1em;
  color: #F0F8FF;
}

.page-the-thao__faq-answer p {
  margin-bottom: 15px;
}

/* Conclusion Section */
.page-the-thao__conclusion-section {
  padding: 60px 0;
  background-color: #FFFFFF; /* Card BG */
  color: #1F2D3D;
  text-align: center;
}

.page-the-thao__conclusion-section .page-the-thao__paragraph {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

/* Generic Styles for Homepage Modules (REQUIRED by prompt, even if not used in HTML) */
.page-the-thao__row-games, .page-the-thao__row-sport, .page-the-thao__row-coop {
  background-color: #1A202C;
  padding: 40px 20px;
  max-width: 1330px;
  margin: 0 auto;
}
.page-the-thao__games-title, .page-the-thao__sport-title, .page-the-thao__coop-title {
  color: #fff;
  text-align: center;
}
.page-the-thao__slider-wrapper {
  overflow: hidden;
}
.page-the-thao__slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
}
.page-the-thao__game-slide {
  flex: 0 0 200px;
  max-width: 200px;
}
.page-the-thao__banners-top-wrapper {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}
.page-the-thao__banner-item img {
  
  
  object-fit: contain;
  margin: 0 auto;
  display: block;
}
.page-the-thao__blog-masonry {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.page-the-thao__blog-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.page-the-thao__btn-outline { /* Already defined, but including for checklist adherence */
  margin-top: auto;
}
.page-the-thao__blog-slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
}
.page-the-thao__blog-slide {
  flex: 0 0 calc(33.333% - 14px);
  max-width: calc(33.333% - 14px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-the-thao__main-title {
    font-size: clamp(2em, 4vw, 3em);
  }
  .page-the-thao__hero-description {
    font-size: 1.1em;
  }
  .page-the-thao__section-title {
    font-size: 2em;
  }
  .page-the-thao__sport-grid, .page-the-thao__advantage-grid, .page-the-thao__promotion-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-the-thao {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-the-thao__container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-the-thao__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
    margin-bottom: 15px;
  }
  .page-the-thao__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }
  .page-the-thao__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-the-thao__hero-section {
    padding-bottom: 30px;
  }
  .page-the-thao__hero-image-wrapper {
    max-height: 300px;
  }
  .page-the-thao__hero-content-wrapper {
    padding: 30px 15px;
  }
  .page-the-thao__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-the-thao__btn-primary, .page-the-thao__btn-secondary, .page-the-thao__btn-outline {
    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__cta-buttons, .page-the-thao__button-group, .page-the-thao__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-the-thao__section, .page-the-thao__card, .page-the-thao__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-the-thao__sport-grid, .page-the-thao__advantage-grid, .page-the-thao__promotion-grid {
    grid-template-columns: 1fr;
  }
  .page-the-thao__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-the-thao__faq-answer {
    padding: 0 15px 15px 15px;
  }
  
  /* Homepage Modules specific mobile rules (REQUIRED by prompt) */
  .page-the-thao__home-content {
    height: auto; /* Allow content to expand */
    overflow-y: visible;
    padding: 20px 15px;
  }
  .page-the-thao__home-content h2 {
    font-size: 1.8em;
  }
  .page-the-thao__slider-track {
    display: flex; /* Ensure horizontal scroll */
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .page-the-thao__game-slide {
    flex: 0 0 100%; /* Single card width on mobile */
    max-width: 100%;
    scroll-snap-align: start;
  }
  .page-the-thao__banners-top-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* 3 columns on mobile */
    gap: 8px;
  }
  .page-the-thao__banner-item img {
    
    
  }
  .page-the-thao__blog-masonry {
    grid-template-columns: 1fr; /* Single column for blog cards */
  }
  .page-the-thao__blog-slider-track {
    display: flex; /* Ensure horizontal scroll */
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .page-the-thao__blog-slide {
    flex: 0 0 90%; /* Adjust width for slight peek of next card */
    max-width: 90%;
    scroll-snap-align: start;
  }
}