/* CSS cho trang Thể Thao (the-thao.css) */
.page-the-thao {
  background-color: #140C0C; /* Nền tối từ shared.css */
  color: #FFF1E8; /* Màu chữ chính cho nền tối */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

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

/* Hero Section */
.page-the-thao__hero-section {
  padding-top: 10px; /* Nhỏ hơn so với header-offset của body */
  position: relative;
  text-align: center;
  color: #FFF1E8;
  overflow: hidden;
}

.page-the-thao__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  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 content is above image if any overlap */
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
  background: rgba(42, 18, 18, 0.8); /* Card BG color with transparency */
  border-radius: 10px;
  margin-top: -100px; /* Overlap slightly for visual effect */
  z-index: 1; /* Ensure content is above other elements */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.page-the-thao__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #F3C54D; /* Gold color */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-the-thao__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  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: 700;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
  color: #140C0C; /* Dark text for light button */
  border: none;
  box-shadow: 0 4px 15px rgba(255, 176, 74, 0.4);
}

.page-the-thao__btn-primary:hover {
  background: linear-gradient(180deg, #FFC77A 0%, #F58A34 100%);
  transform: translateY(-2px);
}

.page-the-thao__btn-secondary {
  background: #2A1212; /* Card BG */
  color: #FFF1E8;
  border: 2px solid #6A1E1E; /* Border color */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-the-thao__btn-secondary:hover {
  background: #3A1F1F;
  transform: translateY(-2px);
}

/* General Section Styles */
.page-the-thao__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: #F3C54D; /* Gold color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-the-thao__sub-title {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  color: #FFB04A; /* Lighter gold/orange */
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: 600;
  text-align: center;
}

.page-the-thao__text-block {
  font-size: 1.05rem;
  margin-bottom: 20px;
  text-align: justify;
  color: #FFF1E8;
}

.page-the-thao__inline-link {
  color: #FFB04A; /* Gold color for inline links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-the-thao__inline-link:hover {
  color: #F3C54D;
}

.page-the-thao__image-wrapper {
  margin: 30px auto;
  max-width: 100%;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

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

/* Advantages Section */
.page-the-thao__dark-section {
  background-color: #2A1212; /* Card BG color */
  color: #FFF1E8;
}

.page-the-thao__advantage-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-the-thao__advantage-item {
  background: rgba(0, 0, 0, 0.2); /* Slightly transparent dark */
  padding: 25px;
  border-radius: 10px;
  border: 1px solid #6A1E1E;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-the-thao__advantage-item:hover {
  transform: translateY(-5px);
}

.page-the-thao__advantage-title {
  font-size: 1.35rem;
  color: #FFB04A;
  margin-bottom: 15px;
  font-weight: 600;
}

/* How-to-Join Section */
.page-the-thao__step-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  counter-reset: step-counter;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.page-the-thao__step-item {
  background: #2A1212; /* Card BG */
  padding: 25px;
  border-radius: 10px;
  border: 1px solid #6A1E1E;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  position: relative;
  padding-left: 70px;
}

.page-the-thao__step-item::before {
  counter-increment: step-counter;
  content: "0" counter(step-counter);
  position: absolute;
  left: 20px;
  top: 25px;
  font-size: 2rem;
  font-weight: 700;
  color: #F3C54D; /* Gold color */
  line-height: 1;
}

.page-the-thao__step-title {
  font-size: 1.35rem;
  color: #FFB04A;
  margin-bottom: 10px;
  font-weight: 600;
}

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

/* Mobile Betting Section */
.page-the-thao__flex-container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-the-thao__text-content {
  flex: 1;
}

.page-the-thao__mobile-image-right {
  flex: 1;
  max-width: 50%; /* Adjust as needed */
}

/* Copyright */
.page-the-thao__copyright-info {
  background-color: #0A0707; /* Even darker background */
  padding: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #6A1E1E; /* Deep Red for copyright */
  margin-top: 40px;
}

.page-the-thao__copyright-text {
  margin: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-the-thao__hero-content {
    margin-top: -80px;
  }
  .page-the-thao__flex-container {
    flex-direction: column;
  }
  .page-the-thao__mobile-image-right {
    max-width: 80%;
  }
  .page-the-thao__advantage-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-the-thao__hero-section {
    padding-top: 10px; /* Force small top padding */
  }
  .page-the-thao__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-the-thao__hero-content {
    padding: 25px 15px;
    margin-top: -50px; /* Adjust overlap */
  }
  .page-the-thao__main-title {
    font-size: 2rem;
  }
  .page-the-thao__hero-description {
    font-size: 1rem;
  }
  .page-the-thao__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* 长文区 */
  .page-the-thao__container {
    padding: 0 15px;
  }
  .page-the-thao__section-title {
    font-size: 1.7rem;
    margin-bottom: 30px;
  }
  .page-the-thao__sub-title {
    font-size: 1.3rem;
  }
  .page-the-thao__text-block {
    font-size: 0.95rem;
  }
  
  /* 通用图片与容器 */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-the-thao__section, /* General section container */
  .page-the-thao__card, /* Card container */
  .page-the-thao__container, /* Main content container */
  .page-the-thao__image-wrapper, /* Image specific container */
  .page-the-thao__flex-container, /* Flex container */
  .page-the-thao__cta-center, /* CTA button container */
  .page-the-thao__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  /* 按钮与按钮容器 */
  .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-left: 15px;
    padding-right: 15px;
  }
  .page-the-thao__cta-buttons, /* For multiple buttons */
  .page-the-thao__button-group {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px;
  }

  /* Advantage List */
  .page-the-thao__advantage-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Step List */
  .page-the-thao__step-item {
    padding-left: 60px;
  }
  .page-the-thao__step-item::before {
    left: 15px;
    font-size: 1.8rem;
  }
  
  /* Blog section is not present on this page, so no specific blog-related media query needed. */
}