/* style/sports.css */
/* body đã padding-top: var(--header-offset) từ shared.css, không lặp lại ở đây */
.page-sports {
  color: #ffffff; /* Do body background là #0a0a0a (dark), text mặc định là light */
  background-color: #0a0a0a; /* Đảm bảo nền chính của trang khớp với body nếu có khoảng trống */
}

.page-sports__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Nhỏ hơn var(--header-offset) để tránh trùng lặp */
  text-align: center;
  background-color: #0a0a0a;
}

.page-sports__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-sports__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-sports__hero-content {
  padding: 20px;
  max-width: 900px;
  margin-top: 20px;
}

.page-sports__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 15px;
  /* Không đặt font-size cố định quá lớn, dùng clamp nếu cần */
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-sports__tagline {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #f0f0f0;
  margin-bottom: 30px;
}

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

.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-sports__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-sports__btn-primary:hover {
  background-color: #1e87b0;
  border-color: #1e87b0;
}

.page-sports__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-sports__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

.page-sports__btn-light-outline {
    border-color: #ffffff;
    color: #ffffff;
}

.page-sports__btn-light-outline:hover {
    background-color: #ffffff;
    color: #26A9E0;
}

.page-sports__btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.page-sports__intro-section,
.page-sports__types-section,
.page-sports__promotions-section,
.page-sports__faq-section {
  background-color: #ffffff;
  color: #333333;
  padding: 60px 20px;
}

.page-sports__features-section,
.page-sports__guide-section,
.page-sports__responsible-gaming-section,
.page-sports__cta-bottom-section {
  background-color: #26A9E0; /* Sử dụng màu chủ đạo cho các phần tối */
  color: #ffffff;
  padding: 60px 20px;
}

.page-sports__container {
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-sports__section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-sports__light-text {
    color: #ffffff;
}

.page-sports__dark-text {
    color: #333333;
}

.page-sports__paragraph {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-sports__feature-card,
.page-sports__type-card,
.page-sports__promotion-card {
  background-color: rgba(255, 255, 255, 0.1); /* Nền hơi trong suốt cho phần tối */
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-sports__type-card,
.page-sports__promotion-card {
    background-color: #f8f8f8; /* Nền sáng cho phần sáng */
    color: #333333;
}

.page-sports__feature-icon,
.page-sports__type-image,
.page-sports__promotion-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-sports__card-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-sports__card-title a {
    color: inherit;
    text-decoration: none;
}

.page-sports__card-title a:hover {
    text-decoration: underline;
}

.page-sports__card-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #e0e0e0; /* Màu text nhạt hơn cho card trên nền tối */
  text-align: justify;
}

.page-sports__type-card .page-sports__card-text,
.page-sports__promotion-card .page-sports__card-text {
    color: #555555; /* Màu text đậm hơn cho card trên nền sáng */
}

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

.page-sports__step-item {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-sports__step-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-sports__step-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #f0f0f0;
  text-align: justify;
}

.page-sports__responsible-list {
  list-style: disc inside;
  font-size: 1rem;
  line-height: 1.7;
  margin-left: 20px;
  margin-bottom: 30px;
  color: #f0f0f0;
  text-align: justify;
}

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

.page-sports__faq-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  color: #333333;
}

.page-sports__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid #eeeeee;
  transition: background-color 0.3s ease;
}

.page-sports__faq-item summary:hover {
  background-color: #f0f0f0;
}

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

.page-sports__faq-qtext {
  flex-grow: 1;
}

.page-sports__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
}

.page-sports__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
  text-align: justify;
}

.page-sports__center-buttons {
    margin-top: 30px;
}

.page-sports__center-buttons .page-sports__btn-primary,
.page-sports__center-buttons .page-sports__btn-secondary {
    margin: 0 7.5px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-sports__hero-section {
    padding: 40px 15px;
    padding-top: 10px; /* Vẫn giữ top padding nhỏ */
  }

  .page-sports__main-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .page-sports__tagline {
    font-size: 1rem;
    margin-bottom: 20px;
  }

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

  .page-sports__btn-primary,
  .page-sports__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px;
    font-size: 0.95rem;
  }

  .page-sports__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 25px;
  }

  .page-sports__intro-section,
  .page-sports__features-section,
  .page-sports__types-section,
  .page-sports__guide-section,
  .page-sports__promotions-section,
  .page-sports__responsible-gaming-section,
  .page-sports__faq-section,
  .page-sports__cta-bottom-section {
    padding: 30px 15px;
  }

  .page-sports__container {
    padding-left: 0;
    padding-right: 0;
  }

  /* Ensure all images are responsive */
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-sports__section,
  .page-sports__card,
  .page-sports__container,
  .page-sports__hero-image-wrapper,
  .page-sports__feature-card,
  .page-sports__type-card,
  .page-sports__promotion-card,
  .page-sports__guide-steps,
  .page-sports__step-item,
  .page-sports__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* padding-left/right for these are handled by section padding */
  }

  .page-sports__faq-item summary {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-sports__faq-answer {
    padding: 10px 20px 15px;
  }
}