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

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

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  height: 600px; /* Adjusted height for desktop */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  box-sizing: border-box;
}

.page-sports__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

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

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

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

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

/* General Section Styles */
.page-sports__intro-section,
.page-sports__features-section,
.page-sports__sports-categories,
.page-sports__live-betting-section,
.page-sports__mobile-betting-section,
.page-sports__promotions-section,
.page-sports__how-to-start-section,
.page-sports__video-section,
.page-sports__faq-section,
.page-sports__cta-final-section {
  padding: 60px 0;
  text-align: center;
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-sports__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-sports__section-title {
  font-size: 2.5em;
  color: #017439;
  margin-bottom: 20px;
}

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

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

.page-sports__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

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

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

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

.page-sports__btn-link {
  background-color: transparent;
  color: #017439;
  border: none;
  padding: 10px 0;
  font-size: 1em;
}

.page-sports__btn-link:hover {
  text-decoration: underline;
}

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

.page-sports__feature-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter background for cards */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards are same height */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-sports__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

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

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

.page-sports__feature-text {
  color: #e0e0e0;
  flex-grow: 1;
}

/* Sports Categories */
.page-sports__categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-sports__category-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 8px;
  text-align: left;
  border-left: 5px solid #017439;
}

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

.page-sports__category-item p {
  color: #cccccc;
}

/* Live Betting */
.page-sports__live-betting-list {
  list-style-type: none;
  padding: 0;
  max-width: 800px;
  margin: 40px auto;
  text-align: left;
}

.page-sports__live-betting-list li {
  background-color: rgba(255, 255, 255, 0.05);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #017439;
  color: #e0e0e0;
  font-size: 1.1em;
}

.page-sports__live-betting-list strong {
  color: #017439;
}

/* Mobile Betting */
.page-sports__mobile-content {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 40px;
  text-align: left;
}

.page-sports__mobile-text-content {
  flex: 1;
}

.page-sports__mobile-subtitle {
  font-size: 2em;
  color: #017439;
  margin-bottom: 20px;
}

.page-sports__mobile-benefits {
  list-style-type: disc;
  padding-left: 20px;
  color: #e0e0e0;
  margin-bottom: 30px;
}

.page-sports__btn-download {
  margin-top: 20px;
}

.page-sports__mobile-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-sports__mobile-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}

/* Promotions Section */
.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: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  border-bottom: 5px solid #017439;
  height: 100%;
}

.page-sports__promotion-title {
  font-size: 1.6em;
  color: #017439;
  margin-bottom: 15px;
}

.page-sports__promotion-text {
  color: #e0e0e0;
}

.page-sports__promotions-cta {
  margin-top: 50px;
}

/* How To Start Section */
.page-sports__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-sports__step-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.page-sports__step-number {
  font-size: 3em;
  font-weight: bold;
  color: #017439;
  margin-bottom: 15px;
}

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

.page-sports__step-text {
  color: #e0e0e0;
  flex-grow: 1;
  margin-bottom: 20px;
}

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

.page-sports__video-wrapper iframe,
.page-sports__video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.page-sports__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  cursor: pointer;
}

.page-sports__video {
  cursor: pointer;
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

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

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

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  background-color: rgba(1, 116, 57, 0.7); /* Darker brand color */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

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

.page-sports__faq-answer p {
  padding-top: 15px;
  padding-bottom: 15px;
  margin: 0;
}

.page-sports__faq-item.active .page-sports__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 15px 25px;
}

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

/* Final CTA Section */
.page-sports__cta-final-section {
  padding-bottom: 80px;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-sports__hero-title {
    font-size: 3em;
  }
  .page-sports__section-title {
    font-size: 2em;
  }
  .page-sports__hero-section {
    height: 500px;
  }
}

@media (max-width: 768px) {
  .page-sports__hero-section {
    height: auto;
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
  }
  .page-sports__hero-title {
    font-size: 2.2em;
  }
  .page-sports__hero-description {
    font-size: 1em;
  }
  .page-sports__intro-section,
  .page-sports__features-section,
  .page-sports__sports-categories,
  .page-sports__live-betting-section,
  .page-sports__mobile-betting-section,
  .page-sports__promotions-section,
  .page-sports__how-to-start-section,
  .page-sports__video-section,
  .page-sports__faq-section,
  .page-sports__cta-final-section {
    padding: 40px 0;
  }
  .page-sports__section-title {
    font-size: 1.8em;
  }
  .page-sports__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-sports__btn-primary,
  .page-sports__btn-secondary,
  .page-sports__btn-link {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-sports__hero-cta-buttons,
  .page-sports__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-sports__features-grid,
  .page-sports__categories-grid,
  .page-sports__promotions-grid,
  .page-sports__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-sports__mobile-content {
    flex-direction: column;
    gap: 30px;
  }
  .page-sports__mobile-text-content,
  .page-sports__mobile-image-wrapper {
    width: 100%;
    text-align: center;
  }
  .page-sports__mobile-benefits {
    text-align: left;
  }
  .page-sports__video-wrapper {
    margin-left: 15px;
    margin-right: 15px;
  }
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .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__faq-question,
  .page-sports__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-sports__faq-item.active .page-sports__faq-answer {
    padding: 15px !important;
  }
}

@media (max-width: 480px) {
  .page-sports__hero-title {
    font-size: 1.8em;
  }
  .page-sports__section-title {
    font-size: 1.5em;
  }
  .page-sports__feature-title,
  .page-sports__category-title,
  .page-sports__mobile-subtitle,
  .page-sports__promotion-title,
  .page-sports__step-title {
    font-size: 1.3em;
  }
  .page-sports__faq-question {
    font-size: 1em;
  }
}