/* style/sports.css */

/* Base styles for the sports page */
.page-sports {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Main text color for dark background */
  background-color: #0A0A0A; /* Page background color */
}

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

/* Section Titles and Descriptions */
.page-sports__section-title {
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  color: #F2C14E;
  text-align: center;
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-sports__section-description {
  font-size: 1.1rem;
  color: #FFF6D6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Card Styles */
.page-sports__card {
  background-color: #111111; /* Card background */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #FFF6D6; /* Card text color */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

.page-sports__btn-primary:hover {
  background: linear-gradient(180deg, #FFE082 0%, #E6AE2A 100%);
  box-shadow: 0 0 15px #FFD36B;
}

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

.page-sports__btn-secondary:hover {
  background-color: #F2C14E;
  color: #0A0A0A;
}

.page-sports__btn-large {
  padding: 18px 40px;
  font-size: 1.2rem;
}

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 60px;
  overflow: hidden;
}

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

.page-sports__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content up over the image bottom, but not overlay text on image */
  position: relative; /* Ensure z-index context */
  z-index: 1;
}

.page-sports__main-title {
  color: #F2C14E;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 15px;
  font-weight: 900;
  line-height: 1.1;
}

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

/* Why spintime Section */
.page-sports__why-spintime-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

.page-sports__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-sports__feature-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
}

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

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

/* Categories Section */
.page-sports__categories-section {
  padding: 80px 0;
  background-color: #111111;
}

.page-sports__category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 50px;
}

.page-sports__category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  background-color: #0A0A0A;
  padding: 20px;
  min-height: 150px;
}

.page-sports__category-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  margin-bottom: 10px;
}

.page-sports__category-name {
  font-size: 1.1rem;
  color: #FFF6D6;
  font-weight: bold;
}

/* Live Betting Section */
.page-sports__live-betting-section {
  padding: 80px 0;
  background-color: #0A0A0A;
  text-align: center;
}

.page-sports__live-betting-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  border-radius: 8px;
  margin: 40px auto;
  display: block;
}

/* Promotions Section */
.page-sports__promotions-section {
  padding: 80px 0;
  background-color: #111111;
}

.page-sports__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-sports__promo-card {
  padding: 0;
  overflow: hidden;
  text-align: left;
}

.page-sports__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  border-radius: 8px 8px 0 0;
}

.page-sports__promo-content {
  padding: 25px;
}

.page-sports__promo-title {
  font-size: 1.4rem;
  color: #F2C14E;
  margin-bottom: 10px;
}

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

/* How to Get Started Section */
.page-sports__how-to-start-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

.page-sports__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-sports__step-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
}

.page-sports__step-title {
  font-size: 1.5rem;
  color: #F2C14E;
  margin-bottom: 10px;
}

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

/* Partners Section */
.page-sports__partners-section {
  padding: 80px 0;
  background-color: #111111;
}

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

.page-sports__partner-logo {
  width: 167px; /* Fixed width */
  height: 127px; /* Fixed height */
  object-fit: contain;
  filter: grayscale(100%); /* Example style, no color change */
  opacity: 0.7;
  transition: all 0.3s ease;
}

.page-sports__partner-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* FAQ Section */
.page-sports__faq-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

.page-sports__faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
}

.page-sports__faq-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  color: #F2C14E;
  font-weight: bold;
  font-size: 1.2rem;
  background-color: #111111;
  transition: background-color 0.3s ease;
}

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

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

.page-sports__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-sports__faq-item.active .page-sports__faq-toggle {
  transform: rotate(0deg); /* Explicitly reset if needed, JS handles text */
}

.page-sports__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
  font-size: 1rem;
}

.page-sports__faq-item.active .page-sports__faq-answer {
  max-height: 1000px !important; /* Sufficiently large for content */
  padding: 15px 25px;
}

.page-sports__faq-answer p {
  margin: 0;
  color: #FFF6D6; /* Ensure paragraph text is light */
}

/* CTA Section */
.page-sports__cta-section {
  padding: 80px 0;
  background-color: #111111;
  text-align: center;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-sports__hero-content {
    margin-top: -50px;
  }
}

@media (max-width: 768px) {
  .page-sports__hero-section {
    padding-bottom: 40px;
  }

  .page-sports__hero-content {
    padding: 30px 15px;
    margin-top: -80px;
  }

  .page-sports__main-title {
    font-size: 2.2rem;
  }

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

  .page-sports__section-title {
    font-size: 2rem;
  }

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

  .page-sports__feature-grid,
  .page-sports__promo-grid,
  .page-sports__steps-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-sports__partners-grid {
    grid-template-columns: repeat(2, 1fr); /* 5x2 grid for mobile */
  }

  .page-sports__partner-logo {
    width: 120px;
    height: 90px;
  }

  .page-sports__category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

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

  .page-sports__btn-primary,
  .page-sports__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile image responsiveness */
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Mobile container/section padding */
  .page-sports__container,
  .page-sports__hero-section,
  .page-sports__why-spintime-section,
  .page-sports__categories-section,
  .page-sports__live-betting-section,
  .page-sports__promotions-section,
  .page-sports__how-to-start-section,
  .page-sports__partners-section,
  .page-sports__faq-section,
  .page-sports__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-sports__hero-section { /* Specific adjustment for hero section top padding on mobile */
    padding-top: 10px !important;
  }

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

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

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

  .page-sports__faq-title {
    font-size: 1.1rem;
  }
}