/* style/the-thao.css */
:root {
  --mv88-primary-color: #FF8C1A;
  --mv88-secondary-color: #FFA53A;
  --mv88-card-bg: #17191F;
  --mv88-background: #0D0E12;
  --mv88-text-main: #FFF3E6;
  --mv88-border-color: #A84F0C;
  --mv88-glow-color: #FFB04D;
  --mv88-deep-orange: #D96800;
  --mv88-button-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
}

.page-the-thao {
  background-color: var(--mv88-background);
  color: var(--mv88-text-main); /* Light text on dark background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-the-thao__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
  box-sizing: border-box;
}

.page-the-thao__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--mv88-text-main);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-the-thao__section-description {
  font-size: 1.1em;
  color: var(--mv88-text-main);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao__btn-primary {
  background: var(--mv88-button-gradient);
  color: #ffffff; /* White text on dark orange gradient */
  border: none;
}

.page-the-thao__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 140, 26, 0.4);
}

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

.page-the-thao__btn-secondary:hover {
  background: var(--mv88-primary-color);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(255, 140, 26, 0.4);
}

.page-the-thao__btn-text {
  color: var(--mv88-primary-color);
  text-decoration: none;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.3s ease;
}

.page-the-thao__btn-text:hover {
  color: var(--mv88-secondary-color);
}

.page-the-thao__arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.page-the-thao__btn-text:hover .page-the-thao__arrow {
  transform: translateX(5px);
}

/* HERO Section */
.page-the-thao__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: var(--mv88-background);
  color: var(--mv88-text-main);
}

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

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

.page-the-thao__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: block;
}

.page-the-thao__hero-content {
  flex: 1 1 40%;
  min-width: 300px;
  text-align: left;
}

.page-the-thao__main-title {
  font-size: 3.2em;
  font-weight: 800;
  color: var(--mv88-text-main);
  margin-bottom: 20px;
  line-height: 1.1;
}

.page-the-thao__hero-description {
  font-size: 1.2em;
  color: var(--mv88-text-main);
  margin-bottom: 30px;
}

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

/* Intro Section */
.page-the-thao__intro-section {
  background-color: var(--mv88-card-bg);
  padding: 80px 0;
}

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

.page-the-thao__icon-box {
  background-color: var(--mv88-background);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-the-thao__icon-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-the-thao__icon-box-media {
  width: 180px;
  height: 180px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--mv88-primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-the-thao__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.page-the-thao__icon-box-title {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--mv88-primary-color);
  margin-bottom: 15px;
}

.page-the-thao__icon-box-text {
  color: var(--mv88-text-main);
  font-size: 1em;
}

/* Game Tabs Section */
.page-the-thao__game-tabs-section {
  background-color: var(--mv88-background);
  padding: 80px 0;
}

.page-the-thao__tab-nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.page-the-thao__tab-button {
  background-color: var(--mv88-card-bg);
  color: var(--mv88-text-main);
  border: 1px solid var(--mv88-border-color);
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 1.1em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.page-the-thao__tab-button:hover {
  background-color: var(--mv88-primary-color);
  color: #ffffff;
  border-color: var(--mv88-primary-color);
}

.page-the-thao__tab-button.is-active {
  background: var(--mv88-button-gradient);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(255, 140, 26, 0.4);
}

.page-the-thao__game-panel {
  display: none;
}

.page-the-thao__game-panel.is-active {
  display: block;
}

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

.page-the-thao__panel-item {
  background-color: var(--mv88-card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-the-thao__panel-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-the-thao__panel-item img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-the-thao__panel-item-content {
  padding: 25px;
}

.page-the-thao__panel-title {
  font-size: 1.4em;
  font-weight: bold;
  color: var(--mv88-primary-color);
  margin: 20px 0 10px 25px;
}

.page-the-thao__panel-text {
  color: var(--mv88-text-main);
  font-size: 0.95em;
  margin-bottom: 20px;
  padding: 0 25px;
}

.page-the-thao__panel-item .page-the-thao__btn-text {
  padding: 0 25px 25px;
  display: flex;
}

/* Guide Section */
.page-the-thao__guide-section {
  background-color: var(--mv88-card-bg);
  padding: 80px 0;
}

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

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

.page-the-thao__step-number {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--mv88-button-gradient);
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  border: 3px solid var(--mv88-card-bg);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-the-thao__step-title {
  font-size: 1.4em;
  font-weight: bold;
  color: var(--mv88-primary-color);
  margin-bottom: 15px;
}

.page-the-thao__step-text {
  color: var(--mv88-text-main);
  font-size: 1em;
  margin-bottom: 20px;
}

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

/* Benefits Section */
.page-the-thao__benefits-section {
  background-color: var(--mv88-background);
  padding: 80px 0;
}

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

.page-the-thao__benefit-card {
  background-color: var(--mv88-card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-the-thao__benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-the-thao__card-title {
  font-size: 1.4em;
  font-weight: bold;
  color: var(--mv88-primary-color);
  margin: 20px 25px 10px;
}

.page-the-thao__card-text {
  color: var(--mv88-text-main);
  font-size: 0.95em;
  margin-bottom: 20px;
  padding: 0 25px;
}

.page-the-thao__benefit-card .page-the-thao__btn-text {
  padding: 0 25px 25px;
  display: flex;
}

/* FAQ Section */
.page-the-thao__faq-section {
  background-color: var(--mv88-card-bg);
  padding: 80px 0;
}

.page-the-thao__faq-list {
  margin-top: 40px;
}

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

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: var(--mv88-primary-color);
  cursor: pointer;
  background-color: var(--mv88-background);
  border-bottom: 1px solid var(--mv88-border-color);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-the-thao__faq-item[open] .page-the-thao__faq-question {
  background-color: var(--mv88-card-bg);
}

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

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

.page-the-thao__faq-answer {
  padding: 20px 25px;
  background-color: var(--mv88-card-bg);
  color: var(--mv88-text-main);
  font-size: 1em;
  border-top: 1px solid var(--mv88-border-color);
}

.page-the-thao__faq-answer p {
  margin: 0;
  color: var(--mv88-text-main);
}

/* Blog Section */
.page-the-thao__blog-section {
  background-color: var(--mv88-background);
  padding: 80px 0;
}

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

.page-the-thao__blog-card {
  background-color: var(--mv88-card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-the-thao__blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-the-thao__blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-the-thao__blog-card-title {
  font-size: 1.3em;
  font-weight: bold;
  margin: 20px 25px 10px;
}

.page-the-thao__blog-card-title a {
  color: var(--mv88-primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-the-thao__blog-card-title a:hover {
  color: var(--mv88-secondary-color);
}

.page-the-thao__blog-card-date {
  font-size: 0.9em;
  color: #999;
  margin: 0 25px 10px;
}

.page-the-thao__blog-card-excerpt {
  color: var(--mv88-text-main);
  font-size: 0.95em;
  margin-bottom: 20px;
  padding: 0 25px;
}

.page-the-thao__view-all-button {
  text-align: center;
  margin-top: 50px;
}

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

/* Responsive styles */
@media (max-width: 1024px) {
  .page-the-thao__main-title {
    font-size: 2.8em;
  }
  .page-the-thao__hero-description {
    font-size: 1.1em;
  }
  .page-the-thao__section-title {
    font-size: 2.2em;
  }
  .page-the-thao__icon-box-media {
    width: 160px;
    height: 160px;
  }
  .page-the-thao__panel-item img {
    
  }
  .page-the-thao__benefit-card img {
    height: 200px;
  }
  .page-the-thao__blog-card img {
    
  }
}

@media (max-width: 768px) {
  /* HERO Section Mobile */
  .page-the-thao__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }
  .page-the-thao__hero-container {
    flex-direction: column-reverse;
    padding: 0 15px;
  }
  .page-the-thao__hero-content {
    text-align: center;
    flex: 1 1 100%;
  }
  .page-the-thao__main-title {
    font-size: 2.5em;
    margin-top: 20px;
  }
  .page-the-thao__hero-description {
    font-size: 1em;
  }
  .page-the-thao__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 15px;
  }
  .page-the-thao__hero-image-wrapper {
    flex: 1 1 100%;
  }

  /* Intro Section Mobile */
  .page-the-thao__intro-section,
  .page-the-thao__game-tabs-section,
  .page-the-thao__guide-section,
  .page-the-thao__benefits-section,
  .page-the-thao__faq-section,
  .page-the-thao__blog-section {
    padding: 50px 0;
  }
  .page-the-thao__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-the-thao__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-the-thao__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-the-thao__intro-grid,
  .page-the-thao__benefits-grid,
  .page-the-thao__blog-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-the-thao__icon-box-media {
    width: 200px;
    height: 200px;
    border: 3px solid var(--mv88-primary-color);
  }
  .page-the-thao__icon-box-title {
    font-size: 1.3em;
  }
  .page-the-thao__icon-box-text {
    font-size: 0.9em;
  }

  /* Game Tabs Section Mobile */
  .page-the-thao__tab-nav {
    flex-direction: column;
    gap: 10px;
  }
  .page-the-thao__tab-button {
    width: 100%;
    font-size: 1em;
    padding: 12px 15px;
  }
  .page-the-thao__panel-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-the-thao__panel-item img {
    
  }
  .page-the-thao__panel-title {
    font-size: 1.2em;
    margin: 15px 15px 5px;
  }
  .page-the-thao__panel-text {
    font-size: 0.9em;
    padding: 0 15px;
  }
  .page-the-thao__panel-item .page-the-thao__btn-text {
    padding: 0 15px 15px;
  }

  /* Guide Section Mobile */
  .page-the-thao__guide-steps {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-the-thao__step-title {
    font-size: 1.3em;
  }
  .page-the-thao__step-text {
    font-size: 0.9em;
  }

  /* Benefits Section Mobile */
  .page-the-thao__benefit-card img {
    
  }
  .page-the-thao__card-title {
    font-size: 1.2em;
    margin: 15px 15px 5px;
  }
  .page-the-thao__card-text {
    font-size: 0.9em;
    padding: 0 15px;
  }
  .page-the-thao__benefit-card .page-the-thao__btn-text {
    padding: 0 15px 15px;
  }

  /* FAQ Section Mobile */
  .page-the-thao__faq-question {
    font-size: 1em;
    padding: 15px;
  }
  .page-the-thao__faq-answer {
    padding: 15px;
    font-size: 0.9em;
  }
  .page-the-thao__faq-toggle {
    font-size: 1.2em;
  }

  /* Blog Section Mobile */
  .page-the-thao__blog-card img {
    
  }
  .page-the-thao__blog-card-title {
    font-size: 1.1em;
    margin: 15px 15px 5px;
  }
  .page-the-thao__blog-card-date,
  .page-the-thao__blog-card-excerpt {
    font-size: 0.9em;
    padding: 0 15px;
  }
  .page-the-thao__view-all-button {
    margin-top: 40px;
  }

  /* Universal Image and Container Mobile */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-the-thao__section,
  .page-the-thao__card,
  .page-the-thao__container,
  .page-the-thao__icon-box,
  .page-the-thao__panel-item,
  .page-the-thao__benefit-card,
  .page-the-thao__blog-card,
  .page-the-thao__guide-step-item,
  .page-the-thao__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-the-thao__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0;
    flex-wrap: wrap !important;
    gap: 15px;
  }
  .page-the-thao__cta-buttons .page-the-thao__btn-primary,
  .page-the-thao__cta-buttons .page-the-thao__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0;
  }
}