.page-sports {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Rely on body background from shared.css */
}

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

.page-sports__section-title {
  font-size: clamp(28px, 4vw, 42px); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 30px;
  text-align: center;
  color: #ffffff;
}

.page-sports__text-block {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: justify;
  color: #f0f0f0;
}

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

.page-sports__dark-bg {
  background-color: #000000; /* Assuming body background is dark, using black for sections */
  color: #ffffff;
  padding: 60px 0;
}

.page-sports__light-bg {
  background-color: #1a1a1a; /* Slightly lighter dark for contrast */
  color: #f0f0f0;
  padding: 60px 0;
}

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body handles header offset, small top padding for aesthetic */
  overflow: hidden;
}

.page-sports__hero-image-wrapper {
  width: 100%;
  height: auto;
  margin-bottom: 30px;
}

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

.page-sports__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  z-index: 1;
}

.page-sports__hero-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.1;
}

.page-sports__hero-description {
  font-size: 20px;
  color: #f0f0f0;
  margin-bottom: 40px;
  line-height: 1.5;
}

.page-sports__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

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

/* Introduction Section */
.page-sports__introduction-section .page-sports__section-title,
.page-sports__introduction-section .page-sports__text-block {
  color: #f0f0f0;
}

.page-sports__image-content-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-sports__content-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  display: block;
}

.page-sports__content-text {
  flex: 1;
  max-width: 50%;
}

.page-sports__content-subtitle {
  font-size: 24px;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-sports__content-text p {
  font-size: 17px;
  line-height: 1.6;
  color: #e0e0e0;
  margin-bottom: 20px;
}

/* Sports Types Section */
.page-sports__sports-types-section .page-sports__section-title,
.page-sports__sports-types-section .page-sports__text-block {
  color: #ffffff;
}

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

.page-sports__sports-card {
  background-color: #2a2a2a; /* Lighter dark for card background */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sports__sports-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-sports__sports-card p {
  font-size: 16px;
  line-height: 1.5;
  color: #cccccc;
  margin-bottom: 25px;
}

/* Advantages Section */
.page-sports__advantages-section .page-sports__section-title,
.page-sports__advantages-section .page-sports__text-block {
  color: #f0f0f0;
}

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

.page-sports__advantage-item {
  background-color: #2a2a2a;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-sports__advantage-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-sports__advantage-title {
  font-size: 22px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-sports__advantage-item p {
  font-size: 16px;
  line-height: 1.5;
  color: #cccccc;
}

/* Betting Guide Section */
.page-sports__betting-guide-section .page-sports__section-title,
.page-sports__betting-guide-section .page-sports__text-block {
  color: #ffffff;
}

.page-sports__guide-list {
  list-style: none;
  counter-reset: guide-step;
  margin-top: 40px;
  padding: 0;
}

.page-sports__guide-item {
  background-color: #2a2a2a;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-sports__guide-item::before {
  counter-increment: guide-step;
  content: "Bước " counter(guide-step);
  position: absolute;
  top: -15px;
  left: 20px;
  background-color: #26A9E0;
  color: #ffffff;
  padding: 8px 15px;
  border-radius: 5px;
  font-weight: 700;
  font-size: 16px;
}

.page-sports__guide-step-title {
  font-size: 24px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
  padding-top: 10px; /* Adjust for step number overlay */
}

.page-sports__guide-item p {
  font-size: 17px;
  line-height: 1.6;
  color: #cccccc;
}

/* Promotions Section */
.page-sports__promotions-section .page-sports__section-title,
.page-sports__promotions-section .page-sports__text-block {
  color: #f0f0f0;
}

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

.page-sports__promotion-card {
  background-color: #2a2a2a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sports__promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-sports__promotion-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-sports__promotion-card .page-sports__card-title {
  padding: 20px 20px 10px;
  margin-bottom: 0;
  color: #26A9E0;
}

.page-sports__promotion-card p {
  padding: 0 20px 20px;
  font-size: 16px;
  line-height: 1.5;
  color: #cccccc;
}

.page-sports__promotion-card .page-sports__btn-secondary {
  display: block;
  width: calc(100% - 40px);
  margin: 0 20px 20px;
}

.page-sports__all-promos-cta {
  text-align: center;
  margin-top: 50px;
}

/* FAQ Section */
.page-sports__faq-section .page-sports__section-title {
  color: #ffffff;
}

.page-sports__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  background-color: #3a3a3a;
  border-bottom: 1px solid #4a4a4a;
  list-style: none; /* For details/summary */
}

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

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

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

.page-sports__faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-sports__faq-item[open] .page-sports__faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 15px 20px 20px;
}

.page-sports__faq-item[open] .page-sports__faq-question {
  border-bottom: none;
}

.page-sports__faq-answer p {
  font-size: 16px;
  line-height: 1.6;
  color: #cccccc;
  margin-bottom: 0;
}

.page-sports__faq-cta {
  text-align: center;
  margin-top: 40px;
}

/* Conclusion Section */
.page-sports__conclusion-section .page-sports__section-title,
.page-sports__conclusion-section .page-sports__text-block {
  color: #f0f0f0;
}

.page-sports__conclusion-cta {
  text-align: center;
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports__hero-title {
    font-size: clamp(30px, 4.5vw, 50px);
  }
  .page-sports__hero-description {
    font-size: 18px;
  }
  .page-sports__image-content-block {
    flex-direction: column;
    gap: 30px;
  }
  .page-sports__content-image,
  .page-sports__content-text {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-sports__container {
    padding: 0 15px !important;
  }

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

  .page-sports__hero-title {
    font-size: clamp(28px, 6vw, 40px);
  }

  .page-sports__hero-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

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

  .page-sports__btn-primary,
  .page-sports__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-sports__section-title {
    font-size: clamp(24px, 6vw, 36px);
    margin-bottom: 20px;
  }

  .page-sports__text-block {
    font-size: 16px;
    text-align: left;
  }

  /* Image responsiveness */
  .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__image-content-block,
  .page-sports__sports-grid,
  .page-sports__advantages-grid,
  .page-sports__promotions-grid,
  .page-sports__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-sports__content-image {
    height: auto;
  }

  .page-sports__advantage-image {
    height: 180px;
  }

  .page-sports__promotion-image {
    height: 200px;
  }

  .page-sports__guide-item::before {
    top: -10px;
    left: 10px;
    font-size: 14px;
    padding: 6px 12px;
  }

  .page-sports__guide-step-title {
    font-size: 20px;
    padding-top: 5px;
  }

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

  .page-sports__faq-toggle {
    font-size: 20px;
  }

  .page-sports__faq-answer p {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .page-sports__hero-title {
    font-size: clamp(26px, 7vw, 34px);
  }
  .page-sports__hero-description {
    font-size: 15px;
  }
  .page-sports__section-title {
    font-size: clamp(22px, 7vw, 30px);
  }
  .page-sports__advantage-image {
    height: 150px;
  }
  .page-sports__promotion-image {
    height: 160px;
  }
}