/* style/the-thao.css */
.page-the-thao {
  font-family: 'Arial', sans-serif;
  color: #F3F8FF; /* Text Main */
  background-color: #08162B; /* Deep Navy - Body BG */
  line-height: 1.6;
}

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

.page-the-thao__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  background-color: #08162B;
}

.page-the-thao__hero-content {
  max-width: 900px;
  margin-bottom: 30px;
  z-index: 1;
}

.page-the-thao__main-title {
  font-size: 3.2em;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-the-thao__description {
  font-size: 1.2em;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 30px;
}

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

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

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF; /* Text Main */
  border: 2px solid transparent;
}

.page-the-thao__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  box-shadow: 0 0 15px rgba(43, 115, 246, 0.7);
}

.page-the-thao__btn-secondary {
  background: #10233F; /* Card BG */
  color: #F3F8FF; /* Text Main */
  border: 2px solid #244D84; /* Border */
}

.page-the-thao__btn-secondary:hover {
  background-color: #1B3357; /* Divider */
  border-color: #4FA8FF; /* Glow */
  box-shadow: 0 0 15px rgba(79, 168, 255, 0.5);
}

.page-the-thao__hero-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  margin-top: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-the-thao__section-title {
  font-size: 2.5em;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-the-thao__text-block {
  font-size: 1.1em;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 20px;
  text-align: justify;
}

.page-the-thao__intro-section,
.page-the-thao__guide-section,
.page-the-thao__tips-section,
.page-the-thao__platform-section,
.page-the-thao__promotions-section,
.page-the-thao__cta-bottom-section {
  padding: 40px 0;
  background-color: #08162B;
}

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

.page-the-thao__bet-type-card {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-the-thao__bet-type-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.4), 0 0 20px rgba(79, 168, 255, 0.3);
}

.page-the-thao__card-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #1B3357; /* Divider */
}

.page-the-thao__card-title {
  font-size: 1.6em;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-the-thao__card-text {
  font-size: 1em;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-the-thao__card-link {
  color: #4FA8FF; /* Glow */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-the-thao__card-link:hover {
  color: #F2C14E; /* Gold */
  text-decoration: underline;
}

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

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

.page-the-thao__guide-list {
  list-style-type: decimal;
  padding-left: 25px;
  margin-bottom: 20px;
  color: #F3F8FF; /* Text Main */
}

.page-the-thao__guide-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-the-thao__guide-list li strong {
  color: #F2C14E; /* Gold */
}

.page-the-thao__guide-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-the-thao__guide-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  border: 2px solid #244D84; /* Border */
}

.page-the-thao__tips-list {
  list-style-type: disc;
  padding-left: 25px;
  margin-bottom: 30px;
  color: #F3F8FF; /* Text Main */
}

.page-the-thao__tips-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

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

.page-the-thao__cta-bottom-buttons {
  text-align: center;
  margin-top: 30px;
}

.page-the-thao__platform-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-the-thao__feature-card {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-the-thao__feature-title {
  font-size: 1.4em;
  color: #4FA8FF; /* Glow */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-the-thao__feature-text {
  font-size: 1em;
  color: #AFC4E8; /* Text Secondary */
}

.page-the-thao__platform-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 2px solid #244D84; /* Border */
  margin-top: 20px;
}

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

/* Placeholder for homepage-specific sections, as required by CSS output rules */
.page-the-thao__hero-carousel-section { padding-top: 10px; }
.page-the-thao__guide-box { padding: 16px 20px 24px; background: #10233F; border-radius: 4px; }
.page-the-thao__guide-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.page-the-thao__guide-card { flex: 0 0 20%; max-width: 20%; }
.page-the-thao__guide-card img { aspect-ratio: 250/350; object-fit: contain; width: 100%; height: auto; }
.page-the-thao__guide-card--pos-1, .page-the-thao__guide-card--pos-5 { padding-top: 50px; }
.page-the-thao__guide-card--pos-2, .page-the-thao__guide-card--pos-4 { padding-top: 25px; }
.page-the-thao__home-content-box { max-width: 91%; margin: 0 auto; padding: 10px 16px; border: 5px solid #244D84; border-radius: 15px; box-shadow: 0 0 20px #1D5FD1; height: 700px; }
.page-the-thao__home-content-inner { height: 100%; overflow-y: auto; }
.page-the-thao__blog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* Responsive styles for mobile */
@media (max-width: 768px) {
  .page-the-thao {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-the-thao__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

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

  .page-the-thao__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-the-thao__hero-image {
    margin-top: 20px;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

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

  .page-the-thao__text-block {
    font-size: 1em;
  }

  .page-the-thao__bet-types-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao__bet-type-card {
    padding: 20px;
  }

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

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

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

  .page-the-thao__guide-image-wrapper {
    min-width: unset;
    width: 100%;
  }

  .page-the-thao__guide-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-the-thao__tips-list,
  .page-the-thao__guide-list {
    padding-left: 20px;
  }

  .page-the-thao__platform-features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao__platform-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-the-thao__cta-bottom-buttons,
  .page-the-thao__cta-single-button {
    margin-top: 20px;
  }

  /* Mobile specific styles for images */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !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;
  }

  /* REQUIRED PLACEHOLDER: Mobile styles for homepage-specific sections */
  .page-the-thao__hero-carousel-section { padding-top: 10px !important; }
  .page-the-thao__guide-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
  .page-the-thao__guide-card { padding-top: 0 !important; flex: unset; max-width: unset; }
  .page-the-thao__guide-card--pos-1, .page-the-thao__guide-card--pos-2 { grid-column: span 3; }
  .page-the-thao__guide-card--pos-3, .page-the-thao__guide-card--pos-4, .page-the-thao__guide-card--pos-5 { grid-column: span 2; }
  .page-the-thao__guide-card img { aspect-ratio: 250/350; object-fit: contain; width: 100%; height: auto; }
  .page-the-thao__home-content-box { max-width: 100% !important; height: auto !important; margin: 0 auto; padding: 10px 15px; }
  .page-the-thao__home-content-inner { height: auto !important; overflow: visible !important; }
  .page-the-thao__blog-grid { grid-template-columns: 1fr !important; gap: 15px; }
}

@media (max-width: 1024px) {
  .page-the-thao__main-title {
    font-size: 2.8em;
  }
  .page-the-thao__section-title {
    font-size: 2em;
  }
  .page-the-thao__hero-image {
    max-width: 900px;
  }
  .page-the-thao__guide-content {
    flex-direction: column;
    gap: 30px;
  }
  .page-the-thao__guide-image-wrapper {
    min-width: unset;
    width: 100%;
  }
  .page-the-thao__platform-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-the-thao__bet-types-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* REQUIRED PLACEHOLDER: Mobile styles for homepage-specific sections */
  .page-the-thao__hero-carousel-section { padding-top: 10px; }
  .page-the-thao__guide-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .page-the-thao__guide-card { flex: 0 0 30%; max-width: 30%; padding-top: 0; }
  .page-the-thao__guide-card--pos-1, .page-the-thao__guide-card--pos-5 { padding-top: 0; }
  .page-the-thao__guide-card--pos-2, .page-the-thao__guide-card--pos-4 { padding-top: 0; }
  .page-the-thao__home-content-box { max-width: 95%; height: 600px; }
  .page-the-thao__home-content-inner { height: 100%; overflow-y: auto; }
  .page-the-thao__blog-grid { grid-template-columns: repeat(3, 1fr); }
}