.page-sports-betting {
  font-family: Arial, sans-serif;
  color: #404040; /* Font color */
  background-color: #F3F3F3; /* Background color */
}

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

.page-sports-betting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Minimal padding-top, body handles --header-offset */
  padding-bottom: 60px;
  background-color: #025BE8; /* Auxiliary color for hero background */
  color: #ffffff;
  overflow: hidden;
}

.page-sports-betting__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height to prevent image being too large */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

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

.page-sports-betting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
}

.page-sports-betting__hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.page-sports-betting__hero-description {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #ffffff;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-sports-betting__btn-primary,
.page-sports-betting__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 180px;
  box-sizing: border-box;
}

.page-sports-betting__btn-primary {
  background-color: #1266EC; /* Register color */
  color: #ffffff;
  border: 2px solid #1266EC;
}

.page-sports-betting__btn-primary:hover {
  background-color: #0d4bbd;
  border-color: #0d4bbd;
}

.page-sports-betting__btn-secondary {
  background-color: #E5EEFD; /* Login color */
  color: #025BE8; /* Auxiliary color */
  border: 2px solid #E5EEFD;
}

.page-sports-betting__btn-secondary:hover {
  background-color: #cddffc;
  border-color: #cddffc;
}

.page-sports-betting__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 25px;
  color: #025BE8; /* Auxiliary color */
}

.page-sports-betting__section-intro {
  font-size: 1.05rem;
  line-height: 1.7;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  color: #404040;
}

.page-sports-betting__why-choose-section,
.page-sports-betting__get-started-section,
.page-sports-betting__popular-sports-section,
.page-sports-betting__promotions-section,
.page-sports-betting__responsible-gaming-section,
.page-sports-betting__faq-section,
.page-sports-betting__cta-bottom-section {
  padding: 60px 0;
  background-color: #ffffff;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-sports-betting__why-choose-section {
  background-color: #F3F3F3;
  box-shadow: none;
}

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

.page-sports-betting__feature-card,
.page-sports-betting__step-card,
.page-sports-betting__sport-card,
.page-sports-betting__promo-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-sports-betting__feature-card:hover,
.page-sports-betting__step-card:hover,
.page-sports-betting__sport-card:hover,
.page-sports-betting__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.page-sports-betting__feature-icon,
.page-sports-betting__sport-image,
.page-sports-betting__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-sports-betting__feature-title,
.page-sports-betting__step-title,
.page-sports-betting__sport-title,
.page-sports-betting__promo-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #025BE8;
}

.page-sports-betting__feature-description,
.page-sports-betting__step-description,
.page-sports-betting__sport-description,
.page-sports-betting__promo-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #404040;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-sports-betting__step-card .page-sports-betting__btn-primary {
  margin-top: auto;
}

.page-sports-betting__mobile-app-section {
  background-color: #025BE8;
  color: #ffffff;
  padding: 80px 0;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-sports-betting__mobile-app-content {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.page-sports-betting__mobile-app-text {
  flex: 1;
  min-width: 300px;
}

.page-sports-betting__mobile-app-section .page-sports-betting__section-title {
  color: #ffffff;
  text-align: left;
}

.page-sports-betting__mobile-app-section .page-sports-betting__section-intro {
  color: #ffffff;
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-sports-betting__app-features {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-sports-betting__app-features li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #ffffff;
}

.page-sports-betting__app-features li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #E5EEFD;
  font-weight: bold;
}

.page-sports-betting__mobile-app-image-wrapper {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-sports-betting__mobile-app-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: block;
}

.page-sports-betting__responsible-gaming-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.page-sports-betting__responsible-gaming-list li {
  background-color: #F3F3F3;
  padding: 20px;
  border-radius: 8px;
  font-size: 1rem;
  line-height: 1.6;
  color: #404040;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-sports-betting__responsible-gaming-list li strong {
  color: #025BE8;
}

.page-sports-betting__responsible-gaming-text {
  text-align: center;
  margin-top: 40px;
  font-size: 1.05rem;
  color: #404040;
}

.page-sports-betting__responsible-gaming-text a {
  color: #025BE8;
  text-decoration: none;
  font-weight: 600;
}

.page-sports-betting__responsible-gaming-text a:hover {
  text-decoration: underline;
}

.page-sports-betting__faq-list {
  margin-top: 40px;
}

.page-sports-betting__faq-item {
  background-color: #F3F3F3;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-sports-betting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #E5EEFD;
  color: #025BE8;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

.page-sports-betting__faq-question:hover {
  background-color: #cddffc;
}

.page-sports-betting__faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #025BE8;
}

.page-sports-betting__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-sports-betting__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #404040;
  background-color: #ffffff;
}

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

.page-sports-betting__faq-answer p {
  margin: 0;
  line-height: 1.7;
  font-size: 1rem;
}

.page-sports-betting__cta-bottom-section {
  text-align: center;
  background-color: #025BE8;
  color: #ffffff;
  padding: 80px 0;
}

.page-sports-betting__cta-bottom-section .page-sports-betting__section-title {
  color: #ffffff;
}

.page-sports-betting__cta-bottom-section .page-sports-betting__section-intro {
  color: #ffffff;
  margin-bottom: 40px;
}

.page-sports-betting__cta-bottom-section .page-sports-betting__cta-buttons {
  margin-top: 0;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-sports-betting__hero-image-wrapper {
    max-height: 400px;
  }
  .page-sports-betting__mobile-app-content {
    flex-direction: column;
    text-align: center;
  }
  .page-sports-betting__mobile-app-section .page-sports-betting__section-title,
  .page-sports-betting__mobile-app-section .page-sports-betting__section-intro {
    text-align: center;
  }
  .page-sports-betting__app-features {
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .page-sports-betting__hero-section {
    padding-bottom: 40px;
  }
  .page-sports-betting__hero-image-wrapper {
    max-height: 300px;
  }
  .page-sports-betting__hero-title {
    font-size: 2rem;
  }
  .page-sports-betting__hero-description {
    font-size: 1rem;
  }
  .page-sports-betting__btn-primary,
  .page-sports-betting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-sports-betting__hero-cta-buttons,
  .page-sports-betting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-sports-betting__section-title {
    font-size: 1.6rem;
  }
  .page-sports-betting__section-intro {
    font-size: 0.95rem;
    margin-left: 15px;
    margin-right: 15px;
  }
  .page-sports-betting__why-choose-section,
  .page-sports-betting__get-started-section,
  .page-sports-betting__popular-sports-section,
  .page-sports-betting__promotions-section,
  .page-sports-betting__responsible-gaming-section,
  .page-sports-betting__faq-section,
  .page-sports-betting__cta-bottom-section {
    padding: 40px 0;
  }
  .page-sports-betting__feature-card,
  .page-sports-betting__step-card,
  .page-sports-betting__sport-card,
  .page-sports-betting__promo-card {
    padding: 20px;
  }
  .page-sports-betting__feature-icon,
  .page-sports-betting__sport-image,
  .page-sports-betting__promo-image {
    height: 150px;
  }
  .page-sports-betting__mobile-app-section {
    padding: 60px 0;
  }
  .page-sports-betting__mobile-app-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }
  .page-sports-betting__faq-question h3 {
    font-size: 1rem;
  }
  .page-sports-betting__faq-answer p {
    font-size: 0.95rem;
  }
  .page-sports-betting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-sports-betting__section,
  .page-sports-betting__card,
  .page-sports-betting__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-sports-betting__hero-image-wrapper {
    padding-left: 0;
    padding-right: 0;
  }
  .page-sports-betting__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }
}