.page-the-thao {
  font-family: Arial, sans-serif;
  color: #1F2D3D;
  background-color: #F4F7FB;
}

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

.page-the-thao__section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-the-thao__text-block {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #1F2D3D;
}

.page-the-thao__dark-section .page-the-thao__section-title,
.page-the-thao__dark-section .page-the-thao__text-block,
.page-the-thao__dark-section .page-the-thao__promo-item {
  color: #ffffff;
}

.page-the-thao__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding for fixed header */
  background-color: #2F6BFF;
  overflow: hidden;
}

.page-the-thao__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

.page-the-thao__hero-title {
  font-size: clamp(38px, 4.5vw, 56px);
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-the-thao__hero-description {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary,
.page-the-thao__step-btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

.page-the-thao__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.6);
}

.page-the-thao__btn-secondary {
  background: #ffffff;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-the-thao__btn-secondary:hover {
  background: #f0f5ff;
  color: #255ad9;
  border-color: #255ad9;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.page-the-thao__btn-large {
  padding: 18px 40px;
  font-size: 20px;
}

.page-the-thao__intro-section {
  padding: 60px 0;
  background-color: #2F6BFF;
}

.page-the-thao__sports-categories-section {
  padding: 80px 0;
}

.page-the-thao__sports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-the-thao__sport-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-the-thao__sport-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.page-the-thao__sport-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-the-thao__sport-card-title {
  font-size: 24px;
  font-weight: bold;
  color: #1F2D3D;
  padding: 20px 20px 10px;
}

.page-the-thao__sport-card-description {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-the-thao__benefits-section {
  padding: 80px 0;
  background-color: #F4F7FB;
}

.page-the-thao__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-the-thao__benefit-item {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.page-the-thao__benefit-item:hover {
  transform: translateY(-5px);
}

.page-the-thao__benefit-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-the-thao__benefit-title {
  font-size: 22px;
  font-weight: bold;
  color: #1F2D3D;
  margin-bottom: 15px;
}

.page-the-thao__benefit-description {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  flex-grow: 1;
}

.page-the-thao__how-to-bet-section {
  padding: 80px 0;
}

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

.page-the-thao__step-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.page-the-thao__step-number {
  width: 60px;
  height: 60px;
  background-color: #2F6BFF;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(47, 107, 255, 0.3);
}

.page-the-thao__step-title {
  font-size: 24px;
  font-weight: bold;
  color: #1F2D3D;
  margin-bottom: 15px;
}

.page-the-thao__step-description {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-the-thao__step-btn {
  padding: 12px 25px;
  font-size: 16px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.page-the-thao__step-btn:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
}

.page-the-thao__final-cta-container {
  text-align: center;
  margin-top: 60px;
}

.page-the-thao__promotions-section {
  padding: 80px 0;
  background-color: #2F6BFF;
}

.page-the-thao__promo-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-the-thao__promo-item {
  font-size: 18px;
  line-height: 1.8;
  color: #ffffff;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
  text-align: left;
}

.page-the-thao__promo-item::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #A5C4FF;
  font-weight: bold;
}

.page-the-thao__cta-container {
  text-align: center;
  margin-top: 40px;
}

.page-the-thao__faq-section {
  padding: 80px 0;
  background-color: #F4F7FB;
}

.page-the-thao__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-the-thao__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #D6E2FF;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 20px;
  font-weight: bold;
  color: #1F2D3D;
  cursor: pointer;
  background-color: #FFFFFF;
  transition: background-color 0.3s ease;
  list-style: none;
}

.page-the-thao__faq-item[open] > .page-the-thao__faq-question {
  background-color: #F0F5FF;
}

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

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

.page-the-thao__faq-toggle {
  font-size: 28px;
  font-weight: normal;
  margin-left: 15px;
  color: #2F6BFF;
  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 25px 20px;
  font-size: 16px;
  line-height: 1.7;
  color: #555;
}

.page-the-thao__faq-answer p {
  margin-top: 0;
  margin-bottom: 0;
  text-align: left;
}

.page-the-thao__final-call-to-action {
  padding: 80px 0;
  background-color: #2F6BFF;
  text-align: center;
  color: #ffffff;
}

.page-the-thao__final-call-to-action .page-the-thao__section-title,
.page-the-thao__final-call-to-action .page-the-thao__text-block {
  color: #ffffff;
}

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

/* Media Queries */
@media (max-width: 1024px) {
  .page-the-thao__hero-title {
    font-size: clamp(34px, 4.5vw, 48px);
  }
  .page-the-thao__hero-description {
    font-size: 18px;
  }
  .page-the-thao__section-title {
    font-size: clamp(26px, 3.5vw, 38px);
  }
  .page-the-thao__text-block {
    font-size: 17px;
  }
  .page-the-thao__sports-grid,
  .page-the-thao__benefits-grid,
  .page-the-thao__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-the-thao__container {
    padding: 20px 30px;
  }
  .page-the-thao__hero-section {
    max-height: 600px;
  }
}

@media (max-width: 768px) {
  .page-the-thao__hero-section {
    padding-top: 10px !important; /* Small top padding for fixed header */
    max-height: unset;
  }
  .page-the-thao__hero-content-wrapper {
    padding: 30px 15px;
  }
  .page-the-thao__hero-title {
    font-size: clamp(28px, 8vw, 36px) !important;
  }
  .page-the-thao__hero-description {
    font-size: 16px !important;
    margin-bottom: 25px;
  }
  .page-the-thao__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* Buttons responsive */
  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary,
  .page-the-thao__step-btn,
  .page-the-thao a[class*="button"],
  .page-the-thao a[class*="btn"] {
    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__hero-cta-buttons,
  .page-the-thao__final-cta-container,
  .page-the-thao__cta-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-the-thao__hero-cta-buttons {
    display: flex;
    flex-direction: column;
  }

  /* Intro section */
  .page-the-thao__intro-section {
    padding: 40px 0;
  }
  .page-the-thao__section-title {
    font-size: clamp(24px, 7vw, 32px) !important;
    margin-bottom: 30px;
  }
  .page-the-thao__text-block {
    font-size: 15px !important;
    padding: 0 15px;
  }

  /* Sports grid */
  .page-the-thao__sports-categories-section {
    padding: 50px 0;
  }
  .page-the-thao__sports-grid,
  .page-the-thao__benefits-grid,
  .page-the-thao__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-the-thao__sport-card-image {
    height: 180px;
  }
  .page-the-thao__sport-card-title {
    font-size: 20px;
  }
  .page-the-thao__sport-card-description {
    font-size: 14px;
  }

  /* Benefits section */
  .page-the-thao__benefits-section {
    padding: 50px 0;
  }
  .page-the-thao__benefit-title {
    font-size: 20px;
  }
  .page-the-thao__benefit-description {
    font-size: 14px;
  }

  /* How-to-bet section */
  .page-the-thao__how-to-bet-section {
    padding: 50px 0;
  }
  .page-the-thao__step-card {
    padding: 25px;
  }
  .page-the-thao__step-title {
    font-size: 20px;
  }
  .page-the-thao__step-description {
    font-size: 14px;
  }
  .page-the-thao__final-cta-container {
    margin-top: 40px;
  }

  /* Promotions section */
  .page-the-thao__promotions-section {
    padding: 50px 0;
  }
  .page-the-thao__promo-item {
    font-size: 15px;
    padding-left: 25px;
    text-align: left !important;
  }

  /* FAQ section */
  .page-the-thao__faq-section {
    padding: 50px 0;
  }
  .page-the-thao__faq-question {
    padding: 15px 20px;
    font-size: 18px;
  }
  .page-the-thao__faq-answer {
    padding: 0 20px 15px;
    font-size: 15px;
  }

  /* Final CTA */
  .page-the-thao__final-call-to-action {
    padding: 50px 0;
  }

  /* Universal image and container sizing for mobile */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-the-thao__container,
  .page-the-thao__sports-categories-section,
  .page-the-thao__benefits-section,
  .page-the-thao__how-to-bet-section,
  .page-the-thao__promotions-section,
  .page-the-thao__faq-section,
  .page-the-thao__final-call-to-action,
  .page-the-thao__sport-card,
  .page-the-thao__benefit-item,
  .page-the-thao__step-card,
  .page-the-thao__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

@media (max-width: 549px) {
  .page-the-thao__hero-title {
    font-size: clamp(24px, 9vw, 32px) !important;
  }
  .page-the-thao__hero-description {
    font-size: 14px !important;
  }
  .page-the-thao__btn-primary, .page-the-thao__btn-secondary {
    font-size: 16px;
    padding: 12px 20px;
  }
  .page-the-thao__section-title {
    font-size: clamp(22px, 8vw, 28px) !important;
  }
  .page-the-thao__text-block {
    font-size: 14px !important;
  }
  .page-the-thao__sport-card-title, .page-the-thao__benefit-title, .page-the-thao__step-title {
    font-size: 18px;
  }
  .page-the-thao__faq-question {
    font-size: 16px;
  }
  .page-the-thao__faq-answer {
    font-size: 14px;
  }
}