.page-sports {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background #0a0a0a is dark, so text is light */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

.page-sports__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
}

.page-sports__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  overflow: hidden;
  position: relative;
}

.page-sports__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Darken image slightly for text readability */
}

.page-sports__hero-content {
  position: relative;
  z-index: 1; /* Ensure content is above the image filter */
  max-width: 900px;
  padding: 40px 20px;
  margin-top: -150px; /* Pull content up to overlap darkened image slightly, but not text over image */
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text block */
  border-radius: 10px;
}

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

.page-sports__hero-description {
  font-size: 1.2rem;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

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

.page-sports__btn-primary:hover {
  background-color: #1a8ccb;
  transform: translateY(-2px);
}

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

.page-sports__btn-secondary:hover {
  background-color: rgba(38, 169, 224, 0.1);
  transform: translateY(-2px);
}

.page-sports__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: #26A9E0;
}

.page-sports__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-sports__highlight {
  color: #26A9E0;
  font-weight: 700;
}

/* Section specific styles */
.page-sports__about-section,
.page-sports__odds-section,
.page-sports__registration-guide-section,
.page-sports__faq-section {
  padding: 80px 0;
  color: #333333; /* Light background, dark text */
  background-color: #ffffff;
}

.page-sports__products-section,
.page-sports__promotions-section,
.page-sports__security-support-section,
.page-sports__conclusion-section {
  padding: 80px 0;
  color: #ffffff; /* Dark background, light text */
  background-color: #1a1a1a;
}

.page-sports__products-section .page-sports__section-title,
.page-sports__promotions-section .page-sports__section-title,
.page-sports__security-support-section .page-sports__section-title,
.page-sports__conclusion-section .page-sports__section-title {
  color: #ffffff;
}

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

.page-sports__card {
  background: rgba(255, 255, 255, 0.05); /* Slightly transparent white for dark background */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-sports__about-section .page-sports__card {
  background: #f9f9f9;
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-sports__card-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-sports__card-description {
  font-size: 1rem;
  line-height: 1.6;
  flex-grow: 1;
}

.page-sports__card-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  object-fit: cover;
}

.page-sports__image-wrapper {
  margin: 40px auto;
  text-align: center;
}

.page-sports__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-sports__promo-list,
.page-sports__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-sports__promo-item,
.page-sports__guide-item {
  background: rgba(255, 255, 255, 0.08); /* For dark sections */
  border-left: 5px solid #26A9E0;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  color: #f0f0f0;
}

.page-sports__about-section .page-sports__promo-item,
.page-sports__registration-guide-section .page-sports__guide-item {
  background: #f0f0f0;
  color: #333333;
}

.page-sports__promo-item strong,
.page-sports__guide-item strong {
  color: #26A9E0;
}

.page-sports__guide-item {
  counter-increment: guide-counter;
  position: relative;
  padding-left: 60px;
}

.page-sports__guide-item::before {
  content: "Bước " counter(guide-counter);
  position: absolute;
  left: 0;
  top: 0;
  background-color: #26A9E0;
  color: #ffffff;
  padding: 10px 15px;
  border-radius: 5px 0 0 5px;
  font-weight: bold;
}

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

.page-sports__faq-item {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  color: #333333;
}

.page-sports__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  background-color: #ffffff;
  color: #333333;
  position: relative;
  user-select: none;
}

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

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

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

.page-sports__faq-item[open] .page-sports__faq-toggle {
  content: '−';
}

.page-sports__faq-answer {
  padding: 20px;
  background-color: #f0f0f0;
  font-size: 1.1rem;
  border-top: 1px solid #e0e0e0;
  color: #555555;
}

.page-sports__faq-answer p {
  margin-bottom: 0;
  color: #555555;
}

.page-sports__link {
  color: #26A9E0;
  text-decoration: underline;
}

.page-sports__link:hover {
  color: #1a8ccb;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-sports__container,
  .page-sports__hero-section,
  .page-sports__about-section,
  .page-sports__products-section,
  .page-sports__odds-section,
  .page-sports__promotions-section,
  .page-sports__registration-guide-section,
  .page-sports__security-support-section,
  .page-sports__faq-section,
  .page-sports__conclusion-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .page-sports__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px !important;
  }

  .page-sports__hero-content {
    margin-top: -100px !important;
    padding: 20px 15px !important;
  }

  .page-sports__main-title {
    font-size: 2rem !important;
    margin-bottom: 15px !important;
  }

  .page-sports__hero-description {
    font-size: 1rem !important;
    margin-bottom: 20px !important;
  }

  .page-sports__section-title {
    font-size: 2rem !important;
    margin-bottom: 20px !important;
  }

  .page-sports__text-block {
    font-size: 1rem !important;
  }

  .page-sports img,
  .page-sports__card-image,
  .page-sports__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .page-sports__grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .page-sports__card {
    padding: 20px !important;
  }

  .page-sports__card-title {
    font-size: 1.5rem !important;
  }

  .page-sports__btn-primary,
  .page-sports__btn-secondary,
  .page-sports a[class*="button"],
  .page-sports 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: 12px 20px !important;
    margin-bottom: 10px; /* Add space between stacked buttons */
  }

  .page-sports__cta-buttons,
  .page-sports__button-group,
  .page-sports__btn-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

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

  .page-sports__promo-item,
  .page-sports__guide-item {
    padding: 15px !important;
    padding-left: 50px !important;
  }

  .page-sports__guide-item::before {
    padding: 8px 10px !important;
    font-size: 0.9rem !important;
  }
}