/* style/sports.css */
.page-sports {
  font-family: 'Arial', sans-serif;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

.page-sports__section-spacing {
  padding: 60px 0;
}

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

.page-sports__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-sports__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  border-radius: 2px;
}

.page-sports__text-block {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  text-align: center;
}

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #08160F;
  overflow: hidden;
}

.page-sports__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit image height */
  overflow: hidden;
}

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

.page-sports__hero-content {
  max-width: 900px;
  margin: 40px auto 60px auto;
  text-align: center;
  padding: 0 20px;
}

.page-sports__hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: #F2FFF6;
  line-height: 1.2;
  margin-bottom: 20px;
}

.page-sports__hero-description {
  font-size: 1.2rem;
  color: #A7D9B8;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-sports__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  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.1rem;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-sports__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Text Main */
  border: none;
}

.page-sports__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-sports__btn-secondary {
  background: transparent;
  color: #2AD16F; /* Brighter green for secondary text */
  border: 2px solid #2AD16F; /* Border */
}

.page-sports__btn-secondary:hover {
  background: rgba(42, 209, 111, 0.1);
  transform: translateY(-3px);
}

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

.page-sports__sport-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  text-align: center;
  border: 1px solid #2E7A4E; /* Border */
  transition: transform 0.3s ease;
}

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

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

.page-sports__card-title {
  font-size: 1.7rem;
  font-weight: 700;
  color: #F2FFF6;
  margin: 20px 0 10px;
  padding: 0 15px;
}

.page-sports__card-description {
  font-size: 1rem;
  color: #A7D9B8;
  line-height: 1.6;
  padding: 0 15px;
  flex-grow: 1;
}

.page-sports__btn-small {
  font-size: 0.95rem;
  padding: 10px 20px;
  margin: 20px auto;
}

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

.page-sports__feature-item {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
}

.page-sports__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-sports__feature-description {
  font-size: 1rem;
  color: #A7D9B8;
  line-height: 1.6;
}

/* Live Betting Section */
.page-sports__live-betting-wrapper {
  position: relative;
  margin-top: 40px;
  text-align: center;
  background-color: #11271B;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #2E7A4E;
}

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

.page-sports__live-betting-cta {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  padding: 15px 40px;
}

/* 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-color: #11271B; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  text-align: center;
  border: 1px solid #2E7A4E; /* Border */
  transition: transform 0.3s ease;
}

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

.page-sports__all-promos-cta {
  text-align: center;
  margin-top: 50px;
}

/* Mobile Section */
.page-sports__mobile-flex {
  display: flex;
  align-items: center;
  gap: 40px;
}

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

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

.page-sports__mobile-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border: 1px solid #2E7A4E;
}

.page-sports__mobile-download-btn {
  margin-top: 30px;
}

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

.page-sports__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-sports__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  color: #F2FFF6;
  background-color: #0A4B2C; /* Deep Green */
  transition: background-color 0.3s ease;
}

.page-sports__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-sports__faq-item summary:hover {
  background-color: #13994A;
}

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

.page-sports__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  width: 30px;
  text-align: center;
  color: #57E38D; /* Glow */
}

.page-sports__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  line-height: 1.7;
  color: #A7D9B8;
  border-top: 1px solid #1E3A2A; /* Divider */
}

/* Final CTA Section */
.page-sports__final-cta-section {
  text-align: center;
  padding-bottom: 80px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports__hero-section {
    padding: 40px 20px;
  }

  .page-sports__hero-image-wrapper {
    max-height: 500px;
  }

  .page-sports__mobile-flex {
    flex-direction: column;
  }

  .page-sports__mobile-text-content,
  .page-sports__mobile-image-wrapper {
    flex: none;
    width: 100%;
  }

  .page-sports__mobile-image {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-sports__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

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

  .page-sports__hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-sports__hero-description {
    font-size: 1.1rem;
  }

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

  .page-sports__btn-primary,
  .page-sports__btn-secondary {
    width: 100%;
  }

  .page-sports__sports-grid,
  .page-sports__features-grid,
  .page-sports__promo-grid {
    grid-template-columns: 1fr;
  }

  .page-sports__card-title {
    font-size: 1.5rem;
  }

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

  .page-sports__faq-item summary {
    font-size: 1.1rem;
    padding: 15px 20px;
  }

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

  /* Mobile responsive overrides with !important */
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-sports__section,
  .page-sports__card,
  .page-sports__container,
  .page-sports__hero-section,
  .page-sports__intro-section,
  .page-sports__categories-section,
  .page-sports__why-choose-section,
  .page-sports__live-betting-section,
  .page-sports__promotions-section,
  .page-sports__mobile-section,
  .page-sports__faq-section,
  .page-sports__final-cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-sports__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  .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 !important;
    padding-right: 15px !important;
  }

  .page-sports__cta-buttons,
  .page-sports__button-group,
  .page-sports__btn-container,
  .page-sports__hero-cta-buttons,
  .page-sports__final-cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0px !important;
    padding-right: 0px !important; /* Buttons themselves have padding */
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column;
  }
}