/* style/the-thao.css */

:root {
  --primary-color: #FF8C1A;
  --secondary-color: #FFA53A;
  --card-bg: #17191F;
  --body-bg: #0D0E12;
  --text-main: #FFF3E6;
  --border-color: #A84F0C;
  --glow-color: #FFB04D;
  --deep-orange: #D96800;
  --button-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
}

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

.page-the-thao__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  position: relative;
  overflow: hidden;
  color: var(--text-main);
}

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

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

.page-the-thao__hero-content {
  position: relative; /* Ensure text is above any potential background effect */
  z-index: 10;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content up slightly over the image for visual flow */
  background: rgba(13, 14, 18, 0.7); /* Semi-transparent dark background for text readability */
  border-radius: 10px;
}

.page-the-thao__main-title {
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 140, 26, 0.5);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

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

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

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
}

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

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

.page-the-thao__btn-secondary:hover {
  background-color: rgba(255, 140, 26, 0.1);
  color: #ffffff;
  border-color: #ffffff;
  transform: translateY(-2px);
}

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

.page-the-thao__article-wrap {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-the-thao__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.3;
}

.page-the-thao__paragraph {
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-the-thao__figure {
  margin: 30px 0;
  text-align: center;
}

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

.page-the-thao__figcaption {
  font-size: 0.9rem;
  color: var(--text-main);
  opacity: 0.8;
  margin-top: 10px;
}

.page-the-thao__sport-category {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

.page-the-thao__sport-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-weight: 600;
}

.page-the-thao__bet-type-item {
  background-color: var(--card-bg);
  border-left: 5px solid var(--primary-color);
  border-radius: 0 8px 8px 0;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-the-thao__bet-type-title {
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-the-thao__advantage-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-the-thao__list-item {
  background-color: var(--card-bg);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 1.05rem;
  display: flex;
  align-items: flex-start;
}

.page-the-thao__list-item::before {
  content: '✔';
  color: var(--secondary-color);
  font-weight: bold;
  margin-right: 10px;
  font-size: 1.2rem;
  line-height: 1;
}

.page-the-thao__guide-step {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

.page-the-thao__guide-step-title {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-weight: 700;
  text-align: center;
}

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

.page-the-thao a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-the-thao a:hover {
  color: var(--glow-color);
  text-decoration: underline;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-the-thao__hero-section {
    padding-top: 10px !important; /* Small top padding, body handles --header-offset */
  }

  .page-the-thao__hero-image-wrapper {
    max-height: 300px;
  }

  .page-the-thao__hero-content {
    padding: 30px 15px;
    margin-top: -50px;
  }

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

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

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

  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

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

  .page-the-thao__paragraph {
    font-size: 0.95rem;
  }

  .page-the-thao__img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-the-thao__sport-category,
  .page-the-thao__bet-type-item,
  .page-the-thao__guide-step {
    padding: 20px;
    margin-bottom: 20px;
  }

  .page-the-thao__sport-title,
  .page-the-thao__bet-type-title,
  .page-the-thao__guide-step-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
  }

  .page-the-thao__list-item {
    font-size: 0.95rem;
    padding: 12px 15px;
  }

  .page-the-thao__cta-center {
    margin-top: 30px;
  }
}