.page-the-thao {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background: #0A0A0A; /* Background */
}

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

.page-the-thao__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 50px;
  background: #0A0A0A;
}

.page-the-thao__hero-image-wrapper {
  width: 100%;
  overflow: hidden;
  margin-bottom: 30px;
}

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

.page-the-thao__hero-content {
  max-width: 900px;
  padding: 0 15px;
  margin-top: 10px; /* Small top padding for the first content block */
}

.page-the-thao__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: #FFD36B; /* Glow */
  margin-bottom: 20px;
}

.page-the-thao__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #FFF6D6;
}

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

.page-the-thao__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  color: #FFD36B;
  margin-bottom: 40px;
  padding-top: 60px;
}

.page-the-thao__section-description {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 50px;
  color: #FFF6D6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__advantages-section, 
.page-the-thao__betting-types-section, 
.page-the-thao__guide-section, 
.page-the-thao__promotions-section, 
.page-the-thao__faq-section, 
.page-the-thao__cta-section {
  padding: 80px 0;
  background: #0A0A0A;
}

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

.page-the-thao__grid--2-cols {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.page-the-thao__advantage-card, 
.page-the-thao__type-card, 
.page-the-thao__promo-card {
  background: #111111; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
  border: 1px solid #3A2A12; /* Border */
}

.page-the-thao__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-the-thao__card-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Main Color */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-the-thao__card-text {
  font-size: 1rem;
  color: #FFF6D6;
  padding: 0 15px;
}

.page-the-thao__guide-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

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

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

.page-the-thao__guide-list li {
  background: #111111;
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  border-left: 5px solid #F2C14E;
  color: #FFF6D6;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-the-thao__guide-list li strong {
  color: #FFD36B;
}

.page-the-thao__guide-image-wrapper {
  flex: 1;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12;
}

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

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

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

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

details.page-the-thao__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #3A2A12; /* Border */
  overflow: hidden;
  background: #111111; /* Card BG */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

details.page-the-thao__faq-item summary.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #F2C14E; /* Main Color */
  font-weight: 600;
}

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

details.page-the-thao__faq-item summary.page-the-thao__faq-question:hover {
  background: rgba(242, 193, 78, 0.1); /* Light hover effect */
}

.page-the-thao__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  line-height: 1.5;
  text-align: left;
  color: #FFF6D6;
}

.page-the-thao__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD36B; /* Glow */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-the-thao__faq-item .page-the-thao__faq-answer {
  padding: 0 25px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 10px 10px;
  color: #FFF6D6;
}

.page-the-thao__faq-answer p {
  margin: 0;
  font-size: 1rem;
}

.page-the-thao__cta-section {
  background: #0A0A0A;
  padding: 100px 0;
}

.page-the-thao__cta-content {
  text-align: center;
  margin-bottom: 50px;
}

.page-the-thao__cta-section .page-the-thao__section-title {
  margin-bottom: 20px;
}

.page-the-thao__cta-section .page-the-thao__section-description {
  margin-bottom: 40px;
}

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

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

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button Gradient */
  color: #111111; /* Dark text for contrast */
  border: none;
}

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

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

.page-the-thao__btn-secondary:hover {
  background: #FFD36B;
  color: #111111;
  transform: translateY(-2px);
}

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

/* Media Queries for responsiveness */
@media (max-width: 1024px) {
  .page-the-thao__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-the-thao__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }

  .page-the-thao__guide-content {
    flex-direction: column;
  }

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

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

@media (max-width: 768px) {
  .page-the-thao__hero-content {
    padding-top: 10px; /* Small top padding for the first content block */
  }

  .page-the-thao__hero-section {
    padding-bottom: 30px;
  }

  .page-the-thao__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem) !important;
  }

  .page-the-thao__hero-description {
    font-size: 1rem;
  }

  .page-the-thao__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-the-thao__btn-primary, .page-the-thao__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-the-thao__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem) !important;
    padding-top: 40px;
    margin-bottom: 30px;
  }

  .page-the-thao__section-description {
    font-size: 0.95rem;
    margin-bottom: 40px;
  }

  .page-the-thao__advantages-section, 
  .page-the-thao__betting-types-section, 
  .page-the-thao__guide-section, 
  .page-the-thao__promotions-section, 
  .page-the-thao__faq-section, 
  .page-the-thao__cta-section {
    padding: 50px 0;
  }

  .page-the-thao__grid, .page-the-thao__grid--2-cols, .page-the-thao__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao__card-image {
    height: 200px;
  }

  .page-the-thao__card-title {
    font-size: 1.3rem;
  }

  .page-the-thao__card-text {
    font-size: 0.9rem;
  }

  .page-the-thao__guide-content {
    flex-direction: column;
  }

  .page-the-thao__guide-list li {
    padding: 15px;
    font-size: 0.95rem;
  }

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

  details.page-the-thao__faq-item summary.page-the-thao__faq-question {
    padding: 15px 20px;
  }

  .page-the-thao__faq-qtext {
    font-size: 1rem;
  }

  .page-the-thao__faq-toggle {
    font-size: 20px;
    width: 24px;
  }

  details.page-the-thao__faq-item .page-the-thao__faq-answer {
    padding: 0 20px 15px;
  }

  .page-the-thao__faq-answer p {
    font-size: 0.95rem;
  }

  .page-the-thao__cta-section {
    padding: 60px 0;
  }

  .page-the-thao__cta-content {
    margin-bottom: 30px;
  }

  /* Mobile image specific rules */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-the-thao__hero-image-wrapper,
  .page-the-thao__advantages-section,
  .page-the-thao__betting-types-section,
  .page-the-thao__guide-section,
  .page-the-thao__promotions-section,
  .page-the-thao__faq-section,
  .page-the-thao__cta-section,
  .page-the-thao__container,
  .page-the-thao__advantage-card,
  .page-the-thao__type-card,
  .page-the-thao__promo-card,
  .page-the-thao__guide-image-wrapper,
  .page-the-thao__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-the-thao__hero-cta-buttons, .page-the-thao__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }
}