/* style/the-thao.css */
:root {
  --page-the-thao-primary-color: #11A84E;
  --page-the-thao-secondary-color: #22C768;
  --page-the-thao-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-the-thao-card-bg: #11271B;
  --page-the-thao-background: #08160F;
  --page-the-thao-text-main: #F2FFF6;
  --page-the-thao-text-secondary: #A7D9B8;
  --page-the-thao-border-color: #2E7A4E;
  --page-the-thao-glow-color: #57E38D;
  --page-the-thao-gold-color: #F2C14E;
  --page-the-thao-divider-color: #1E3A2A;
  --page-the-thao-deep-green: #0A4B2C;
}

.page-the-thao {
  font-family: Arial, sans-serif;
  color: var(--page-the-thao-text-main);
  background-color: var(--page-the-thao-background);
  line-height: 1.6;
}

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

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

.page-the-thao__section-title {
  font-size: 3em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--page-the-thao-primary-color);
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__text-block {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 30px;
  color: var(--page-the-thao-text-secondary);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-the-thao__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header-offset */
}

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

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

.page-the-thao__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
  max-width: 800px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-the-thao__main-title {
  font-size: 3.5em;
  font-weight: bold;
  color: var(--page-the-thao-gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 15px var(--page-the-thao-glow-color);
}

.page-the-thao__hero-description {
  font-size: 1.3em;
  color: var(--page-the-thao-text-main);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-the-thao__btn-primary {
  background: var(--page-the-thao-button-gradient);
  color: var(--page-the-thao-text-main);
  border: 2px solid var(--page-the-thao-primary-color);
}

.page-the-thao__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(17, 168, 78, 0.4);
}

.page-the-thao__btn-secondary {
  background: transparent;
  color: var(--page-the-thao-primary-color);
  border: 2px solid var(--page-the-thao-primary-color);
}

.page-the-thao__btn-secondary:hover {
  background: var(--page-the-thao-primary-color);
  color: var(--page-the-thao-text-main);
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(17, 168, 78, 0.4);
}

/* Intro Section */
.page-the-thao__intro-section .page-the-thao__text-block {
  text-align: left;
  font-size: 1.15em;
  line-height: 1.7;
  color: var(--page-the-thao-text-main);
}

.page-the-thao__intro-section .page-the-thao__text-block:last-child {
  margin-bottom: 0;
}

/* Sports List Section */
.page-the-thao__dark-section {
  background-color: var(--page-the-thao-card-bg);
}

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

.page-the-thao__sport-card {
  background-color: rgba(17, 168, 78, 0.1);
  border: 1px solid var(--page-the-thao-border-color);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-the-thao__sport-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(17, 168, 78, 0.2);
}

.page-the-thao__sport-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-the-thao__sport-title {
  font-size: 1.8em;
  color: var(--page-the-thao-primary-color);
  margin-bottom: 10px;
}

.page-the-thao__sport-description {
  font-size: 1em;
  color: var(--page-the-thao-text-secondary);
}

/* Bet Types Section */
.page-the-thao__bet-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-the-thao__bet-type-card {
  background-color: var(--page-the-thao-card-bg);
  border: 1px solid var(--page-the-thao-border-color);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-the-thao__bet-type-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(17, 168, 78, 0.2);
}

.page-the-thao__bet-type-title {
  font-size: 1.8em;
  color: var(--page-the-thao-gold-color);
  margin-bottom: 15px;
}

.page-the-thao__bet-type-description {
  font-size: 1em;
  color: var(--page-the-thao-text-secondary);
}

/* Live Betting Section */
.page-the-thao__live-betting-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  margin: 30px auto 0 auto;
  display: block;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

/* Promo Section */
.page-the-thao__promo-button {
  margin-top: 20px;
}

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

.page-the-thao__guide-step-card {
  background-color: rgba(34, 199, 104, 0.1);
  border: 1px solid var(--page-the-thao-secondary-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-the-thao__step-icon {
  background-color: var(--page-the-thao-primary-color);
  color: var(--page-the-thao-text-main);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(17, 168, 78, 0.6);
}

.page-the-thao__step-title {
  font-size: 1.8em;
  color: var(--page-the-thao-gold-color);
  margin-bottom: 15px;
}

.page-the-thao__step-description {
  font-size: 1em;
  color: var(--page-the-thao-text-secondary);
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Why Choose Section */
.page-the-thao__advantage-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__advantage-item {
  background-color: var(--page-the-thao-card-bg);
  border: 1px solid var(--page-the-thao-divider-color);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  font-size: 1.1em;
  color: var(--page-the-thao-text-main);
}

.page-the-thao__advantage-item strong {
  color: var(--page-the-thao-primary-color);
}

.page-the-thao__advantage-icon {
  font-size: 1.5em;
  color: var(--page-the-thao-glow-color);
  flex-shrink: 0;
}

/* FAQ Section */
.page-the-thao__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__faq-item {
  background-color: rgba(17, 168, 78, 0.1);
  border: 1px solid var(--page-the-thao-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-the-thao__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--page-the-thao-primary-color);
  transition: background-color 0.3s ease;
}

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

.page-the-thao__faq-item summary:hover {
  background-color: rgba(17, 168, 78, 0.2);
}

.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: normal;
  margin-left: 15px;
  color: var(--page-the-thao-gold-color);
}

.page-the-thao__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: var(--page-the-thao-text-secondary);
  line-height: 1.6;
}

.page-the-thao__faq-more-button {
  margin-top: 30px;
}

/* Final CTA Section */
.page-the-thao__final-cta-section .page-the-thao__text-block {
  margin-bottom: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-the-thao__hero-content {
    max-width: 700px;
  }
  .page-the-thao__main-title {
    font-size: 3em;
  }
  .page-the-thao__hero-description {
    font-size: 1.2em;
  }
  .page-the-thao__section-title {
    font-size: 2.5em;
  }
  .page-the-thao__section-padding {
    padding: 40px 0;
  }
}

@media (max-width: 768px) {
  /* General content and image responsiveness */
  .page-the-thao__container,
  .page-the-thao__section,
  .page-the-thao__card,
  .page-the-thao__bet-type-card,
  .page-the-thao__guide-step-card,
  .page-the-thao__advantage-item,
  .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;
  }
  
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Hero Section */
  .page-the-thao__hero-section {
    min-height: unset;
    padding-top: 10px !important; /* Ensure small top padding */
  }

  .page-the-thao__hero-image {
    height: auto !important;
    object-fit: contain !important; /* Important: Contain for mobile hero */
    aspect-ratio: unset !important;
    max-height: none !important;
  }

  .page-the-thao__hero-content {
    position: static;
    transform: none;
    padding: 20px 15px;
    margin-top: 20px; /* Space below image */
    background: rgba(0, 0, 0, 0.8);
  }

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

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

  /* Button responsiveness */
  .page-the-thao__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary,
  .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: 12px 20px !important;
    font-size: 1em !important;
  }

  /* Section titles and text */
  .page-the-thao__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

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

  /* Sports Grid */
  .page-the-thao__sports-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao__sport-image {
    height: 180px;
  }

  .page-the-thao__sport-title {
    font-size: 1.5em;
  }

  /* Bet Types Grid */
  .page-the-thao__bet-types-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao__bet-type-title {
    font-size: 1.5em;
  }

  /* Live Betting Image */
  .page-the-thao__live-betting-image {
    margin-top: 20px;
  }

  /* Guide Steps */
  .page-the-thao__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao__step-title {
    font-size: 1.5em;
  }

  /* Advantage List */
  .page-the-thao__advantage-item {
    font-size: 1em;
    padding: 15px;
    gap: 10px;
  }

  .page-the-thao__advantage-icon {
    font-size: 1.2em;
  }

  /* FAQ Section */
  .page-the-thao__faq-item summary {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-the-thao__faq-toggle {
    font-size: 1.2em;
  }

  .page-the-thao__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.95em;
  }

  .page-the-thao__section-padding {
    padding: 30px 0;
  }
}

@media (max-width: 480px) {
  .page-the-thao__main-title {
    font-size: 1.8em;
  }
  .page-the-thao__section-title {
    font-size: 1.8em;
  }
  .page-the-thao__hero-content {
    padding: 15px;
  }
  .page-the-thao__hero-description {
    font-size: 0.9em;
  }
}