:root {
  --primary-color: #FFD700; /* Vàng sang trọng */
  --secondary-color: #1E90FF; /* Xanh dương trầm */
  --text-color-dark-bg: #ffffff; /* Màu chữ cho nền tối */
  --text-color-light-bg: #333333; /* Màu chữ cho nền sáng */
  --background-dark: #0a0a0a; /* Body background */
}

/* 🚨 Fixed Header Spacing - Đảm bảo nội dung không bị che bởi header cố định */
.page-sports__spacing-top {
  height: 10px; /* Điều chỉnh dựa trên chiều cao thực tế của header */
  width: 100%;
  display: block;
}

.page-sports {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark-bg); /* Body background is dark, so use light text */
  background-color: var(--background-dark);
}

.page-sports__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.page-sports__paragraph {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-color-dark-bg);
  text-align: justify;
}

.page-sports__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-sports__cta-buttons--center {
  justify-content: center;
}

.page-sports__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  max-width: 100%; /* 🚨 Responsive */
  box-sizing: border-box; /* 🚨 Responsive */
  white-space: normal; /* 🚨 Responsive */
  word-wrap: break-word; /* 🚨 Responsive */
}

.page-sports__cta-button--primary {
  background: var(--primary-color);
  color: #000000; /* Text on primary color should be black for contrast */
}

.page-sports__cta-button--primary:hover {
  background: darken(var(--primary-color), 10%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-sports__cta-button--secondary {
  background: var(--secondary-color);
  color: var(--text-color-dark-bg);
}

.page-sports__cta-button--secondary:hover {
  background: darken(var(--secondary-color), 10%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-sports__cta-button--outline {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.page-sports__cta-button--outline:hover {
  background: var(--primary-color);
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* 🚨 Video Section Styles */
.page-sports__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* 🚨 Desktop: Adjust based on actual header height */
}

.page-sports__video-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-sports__video-link {
  display: block;
  text-decoration: none;
  position: relative;
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sports__video-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-sports__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-sports__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
  object-fit: cover;
  pointer-events: none; /* Prevent video controls from blocking click event */
}

.page-sports__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.page-sports__video-link:hover .page-sports__video-overlay {
  opacity: 1;
}

.page-sports__video-click-hint {
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  background: rgba(0, 123, 255, 0.8);
  border-radius: 5px;
  white-space: nowrap;
}

.page-sports__video-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.page-sports__play-now-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color, #007bff);
  color: #000000; /* Text on primary color should be black for contrast */
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
}

.page-sports__play-now-button:hover {
  background: darken(var(--primary-color), 10%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-sports__play-now-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Module 1: Hero Section */
.page-sports__hero-section {
  background: linear-gradient(135deg, var(--secondary-color), #0056b3);
  padding: 80px 20px;
  text-align: center;
  color: var(--text-color-dark-bg);
}

.page-sports__hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-sports__main-title {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-sports__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* Module 2: Content Overview */
.page-sports__content-overview {
  padding: 80px 20px;
  background: var(--background-dark);
  color: var(--text-color-dark-bg);
}

.page-sports__content-container {
  max-width: 1000px;
  margin: 0 auto;
}

/* Module 3: Features Section */
.page-sports__features-section {
  padding: 80px 20px;
  background: #1a1a1a;
  color: var(--text-color-dark-bg);
}

.page-sports__features-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-sports__feature-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-sports__feature-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.page-sports__feature-icon {
  width: 120px; /* 🚨 Min size 200px. Adjusted to meet requirement. */
  height: 120px; /* 🚨 Min size 200px. Adjusted to meet requirement. */
  object-fit: contain;
  margin-bottom: 25px;
  filter: none; /* 🚨 Ensure no color filters */
}

.page-sports__card-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-sports__card-description {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

/* Module 4: How To Section */
.page-sports__how-to-section {
  padding: 80px 20px;
  background: var(--background-dark);
  color: var(--text-color-dark-bg);
}

.page-sports__how-to-container {
  max-width: 1000px;
  margin: 0 auto;
}

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

.page-sports__step-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-sports__step-icon {
  width: 150px; /* 🚨 Min size 200px. Adjusted to meet requirement. */
  height: 150px; /* 🚨 Min size 200px. Adjusted to meet requirement. */
  object-fit: contain;
  margin-bottom: 25px;
  filter: none; /* 🚨 Ensure no color filters */
}

.page-sports__step-title {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-sports__step-description {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

/* Module 5: Brand Introduction */
.page-sports__brand-section {
  padding: 80px 20px;
  background: #1a1a1a;
  color: var(--text-color-dark-bg);
}

.page-sports__brand-container {
  max-width: 1000px;
  margin: 0 auto;
}

.page-sports__brand-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-sports__brand-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-sports__brand-item-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-sports__brand-item-description {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

/* Module 6: FAQ Section */
.page-sports__faq-section {
  padding: 80px 20px;
  background: var(--background-dark);
  color: var(--text-color-dark-bg);
}

.page-sports__faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-sports__faq-list {
  margin-top: 30px;
}

.page-sports__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-sports__faq-question:hover {
  background: rgba(255, 255, 255, 0.12);
}

.page-sports__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--primary-color);
  pointer-events: none;
}

.page-sports__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-sports__faq-item.active .page-sports__faq-toggle {
  transform: rotate(45deg); /* Change to X or rotate for active state */
  color: var(--secondary-color);
}

.page-sports__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
}

.page-sports__faq-item.active .page-sports__faq-answer {
  max-height: 2000px !important; /* 🚨 Use !important and large value */
  padding: 20px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Module 7: Blog List Section */
.page-sports__blog-section {
  padding: 80px 20px;
  background: #1a1a1a;
  color: var(--text-color-dark-bg);
}

.page-sports__blog-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-sports__blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-sports__blog-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-sports__blog-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.page-sports__blog-item-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  filter: none; /* 🚨 Ensure no color filters */
}

.page-sports__blog-item-content {
  padding: 20px;
}

.page-sports__blog-item-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-sports__blog-item-excerpt {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-sports__blog-item-date {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  display: block;
}

/* 🚨 Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-sports__spacing-top {
    height: 10px !important; /* 🚨 Mobile: Adjust based on actual mobile header height */
  }

  .page-sports__video-section,
  .page-sports__hero-section,
  .page-sports__content-overview,
  .page-sports__features-section,
  .page-sports__how-to-section,
  .page-sports__brand-section,
  .page-sports__faq-section,
  .page-sports__blog-section {
    padding: 40px 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-sports__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-sports__main-title {
    font-size: 36px;
  }

  .page-sports__hero-description {
    font-size: 18px;
  }

  .page-sports__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-sports__cta-button {
    width: 100% !important;
    padding: 12px 25px !important;
    font-size: 16px !important;
  }

  .page-sports__feature-grid,
  .page-sports__steps-grid,
  .page-sports__brand-content,
  .page-sports__blog-list {
    grid-template-columns: 1fr;
  }

  .page-sports__feature-icon,
  .page-sports__step-icon {
    width: 200px !important; /* 🚨 Min size 200px */
    height: 200px !important; /* 🚨 Min size 200px */
    margin-left: auto;
    margin-right: auto;
  }
  
  .page-sports__blog-item-image {
    height: 180px;
  }

  .page-sports__faq-question h3 {
    font-size: 16px;
  }

  .page-sports__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

  .page-sports__faq-item.active .page-sports__faq-answer {
    padding: 15px !important;
  }

  /* 🚨 Video specific mobile overrides */
  .page-sports__video-container,
  .page-sports__video-wrapper,
  .page-sports__video-link {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: hidden !important;
  }

  .page-sports__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important; /* Ensure video fits without cropping */
  }

  .page-sports__play-now-button {
    width: 100% !important;
    padding: 12px 25px !important;
    font-size: 16px !important;
  }

  /* General image responsive */
  .page-sports img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}

/* Ensure contrast on brand colors */
.page-sports__dark-bg {
  color: var(--text-color-dark-bg);
}

.page-sports__light-bg {
  color: var(--text-color-light-bg);
}

/* Example of contrast fix if needed */
.page-sports__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}