.page-sports {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark, so text is light */
  background-color: var(--dark-bg-1); /* Inherit from shared.css */
}

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

.page-sports__dark-section {
  background-color: #0A2342;
  color: #ffffff;
}

.page-sports__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.page-sports__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 40px 20px;
}

.page-sports__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #F2C144;
  line-height: 1.2;
}

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

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

.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

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

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

.page-sports__btn-secondary:hover {
  background-color: #F2C144;
  color: #0A2342;
}

.page-sports__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

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

.page-sports__section-title {
  font-size: 2.5em;
  color: #F2C144;
  text-align: center;
  margin-bottom: 20px;
  margin-top: 40px;
}

.page-sports__section-description {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-sports__why-choose-section {
  background-color: var(--dark-bg-1);
  padding: 60px 0;
  color: #f0f0f0;
}

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

.page-sports__feature-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-sports__feature-title {
  font-size: 1.5em;
  color: #F2C144;
  margin-bottom: 15px;
}

.page-sports__feature-text {
  font-size: 1em;
  color: #cccccc;
}

.page-sports__popular-sports-section {
  padding: 60px 0;
}

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

.page-sports__sport-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-sports__sport-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
}

.page-sports__sport-title {
  font-size: 1.4em;
  color: #F2C144;
  margin-bottom: 10px;
}

.page-sports__sport-text {
  font-size: 0.95em;
  color: #cccccc;
  margin-bottom: 20px;
}

.page-sports__btn-link {
  display: inline-block;
  color: #F2C144;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid #F2C144;
  padding-bottom: 5px;
  transition: all 0.3s ease;
}

.page-sports__btn-link:hover {
  color: #ffffff;
  border-color: #ffffff;
}

.page-sports__live-betting-section {
  background-color: var(--dark-bg-1);
  padding: 60px 0;
  color: #f0f0f0;
}

.page-sports__live-betting-content {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-sports__live-betting-text {
  flex: 1;
  min-width: 300px;
}

.page-sports__live-betting-text ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #cccccc;
}

.page-sports__live-betting-text ul li {
  margin-bottom: 10px;
}

.page-sports__sub-title {
  font-size: 1.8em;
  color: #F2C144;
  margin-bottom: 15px;
  margin-top: 25px;
}

.page-sports__live-betting-image-wrapper {
  flex: 1;
  min-width: 400px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-sports__live-betting-image {
  width: 100%;
  height: auto;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-sports__promotions-section {
  padding: 60px 0;
}

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

.page-sports__promo-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-sports__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
}

.page-sports__promo-title {
  font-size: 1.4em;
  color: #F2C144;
  margin-bottom: 10px;
}

.page-sports__promo-text {
  font-size: 0.95em;
  color: #cccccc;
  margin-bottom: 20px;
}

.page-sports__cta-promotions {
    text-align: center;
    margin-top: 40px;
}

.page-sports__getting-started-section {
    background-color: var(--dark-bg-1);
    padding: 60px 0;
    color: #f0f0f0;
}

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

.page-sports__step-card {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-sports__step-number {
    width: 50px;
    height: 50px;
    background-color: #F2C144;
    color: #0A2342;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
}

.page-sports__step-title {
    font-size: 1.5em;
    color: #F2C144;
    margin-bottom: 15px;
}

.page-sports__step-text {
    font-size: 1em;
    color: #cccccc;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-sports__video-section {
  padding: 60px 0;
}

.page-sports__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border-radius: 10px;
  margin-top: 40px;
}

.page-sports__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  min-width: 200px;
  min-height: 200px;
  cursor: pointer;
}

.page-sports__faq-section {
  background-color: var(--dark-bg-1);
  padding: 60px 0;
  color: #f0f0f0;
}

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

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

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #0A2342;
  color: #F2C144;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-sports__faq-question:hover {
  background-color: #1a3a60;
}

.page-sports__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-sports__faq-item.active .page-sports__faq-toggle {
  transform: rotate(45deg);
}

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

.page-sports__faq-item.active .page-sports__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px;
}

.page-sports__cta-section {
  padding: 80px 0;
  text-align: center;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-sports__hero-title {
    font-size: 2.8em;
  }

  .page-sports__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-sports {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-sports__hero-section {
    padding-bottom: 40px;
  }

  .page-sports__hero-title {
    font-size: 2.2em;
  }

  .page-sports__hero-description {
    font-size: 1em;
  }

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

  .page-sports__btn-primary,
  .page-sports__btn-secondary {
    width: 100%;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-sports__section-title {
    font-size: 1.8em;
  }

  .page-sports__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-sports__features-grid,
  .page-sports__sports-grid,
  .page-sports__promotions-grid,
  .page-sports__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-sports__live-betting-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-sports__live-betting-text,
  .page-sports__live-betting-image-wrapper {
    min-width: unset;
    width: 100%;
  }

  .page-sports__sub-title {
    font-size: 1.5em;
  }

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

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

  /* Mobile Image/Video/Button Responsive */
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-sports video,
  .page-sports__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-sports__section,
  .page-sports__card,
  .page-sports__container,
  .page-sports__video-section,
  .page-sports__video-container,
  .page-sports__video-wrapper,
  .page-sports__cta-buttons,
  .page-sports__button-group,
  .page-sports__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-sports__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }

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

  .page-sports__cta-button,
  .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-left: 15px;
    padding-right: 15px;
  }

  .page-sports__promo-image,
  .page-sports__sport-image {
    height: auto;
  }
}