.page-sports {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: #ffffff;
}

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

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

.page-sports__section-title--white {
  color: #ffffff;
}

.page-sports__section-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__section-intro--white {
  color: #f0f0f0;
}

.page-sports__btn-primary {
  display: inline-block;
  background-color: #017439;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

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

.page-sports__btn-secondary {
  display: inline-block;
  background-color: #ffffff;
  color: #017439;
  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, transform 0.3s ease;
  border: 2px solid #017439;
  cursor: pointer;
}

.page-sports__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005a2b;
  transform: translateY(-2px);
}

.page-sports__btn-register {
  background-color: #C30808;
  color: #FFFF00;
}

.page-sports__btn-register:hover {
  background-color: #a00606;
}

.page-sports__btn-login {
  background-color: #C30808;
  color: #FFFF00;
  border: none;
}

.page-sports__btn-login:hover {
  background-color: #a00606;
}

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

.page-sports__card:hover {
  transform: translateY(-5px);
}

.page-sports__card--dark {
  background-color: #017439;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-sports__card-title {
  font-size: 1.5em;
  margin-top: 15px;
  margin-bottom: 10px;
  font-weight: bold;
  color: #017439;
}

.page-sports__card-title--white {
  color: #ffffff;
}

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

.page-sports__card-description--white {
  color: #f0f0f0;
}

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  color: #ffffff;
  background-color: #017439; /* Fallback */
}

.page-sports__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

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

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

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

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

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

/* About Section */
.page-sports__about-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

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

/* Sports Types Section */
.page-sports__sports-types {
  padding: 80px 0;
  background-color: #017439;
  color: #ffffff;
}

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

/* Live Betting Section */
.page-sports__live-betting {
  padding: 80px 0;
  background-color: #f8f8f8;
}

.page-sports__live-betting-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.page-sports__video-wrapper {
  flex: 2;
  position: relative;
  padding-bottom: 45%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-sports__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
}

.page-sports__live-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.page-sports__feature-item {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-sports__feature-title {
  font-size: 1.3em;
  color: #017439;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-sports__feature-description {
  font-size: 0.95em;
  color: #555555;
}

.page-sports__btn-bet-now {
  margin-top: 20px;
  text-align: center;
}

/* Promotions Section */
.page-sports__promotions {
  padding: 80px 0;
  background-color: #017439;
  color: #ffffff;
}

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

/* Get Started Section */
.page-sports__get-started {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-sports__step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 30px;
}

.page-sports__step-icon {
  width: 60px;
  height: 60px;
  background-color: #017439;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-sports__cta-bottom {
  text-align: center;
  margin-top: 60px;
}

.page-sports__btn-join-now {
  background-color: #C30808;
  color: #FFFF00;
}

.page-sports__btn-join-now:hover {
  background-color: #a00606;
}

/* FAQ Section */
.page-sports__faq-section {
  padding: 80px 0;
  background-color: #017439;
  color: #ffffff;
}

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

.page-sports__faq-item {
  background-color: #ffffff;
  margin-bottom: 15px;
  border-radius: 8px;
  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 25px;
  cursor: pointer;
  background-color: #f0f0f0;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
}

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

.page-sports__faq-title {
  font-size: 1.2em;
  color: #017439;
  margin: 0;
  font-weight: bold;
}

.page-sports__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #017439;
  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 25px;
  background-color: #ffffff;
  color: #333333;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

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

.page-sports__faq-answer p {
  margin: 0;
  font-size: 1em;
}

/* Final CTA Section */
.page-sports__final-cta {
  padding: 80px 0;
  text-align: center;
  background-color: #ffffff;
}

.page-sports__btn-final-register {
  background-color: #C30808;
  color: #FFFF00;
}

.page-sports__btn-final-register:hover {
  background-color: #a00606;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-sports__hero-title {
    font-size: 3em;
  }
  .page-sports__hero-description {
    font-size: 1.2em;
  }
  .page-sports__live-betting-content {
    flex-direction: column;
    align-items: center;
  }
  .page-sports__video-wrapper {
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 for smaller screens */
  }
  .page-sports__live-features {
    width: 100%;
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-sports {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-sports__hero-section {
    min-height: 500px;
  }
  .page-sports__hero-title {
    font-size: 2.2em;
  }
  .page-sports__hero-description {
    font-size: 1em;
  }
  .page-sports__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-sports__btn-primary, .page-sports__btn-secondary {
    width: 100%;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }

  .page-sports__section-title {
    font-size: 2em;
  }
  .page-sports__section-intro {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-sports__card {
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  .page-sports__card-image {
    height: 180px;
  }
  .page-sports__card-title {
    font-size: 1.3em;
  }

  /* Image & Video 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,
  .page-sports__button-group,
  .page-sports__btn-container {
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-sports__faq-question {
    padding: 15px 20px;
  }
  .page-sports__faq-title {
    font-size: 1.1em;
  }
  .page-sports__faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-sports__hero-title {
    font-size: 1.8em;
  }
  .page-sports__hero-description {
    font-size: 0.9em;
  }
  .page-sports__section-title {
    font-size: 1.8em;
  }
  .page-sports__hero-section {
    min-height: 400px;
  }
}