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

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

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding as body handles --header-offset */
  padding-bottom: 60px;
  overflow: hidden;
  text-align: center;
}

.page-sports__video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-sports__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken video for text readability */
}

.page-sports__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Additional overlay for contrast */
  z-index: 2;
  cursor: pointer;
}

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

.page-sports__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFD36B; /* Glow */
}

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

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

/* General Section Styles */
.page-sports__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 25px;
  text-align: center;
  color: #FFD36B; /* Glow */
}

.page-sports__section-description {
  font-size: 1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.7;
}

.page-sports__dark-section {
  background-color: #0A0A0A; /* Background */
  padding: 60px 0;
}

/* Buttons */
.page-sports__btn-primary,
.page-sports__btn-secondary,
.page-sports__btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  text-align: center;
}

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

.page-sports__btn-primary:hover {
  background: linear-gradient(180deg, #FFD36B 0%, #F2C14E 100%);
  box-shadow: 0 0 15px rgba(255, 211, 107, 0.6);
}

.page-sports__btn-primary--large {
  padding: 15px 35px;
  font-size: 1.1rem;
}

.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;
  color: #111111; /* Card BG, dark text for contrast */
  box-shadow: 0 0 15px rgba(242, 193, 78, 0.4);
}

.page-sports__btn-link {
  background: none;
  color: #F2C14E; /* Main Color */
  border: 1px solid #3A2A12; /* Border */
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 500;
}

.page-sports__btn-link:hover {
  color: #FFD36B; /* Glow */
  border-color: #FFD36B; /* Glow */
}

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

/* Image Styles */
.page-sports img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

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

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

.page-sports__feature-title {
  font-size: 1.4rem;
  color: #FFD36B; /* Glow */
  margin-bottom: 15px;
}

.page-sports__feature-text {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Sports Types 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 {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-sports__sport-image {
  margin-bottom: 20px;
  width: 100%; /* Ensure image fills card width */
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
}

.page-sports__sport-title {
  font-size: 1.5rem;
  color: #FFD36B; /* Glow */
  margin-bottom: 10px;
}

.page-sports__sport-text {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Live Betting Section */
.page-sports__live-betting-content {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-sports__live-betting-image {
  flex: 1;
  max-width: 60%;
}

.page-sports__live-betting-features {
  flex: 1;
  max-width: 40%;
  text-align: left;
}

.page-sports__live-betting-subtitle {
  font-size: 1.3rem;
  color: #F2C14E; /* Main Color */
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-sports__live-betting-features p {
  font-size: 0.95rem;
  margin-bottom: 15px;
}

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

.page-sports__promo-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-sports__promo-title {
  font-size: 1.4rem;
  color: #FFD36B; /* Glow */
  margin-bottom: 10px;
}

.page-sports__promo-text {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-sports__promo-image-wrapper {
  margin-top: 60px;
  text-align: center;
}

.page-sports__promo-banner {
  max-width: 100%;
  height: auto;
}

/* Getting Started Section */
.page-sports__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-sports__step-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-sports__step-title {
  font-size: 1.5rem;
  color: #FFD36B; /* Glow */
  margin-bottom: 10px;
}

.page-sports__step-text {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-sports__cta-buttons--center {
  margin-top: 40px;
}

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

.page-sports__mobile-app-image {
  flex: 1;
  max-width: 50%;
}

.page-sports__mobile-app-features {
  flex: 1;
  max-width: 50%;
  text-align: left;
}

.page-sports__mobile-app-subtitle {
  font-size: 1.3rem;
  color: #F2C14E; /* Main Color */
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-sports__mobile-app-features p {
  font-size: 0.95rem;
  margin-bottom: 15px;
}

/* Responsible Gaming Section */
.page-sports__responsible-gaming-section {
  text-align: center;
  padding-bottom: 80px;
}

/* Partners Section */
.page-sports__partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 2x5 grid for 10 items */
  gap: 20px;
  margin-top: 40px;
  justify-items: center;
  align-items: center;
}

.page-sports__partner-logo {
  width: 167px;
  height: 127px;
  object-fit: contain;
  background-color: #111111; /* Card BG */
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #3A2A12; /* Border */
}

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

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

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

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

.page-sports__faq-question h3 {
  font-size: 1.15rem;
  color: #FFF6D6; /* Text Main */
  margin: 0;
}

.page-sports__faq-toggle {
  font-size: 1.8rem;
  font-weight: bold;
  color: #F2C14E; /* Main Color */
  transition: transform 0.3s ease;
  line-height: 1;
}

.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: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-top: none;
  border-radius: 0 0 10px 10px;
  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 value */
  padding: 15px 25px 25px 25px;
}

.page-sports__faq-answer p {
  font-size: 0.95rem;
  color: #FFF6D6;
  margin: 0;
}

/* Final CTA Section */
.page-sports__cta-final-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-sports__cta-container--center {
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports__live-betting-content,
  .page-sports__mobile-app-content {
    flex-direction: column;
    text-align: center;
  }

  .page-sports__live-betting-image,
  .page-sports__live-betting-features,
  .page-sports__mobile-app-image,
  .page-sports__mobile-app-features {
    max-width: 100%;
  }

  .page-sports__live-betting-features,
  .page-sports__mobile-app-features {
    text-align: center;
  }

  .page-sports__partners-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .page-sports__hero-section {
    padding-top: 10px !important; /* Small top padding for mobile */
    padding-bottom: 40px;
  }

  .page-sports__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

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

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

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

  .page-sports__section-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
  }

  .page-sports__section-description {
    font-size: 0.9rem;
    margin-bottom: 30px;
  }

  .page-sports__dark-section {
    padding: 40px 0;
  }

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

  .page-sports__container,
  .page-sports__card,
  .page-sports__feature-item,
  .page-sports__sport-card,
  .page-sports__promo-card,
  .page-sports__step-item,
  .page-sports__faq-item,
  .page-sports__cta-container--center {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-sports__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
  }

  .page-sports__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
  }

  .page-sports__partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-sports__partner-logo {
    width: 100%;
    height: auto;
    max-width: 167px;
  }

  .page-sports__faq-question h3 {
    font-size: 1rem;
  }

  .page-sports__faq-answer p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .page-sports__partners-grid {
    grid-template-columns: 1fr;
  }
}