.page-sports__content-wrapper {
  padding-top: 120px; /* Adjust for fixed header on desktop */
  background-color: #000; /* Body background is dark, so content wrapper should also be dark or transparent */
  color: #ffffff; /* Default text color for dark background */
}

.page-sports__section {
  padding: 60px 20px;
  background-color: #000; /* Default dark background for sections */
  color: #ffffff;
}

.page-sports__section--dark {
  background-color: #1a1a1a; /* Slightly lighter dark for contrast */
  color: #ffffff;
}

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

.page-sports__hero-section {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(20,20,20,0.9) 100%), url('[GALLERY:hero:sports_betting,sv388,vietnam,background]') no-repeat center center/cover;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-sports__hero-container {
  position: relative;
  z-index: 1;
}

.page-sports__main-title {
  font-size: 3.5em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFD700; /* Primary brand color for main title */
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  line-height: 1.2;
}

.page-sports__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-sports__section-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 40px;
  text-align: center;
  color: #FFD700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-sports__subtitle {
  font-size: 1.8em;
  font-weight: bold;
  margin-top: 50px;
  margin-bottom: 25px;
  color: #FFD700;
  text-align: center;
}

.page-sports__list {
  list-style: disc inside;
  margin: 20px auto;
  padding-left: 20px;
  max-width: 800px;
  line-height: 1.8;
  color: #e0e0e0;
}

.page-sports__list li {
  margin-bottom: 10px;
}

/* CTA Buttons */
.page-sports__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

.page-sports__cta-button--primary {
  background: #FFD700;
  color: #000000; /* Ensure contrast with #FFD700 */
}

.page-sports__cta-button--primary:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-sports__cta-button--secondary {
  background: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-sports__cta-button--secondary:hover {
  background: #FFD700;
  color: #000000; /* Ensure contrast */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-sports__cta-buttons--center {
  margin-top: 40px;
}

/* Sport Grid */
.page-sports__sport-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-sports__sport-card {
  background: rgba(255, 255, 255, 0.08); /* Light transparent background for dark theme */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-sports__sport-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

.page-sports__sport-name {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FFD700;
}

.page-sports__sport-card p {
  font-size: 0.95em;
  line-height: 1.6;
  color: #e0e0e0;
  flex-grow: 1;
}

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

.page-sports__guide-item {
  background: #1a1a1a; /* Dark background for guide items */
  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;
  color: #ffffff;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

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

.page-sports__guide-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto 25px auto;
  display: block;
}

.page-sports__guide-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-sports__guide-item p {
  font-size: 1em;
  line-height: 1.7;
  color: #e0e0e0;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-sports__button {
  display: inline-block;
  padding: 12px 25px;
  background: #DC143C; /* Auxiliary color for buttons */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-sports__button:hover {
  background: #b20e2f;
  transform: translateY(-2px);
}

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

.page-sports__promo-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-sports__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

.page-sports__promo-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-sports__promo-card p {
  font-size: 0.95em;
  line-height: 1.6;
  color: #e0e0e0;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Security Features */
.page-sports__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-sports__feature-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #ffffff;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-sports__feature-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-sports__feature-item p {
  font-size: 1em;
  line-height: 1.7;
  color: #e0e0e0;
  flex-grow: 1;
}

/* FAQ Section */
.page-sports__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.page-sports__faq-question:hover {
  background: #2a2a2a;
  border-color: rgba(255, 255, 255, 0.2);
}

.page-sports__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  color: #FFD700;
  pointer-events: none;
}

.page-sports__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #f0f0f0;
  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: 28px;
  height: 28px;
}

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

.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 25px;
  opacity: 0;
  background: #0d0d0d;
  color: #e0e0e0;
  line-height: 1.7;
}

.page-sports__faq-item.active .page-sports__faq-answer {
  max-height: 2000px !important; /* Sufficiently large value */
  padding: 20px 25px !important;
  opacity: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0 0 8px 8px;
}

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

.page-sports__blog-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

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

.page-sports__blog-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
  display: block;
}

.page-sports__blog-link {
  text-decoration: none;
  color: inherit;
  display: block;
  padding: 20px 25px 0;
}

.page-sports__blog-item-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FFD700;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.page-sports__blog-link:hover .page-sports__blog-item-title {
  color: #e6c200;
}

.page-sports__blog-item-excerpt {
  font-size: 0.95em;
  line-height: 1.6;
  color: #e0e0e0;
  padding: 0 25px 15px;
  flex-grow: 1;
}

.page-sports__blog-item-date {
  font-size: 0.85em;
  color: #aaaaaa;
  padding: 0 25px 20px;
  display: block;
  margin-top: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports__main-title {
    font-size: 3em;
  }
  .page-sports__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-sports__content-wrapper {
    padding-top: 100px !important; /* Adjust for fixed header on mobile */
  }
  .page-sports__hero-section {
    padding: 60px 15px;
  }
  .page-sports__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-sports__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-sports__section {
    padding: 40px 15px;
  }
  .page-sports__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-sports__subtitle {
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 20px;
  }
  .page-sports__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-sports__cta-button, .page-sports__button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-sports__sport-grid, .page-sports__guide-steps, .page-sports__promo-grid, .page-sports__security-features, .page-sports__blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-sports__sport-card, .page-sports__guide-item, .page-sports__promo-card, .page-sports__feature-item, .page-sports__blog-item {
    padding: 20px;
  }
  .page-sports__sport-image, .page-sports__guide-icon, .page-sports__promo-image, .page-sports__blog-image {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin-left: auto;
    margin-right: auto;
  }
  .page-sports__faq-question {
    padding: 15px 20px;
  }
  .page-sports__faq-question h3 {
    font-size: 1em;
  }
  .page-sports__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  .page-sports__faq-answer {
    padding: 0 20px;
  }
  .page-sports__faq-item.active .page-sports__faq-answer {
    padding: 15px 20px !important;
  }
  .page-sports p, .page-sports li {
    font-size: 0.9em;
  }
  .page-sports__blog-link {
    padding: 15px 20px 0;
  }
  .page-sports__blog-item-excerpt {
    padding: 0 20px 10px;
  }
  .page-sports__blog-item-date {
    padding: 0 20px 15px;
  }
}

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

/* Contrast Fixes */
.page-sports {
  color: #ffffff;
}

.page-sports__card {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.page-sports__button {
  color: #ffffff;
}

.page-sports__cta-button--primary {
  color: #000000; /* Ensure black text on gold */
}

.page-sports__cta-button--secondary {
  color: #FFD700; /* Gold text on transparent/dark */
}

.page-sports__cta-button--secondary:hover {
  color: #000000; /* Black text on gold hover */
}