/* style/sports.css */
.page-sports {
  color: #ffffff; /* Default text color for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-sports__section-title {
  font-size: clamp(2em, 2.5vw, 2.8em); /* Responsive H1/H2 font size */
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
  color: #26A9E0;
  line-height: 1.2;
}

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

.page-sports__text-block {
  font-size: 1.1em;
  margin-bottom: 15px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #333333; /* Default for light backgrounds */
}

.page-sports__text-block--white {
  color: #ffffff;
}

.page-sports__text-block--center {
  text-align: center;
}

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  background: linear-gradient(135deg, #26A9E0 0%, #1A7BBF 100%); /* Brand color gradient */
  overflow: hidden;
}

.page-sports__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height of the image wrapper */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-sports__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  min-height: 300px; /* Ensure minimum height */
  display: block;
}

.page-sports__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  color: #ffffff;
}

.page-sports__main-title {
  font-size: clamp(2.5em, 4.5vw, 3.8em);
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.1;
  color: #ffffff;
}

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

.page-sports__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: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

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

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

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

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

/* Intro Section */
.page-sports__intro-section,
.page-sports__betting-types-section,
.page-sports__promotions-section,
.page-sports__faq-section {
  padding: 60px 0;
  background: #FFFFFF;
  color: #333333;
}

/* Video Section */
.page-sports__video-section {
  padding: 10px 0 60px; /* Small top padding */
  background: linear-gradient(135deg, #26A9E0 0%, #1A7BBF 100%);
  color: #ffffff;
  text-align: center;
}

.page-sports__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px; /* Max width for video */
  margin: 30px auto;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  background-color: #000;
  border-radius: 8px;
}

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

.page-sports__video-cta {
  font-size: 1.1em;
  font-style: italic;
  margin-top: 20px;
}

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

.page-sports__card {
  background: #ffffff;
  color: #333333;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-sports__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-sports__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-sports__card-title {
  font-size: 1.5em;
  font-weight: 700;
  margin: 20px 15px 10px;
  color: #26A9E0;
}

.page-sports__card-text {
  font-size: 1em;
  color: #555555;
  padding: 0 15px;
  margin-bottom: 20px;
}

.page-sports__card-link {
  display: inline-block;
  padding: 10px 20px;
  margin-bottom: 20px;
  background: #26A9E0;
  color: #ffffff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.page-sports__card-link:hover {
  background: #1A7BBF;
}

/* Guide Section */
.page-sports__guide-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #26A9E0 0%, #1A7BBF 100%);
  color: #ffffff;
  text-align: center;
}

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

.page-sports__step-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-sports__step-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

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

.page-sports__btn-primary--small,
.page-sports__btn-secondary--small {
  padding: 10px 20px;
  font-size: 0.95em;
}

/* Promotions Section */
.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: #ffffff;
  color: #333333;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  border: 1px solid #e0e0e0;
}

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

.page-sports__promo-title {
  font-size: 1.6em;
  font-weight: 700;
  margin: 0 15px 10px;
  color: #26A9E0;
}

.page-sports__promo-text {
  font-size: 1em;
  color: #555555;
  padding: 0 15px;
  margin-bottom: 25px;
}

/* Features Section */
.page-sports__features-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #26A9E0 0%, #1A7BBF 100%);
  color: #ffffff;
}

.page-sports__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-sports__feature-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-sports__feature-title {
  font-size: 1.5em;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}

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

/* FAQ Section */
.page-sports__faq-list {
  margin-top: 40px;
}

.page-sports__faq-item {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  background: #f8f8f8;
  border-bottom: 1px solid #e0e0e0;
  list-style: none; /* For details/summary */
}

.page-sports__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome */
}

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

.page-sports__faq-qtext {
  flex-grow: 1;
  text-align: left;
}

.page-sports__faq-toggle {
  font-size: 1.5em;
  font-weight: 300;
  margin-left: 15px;
  color: #555555;
}

.page-sports__faq-answer {
  padding: 15px 25px;
  font-size: 1em;
  color: #555555;
  text-align: left;
}

.page-sports__faq-item[open] .page-sports__faq-question {
  border-bottom: 1px solid transparent; /* Remove border when open */
}

.page-sports__faq-item[open] .page-sports__faq-toggle {
  content: '−';
}

/* CTA Bottom Section */
.page-sports__cta-bottom-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #26A9E0 0%, #1A7BBF 100%);
  color: #ffffff;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports__hero-image-wrapper {
    max-height: 500px;
  }

  .page-sports__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em);
  }

  .page-sports__section-title {
    font-size: clamp(1.8em, 2.3vw, 2.5em);
  }

  .page-sports__text-block {
    font-size: 1em;
  }

  .page-sports__grid,
  .page-sports__guide-steps,
  .page-sports__promo-grid,
  .page-sports__feature-list {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-sports__container {
    padding: 0 15px;
  }

  .page-sports__hero-section,
  .page-sports__intro-section,
  .page-sports__video-section,
  .page-sports__betting-types-section,
  .page-sports__guide-section,
  .page-sports__promotions-section,
  .page-sports__features-section,
  .page-sports__faq-section,
  .page-sports__cta-bottom-section {
    padding: 40px 0;
  }

  .page-sports__hero-section {
    padding-top: 10px !important; /* Small top padding for mobile */
  }

  .page-sports__hero-image-wrapper {
    max-height: 400px;
    margin-bottom: 20px;
  }

  .page-sports__main-title {
    font-size: clamp(2em, 7vw, 2.8em);
  }

  .page-sports__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-sports__section-title {
    font-size: clamp(1.6em, 6vw, 2.2em);
  }

  .page-sports__text-block {
    font-size: 0.95em;
  }

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

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

  .page-sports__video-wrapper {
    margin: 20px auto;
  }

  .page-sports__card-title {
    font-size: 1.3em;
  }

  .page-sports__step-title {
    font-size: 1.4em;
  }

  .page-sports__promo-title {
    font-size: 1.4em;
  }

  .page-sports__feature-title {
    font-size: 1.3em;
  }

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

  .page-sports__faq-answer {
    padding: 10px 20px;
  }

  /* Mobile image responsiveness */
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-sports__hero-image-wrapper,
  .page-sports__video-section,
  .page-sports__video-container,
  .page-sports__video-wrapper,
  .page-sports__section,
  .page-sports__card,
  .page-sports__container,
  .page-sports__promo-card,
  .page-sports__step-card,
  .page-sports__feature-item,
  .page-sports__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* padding-left: 15px; */ /* Handled by .page-sports__container */
    /* padding-right: 15px; */ /* Handled by .page-sports__container */
    overflow: hidden !important; /* Ensure no overflow */
  }

  /* Video specific mobile padding, if any */
  .page-sports__video-section {
    padding-top: 10px !important;
  }
}

/* Login button color */
.page-sports__btn-login {
  background: #EA7C07;
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

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