/* style/the-thao.css */
:root {
  --Main-Color: #113B7A;
  --Accent-Color: #1D5FD1;
  --Button-Gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  --Card-BG: #10233F;
  --Text-Main: #F3F8FF;
  --Text-Secondary: #AFC4E8;
  --Border-Color: #244D84;
  --Glow: #4FA8FF;
  --Gold: #F2C14E;
  --Divider: #1B3357;
  --Deep-Navy: #08162B;
}

.page-the-thao {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--Text-Main);
  background-color: transparent; /* Body background handled by shared.css */
}

/* Containers for centering content */
.page-the-thao__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
  box-sizing: border-box;
}

/* General Section Titles and Descriptions */
.page-the-thao__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--Gold);
}

.page-the-thao__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: var(--Text-Secondary);
}

/* Call to Action Buttons */
.page-the-thao__btn-primary,
.page-the-thao__btn-secondary,
.page-the-thao__btn-tertiary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
  text-align: center;
}

.page-the-thao__btn-primary {
  background: var(--Button-Gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-the-thao__btn-secondary {
  background: #ffffff;
  color: var(--Main-Color);
  border: 2px solid var(--Main-Color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-the-thao__btn-secondary:hover {
  transform: translateY(-2px);
  background: var(--Main-Color);
  color: #ffffff;
}

.page-the-thao__btn-tertiary {
  background: var(--Glow);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

/* Hero Section */
.page-the-thao__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background: linear-gradient(180deg, var(--Main-Color) 0%, var(--Deep-Navy) 100%);
  color: var(--Text-Main);
}

.page-the-thao__hero-container {
  max-width: 1170px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding: 40px 16px;
  box-sizing: border-box;
}

.page-the-thao__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
}

.page-the-thao__hero-title {
  font-size: clamp(2.2em, 4vw, 3.2em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--Gold);
}

.page-the-thao__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--Text-Secondary);
}

.page-the-thao__cta-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-the-thao__hero-image {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: center;
}

.page-the-thao__hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
  min-width: 200px; /* Min size requirement */
  min-height: 200px;
}

/* Intro Section (Module 1) */
.page-the-thao__intro-section {
  padding: 60px 0;
  background-color: var(--Deep-Navy);
}

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

.page-the-thao__feature-item {
  text-align: center;
  background-color: var(--Card-BG);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-the-thao__icon-box-media {
  width: 240px; /* Fixed width for circle */
  height: 240px; /* Fixed height for circle */
  aspect-ratio: 1 / 1;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--Glow);
  box-shadow: 0 0 15px rgba(79, 168, 255, 0.5);
}

.page-the-thao__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%; /* Ensure image is also circular */
  display: block;
  min-width: 200px; /* Min size requirement */
  min-height: 200px;
}

.page-the-thao__feature-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--Text-Main);
}

.page-the-thao__feature-text {
  font-size: 1em;
  color: var(--Text-Secondary);
}

/* Sports Categories Section */
.page-the-thao__sports-categories-section {
  padding: 60px 0;
  background-color: var(--Main-Color);
}

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

.page-the-thao__category-card {
  background-color: var(--Card-BG);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-the-thao__category-card img {
  width: 100%;
  height: 225px; /* Fixed height for consistent card image display */
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
  min-width: 200px; /* Min size requirement */
  min-height: 200px;
}

.page-the-thao__card-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  padding: 0 15px;
  color: var(--Text-Main);
}

.page-the-thao__card-text {
  font-size: 0.95em;
  color: var(--Text-Secondary);
  padding: 0 15px 20px;
  flex-grow: 1;
}

.page-the-thao__category-card .page-the-thao__btn-tertiary {
  margin: 0 auto;
}

/* Betting Guide Section */
.page-the-thao__betting-guide-section {
  padding: 60px 0;
  background-color: var(--Deep-Navy);
}

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

.page-the-thao__guide-item {
  background-color: var(--Card-BG);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  position: relative;
}

.page-the-thao__guide-number {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background: var(--Gold);
  color: var(--Deep-Navy);
  border-radius: 50%;
  font-size: 1.8em;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-the-thao__guide-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--Text-Main);
}

.page-the-thao__guide-text {
  font-size: 0.95em;
  color: var(--Text-Secondary);
}

/* Promotions Section */
.page-the-thao__promotions-section {
  padding: 60px 0;
  background-color: var(--Main-Color);
}

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

.page-the-thao__promo-card {
  background-color: var(--Card-BG);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-the-thao__promo-card img {
  width: 100%;
  height: 225px; /* Fixed height for consistent card image display */
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
  min-width: 200px; /* Min size requirement */
  min-height: 200px;
}

/* FAQ Section */
.page-the-thao__faq-section {
  padding: 60px 0;
  background-color: var(--Deep-Navy);
}

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

.page-the-thao__faq-item {
  background-color: var(--Card-BG);
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.page-the-thao__faq-item summary {
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--Text-Main);
  outline: none;
  list-style: none; /* Hide default marker */
}

.page-the-thao__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit */
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

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

.page-the-thao__faq-toggle {
  font-size: 1.5em;
  font-weight: 700;
  margin-left: 15px;
  color: var(--Gold);
}

.page-the-thao__faq-item[open] .page-the-thao__faq-toggle {
  content: '−'; /* Change to minus when open */
}

.page-the-thao__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: var(--Text-Secondary);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-the-thao__hero-container,
  .page-the-thao__container {
    padding-left: 25px;
    padding-right: 25px;
  }

  .page-the-thao__hero-title {
    font-size: clamp(2em, 5vw, 2.8em);
  }

  .page-the-thao__section-title {
    font-size: clamp(1.6em, 4.5vw, 2.4em);
  }

  .page-the-thao__icon-box-media {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 768px) {
  /* HERO SECTION */
  .page-the-thao__hero-section {
    padding-top: 10px !important; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
  }
  .page-the-thao__hero-container {
    flex-direction: column;
    text-align: center;
    padding: 30px 15px;
    gap: 30px;
  }
  .page-the-thao__hero-content {
    flex: 1 1 100%;
  }
  .page-the-thao__hero-image {
    flex: 1 1 100%;
  }
  .page-the-thao__hero-title {
    font-size: clamp(2em, 7vw, 2.5em);
  }
  .page-the-thao__hero-description {
    font-size: 1em;
  }
  .page-the-thao__cta-group {
    flex-direction: column;
    gap: 10px;
  }
  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary,
  .page-the-thao__btn-tertiary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95em;
  }

  /* GENERAL CONTAINER & IMAGES */
  .page-the-thao__container {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  /* INTRO SECTION (MODULE 1) */
  .page-the-thao__intro-section {
    padding: 40px 0;
  }
  .page-the-thao__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-the-thao__feature-item {
    padding: 20px;
  }
  .page-the-thao__icon-box-media {
    width: 150px;
    height: 150px;
    border-width: 3px;
    margin-bottom: 15px;
  }
  .page-the-thao__icon-box-media img {
    min-
    min-
  }
  .page-the-thao__feature-title {
    font-size: 1.3em;
  }
  .page-the-thao__feature-text {
    font-size: 0.9em;
  }

  /* SPORTS CATEGORIES SECTION */
  .page-the-thao__sports-categories-section {
    padding: 40px 0;
  }
  .page-the-thao__category-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-the-thao__category-card img {
    
  }
  .page-the-thao__card-title {
    font-size: 1.2em;
  }
  .page-the-thao__card-text {
    font-size: 0.85em;
  }

  /* BETTING GUIDE SECTION */
  .page-the-thao__betting-guide-section {
    padding: 40px 0;
  }
  .page-the-thao__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-the-thao__guide-number {
    width: 40px;
    height: 40px;
    font-size: 1.5em;
    margin-bottom: 15px;
  }
  .page-the-thao__guide-title {
    font-size: 1.2em;
  }
  .page-the-thao__guide-text {
    font-size: 0.9em;
  }
  .page-the-thao__cta-center {
    margin-top: 30px;
  }

  /* PROMOTIONS SECTION */
  .page-the-thao__promotions-section {
    padding: 40px 0;
  }
  .page-the-thao__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-the-thao__promo-card img {
    
  }

  /* FAQ SECTION */
  .page-the-thao__faq-section {
    padding: 40px 0;
  }
  .page-the-thao__faq-list {
    margin-top: 30px;
  }
  .page-the-thao__faq-item summary {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-the-thao__faq-toggle {
    font-size: 1.3em;
  }
  .page-the-thao__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.9em;
  }
}