/* style/sports.css */

/* --- General Styles --- */
.page-sports {
  font-family: Arial, sans-serif;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  line-height: 1.6;
}

.page-sports__section-title {
  font-size: clamp(2.2rem, 4vw, 3rem); /* H1 controlled by clamp, H2 can be similar but slightly smaller */
  color: #F2C14E; /* Main color */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
}

.page-sports__section-title--light {
  color: #FFF6D6; /* Text Main for dark sections */
}

.page-sports__section-description {
  font-size: 1.1rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #FFF6D6; /* Text Main */
}

.page-sports__section-description--light {
  color: #FFF6D6; /* Text Main for dark sections */
}

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

.page-sports__dark-section {
  background-color: #111111; /* Card BG, used for dark sections */
  padding: 60px 20px;
  box-sizing: border-box;
}

.page-sports__card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #FFF6D6; /* Text Main */
  box-sizing: border-box;
}

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

.page-sports__cta-buttons--center {
  justify-content: center;
}

.page-sports__btn-primary,
.page-sports__btn-secondary,
.page-sports__btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  text-align: center;
}

.page-sports__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #111111; /* Dark text for contrast on bright button */
  border: none;
}

.page-sports__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.4);
}

.page-sports__btn-secondary {
  background-color: transparent;
  color: #F2C14E; /* Main color */
  border: 2px solid #F2C14E; /* Main color */
}

.page-sports__btn-secondary:hover {
  background-color: #F2C14E; /* Main color */
  color: #111111; /* Dark text for contrast */
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.2);
}

.page-sports__btn-link {
  background-color: transparent;
  color: #FFD36B; /* Glow color */
  border: 1px solid #FFD36B;
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 5px;
  margin-top: 20px;
}

.page-sports__btn-link:hover {
  background-color: #FFD36B;
  color: #111111;
}

/* --- Hero Section --- */
.page-sports__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  box-sizing: border-box;
}

.page-sports__hero-image-wrapper {
  width: 100%;
  position: relative;
  overflow: hidden;
  line-height: 0; /* Remove extra space below image */
}

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

.page-sports__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-top: 40px; /* Space below image */
  padding: 0 20px;
  box-sizing: border-box;
}

.page-sports__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  color: #F2C14E;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-sports__hero-description {
  font-size: 1.3rem;
  color: #FFF6D6;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Video Section --- */
.page-sports__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px 60px 20px; /* Small top padding */
  box-sizing: border-box;
  background-color: #0A0A0A; /* Background */
}

.page-sports__video-container {
  width: 100%; /* Must be 100% for desktop */
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  text-align: center;
}

.page-sports__video-link {
  display: block; /* Ensure the anchor covers the video */
  line-height: 0; /* Remove extra space below video */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  margin-bottom: 20px;
}

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

.page-sports__video-description {
  font-size: 1.1rem;
  color: #FFF6D6;
  max-width: 800px;
  margin: 0 auto;
}

/* --- Why Choose Section --- */
.page-sports__why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-sports__why-choose-heading {
  font-size: 1.5rem;
  color: #FFD36B; /* Aux color */
  margin-bottom: 15px;
}

.page-sports__why-choose-text {
  font-size: 1rem;
  color: #FFF6D6;
}

.page-sports__image-container {
  text-align: center;
  margin-top: 40px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-sports__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: cover;
}

/* --- Categories Section --- */
.page-sports__categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 50px;
  margin-bottom: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__category-item {
  text-align: center;
  padding: 20px;
  background-color: #111111; /* Card BG */
  border-radius: 10px;
  border: 1px solid #3A2A12; /* Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sports__category-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(242, 193, 78, 0.2);
}

.page-sports__category-icon {
  width: 48px; /* Slightly larger than 30x30 for better visibility, still small icon */
  height: 48px;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 5px rgba(242, 193, 78, 0.5));
}

.page-sports__category-title {
  font-size: 1.3rem;
  color: #FFD36B; /* Aux color */
  margin-bottom: 10px;
}

.page-sports__category-text {
  font-size: 0.95rem;
  color: #FFF6D6;
}

/* --- Get Started Section --- */
.page-sports__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-sports__step-item {
  text-align: center;
}

.page-sports__step-heading {
  font-size: 1.6rem;
  color: #F2C14E; /* Main color */
  margin-bottom: 15px;
}

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

/* --- Promotions Section --- */
.page-sports__promotion-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
  margin-bottom: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__promotion-card {
  text-align: center;
}

.page-sports__promotion-heading {
  font-size: 1.5rem;
  color: #FFD36B; /* Aux color */
  margin-bottom: 15px;
}

.page-sports__promotion-text {
  font-size: 1rem;
  color: #FFF6D6;
  margin-bottom: 20px;
}

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

.page-sports__feature-item {
  text-align: center;
}

.page-sports__feature-heading {
  font-size: 1.5rem;
  color: #F2C14E; /* Main color */
  margin-bottom: 15px;
}

.page-sports__feature-text {
  font-size: 1rem;
  color: #FFF6D6;
  margin-bottom: 20px;
}

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

.page-sports__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: #1a1a1a; /* Slightly lighter dark background for question */
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  color: #FFD36B; /* Aux color */
  transition: background-color 0.3s ease;
}

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

.page-sports__faq-heading {
  margin: 0;
  font-size: 1.2rem;
  color: #FFD36B;
}

.page-sports__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #F2C14E; /* Main color */
  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; /* Initial padding for collapsed state */
  background-color: #111111; /* Card BG */
  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 */
  padding: 20px 25px; /* Expanded padding */
}

.page-sports__faq-text {
  font-size: 1rem;
  color: #FFF6D6;
  margin: 0;
}

/* --- Bottom CTA Section --- */
.page-sports__cta-bottom-section {
  text-align: center;
  padding-bottom: 80px;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-sports__hero-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
  }
  .page-sports__hero-description {
    font-size: 1.1rem;
  }
  .page-sports__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
  }
}

@media (max-width: 768px) {
  .page-sports {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-sports__hero-section {
    padding-bottom: 40px;
  }

  .page-sports__hero-content {
    margin-top: 20px;
  }

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

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

  .page-sports__cta-buttons {
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
    padding: 0 15px; /* Add padding to prevent overflow */
  }

  .page-sports__btn-primary,
  .page-sports__btn-secondary,
  .page-sports__btn-link {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px; /* Ensure internal padding */
    padding-right: 15px; /* Ensure internal padding */
  }

  .page-sports__video-section {
    padding: 10px 15px 40px 15px !important; /* Small top padding, important for mobile */
  }

  .page-sports__video-container {
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .page-sports__video {
    max-width: 100% !important;
    height: auto !important;
    width: 100% !important;
  }

  .page-sports__content-area,
  .page-sports__dark-section {
    padding: 40px 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-sports__why-choose-grid,
  .page-sports__categories-grid,
  .page-sports__steps-grid,
  .page-sports__promotion-cards,
  .page-sports__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
  }

  .page-sports__image-container {
    padding: 0 15px; /* Add padding to image containers */
  }

  .page-sports__content-image {
    max-width: 100% !important;
    height: auto !important;
    width: 100% !important;
  }

  /* Specific small icon override for categories */
  .page-sports__category-icon {
    width: 40px; /* Adjust size for mobile if needed, still >200 rule */
    height: 40px;
  }
}

@media (max-width: 480px) {
  .page-sports__hero-title {
    font-size: clamp(1.5rem, 8vw, 2.2rem);
  }
  .page-sports__section-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
  .page-sports__hero-description {
    font-size: 0.9rem;
  }
  .page-sports__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-sports__faq-heading {
    font-size: 1rem;
  }
  .page-sports__faq-answer {
    padding: 15px 20px;
  }
  .page-sports__faq-item.active .page-sports__faq-answer {
    padding: 15px 20px;
  }
}