/* General styles for the sports page */
.page-sports {
  font-family: 'Arial', sans-serif;
  color: #FFF6D6; /* Light text for dark body background */
  background-color: #0A0A0A; /* Body background color */
  line-height: 1.6;
  padding-bottom: 50px; /* Ensure space above footer */
}

/* Container for content width */
.page-sports__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Section styling */
.page-sports__section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(58, 42, 18, 0.5); /* #3A2A12 with some transparency */
}
.page-sports__section:last-of-type {
  border-bottom: none;
}

/* Titles */
.page-sports__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 */
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #FFD36B; /* Glow color for main title */
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.6); /* Subtle glow effect */
}

.page-sports__title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  color: #FFD36B; /* Glow color for section titles */
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.4);
}

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

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  overflow: hidden;
  display: flex; /* For image above text */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding-top: 10px; /* Small padding, assuming shared.css handles body padding-top */
  padding-bottom: 60px;
  background-color: #0A0A0A;
}

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

.page-sports__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Min size for all images */
}

.page-sports__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-sports__description {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #FFF6D6;
}

/* Buttons */
.page-sports__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%; /* For responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-sports__button--primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-sports__button--primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
  transform: translateY(-2px);
}

.page-sports__button--secondary {
  background-color: #111111; /* Card background */
  color: #FFD36B; /* Glow color */
  border: 2px solid #3A2A12; /* Border color */
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.page-sports__button--secondary:hover {
  background-color: #FFD36B; /* Glow color */
  color: #111111; /* Card background */
  border-color: #FFD36B;
  transform: translateY(-2px);
}

.page-sports__button--tertiary {
  background-color: transparent;
  color: #FFD36B;
  border: 1px solid #3A2A12;
}

.page-sports__button--tertiary:hover {
  background-color: rgba(255, 211, 107, 0.1);
  color: #FFD36B;
}

/* Why Choose Section */
.page-sports__why-choose {
  background-color: #0A0A0A;
}

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

.page-sports__feature-card {
  background-color: #111111; /* Card background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.4);
  border: 1px solid #3A2A12; /* Border color */
}

.page-sports__feature-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #F2C14E; /* Main brand color */
}

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

/* Sports Categories Section */
.page-sports__sports-categories {
  background-color: #0A0A0A;
}

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

.page-sports__category-card {
  background-color: #111111;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.4);
  border: 1px solid #3A2A12;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-sports__category-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-height: 200px; /* Min size for all images */
}

.page-sports__category-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #F2C14E;
}

.page-sports__category-description {
  font-size: 0.95rem;
  color: #FFF6D6;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Live Betting Section */
.page-sports__live-betting {
  background-color: #0A0A0A;
}

.page-sports__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-sports__text-content {
  flex: 1;
}

.page-sports__image-content {
  flex: 1;
  text-align: center;
}

.page-sports__live-betting-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.4);
  min-height: 200px; /* Min size for all images */
}

.page-sports__list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  color: #FFF6D6;
  text-align: left;
}

.page-sports__list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  font-size: 1.1rem;
}

.page-sports__list li::before {
  content: '✓';
  color: #FFD36B; /* Glow color for checkmark */
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Promotions Section */
.page-sports__promotions {
  background-color: #0A0A0A;
}

.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: #111111;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.4);
  border: 1px solid #3A2A12;
  display: flex;
  flex-direction: column;
}

.page-sports__promo-image {
  width: 100%;
  height: 180px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-height: 200px; /* Min size for all images */
}

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

.page-sports__promo-description {
  font-size: 0.95rem;
  color: #FFF6D6;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-sports__cta-button-wrapper {
  text-align: center;
  margin-top: 50px;
}

/* Betting Tips Section */
.page-sports__betting-tips {
  background-color: #0A0A0A;
}

.page-sports__list--tips {
  max-width: 900px;
  margin: 40px auto;
  padding-left: 0; /* Remove default list padding */
  text-align: left;
}

.page-sports__list--tips li {
  margin-bottom: 20px;
  padding-left: 0;
  position: relative;
  font-size: 1.1rem;
}

.page-sports__list--tips li::before {
  content: none; /* Remove default checkmark */
}

.page-sports__tip-title {
  display: inline;
  color: #FFD36B;
  font-size: 1.1rem;
  font-weight: 600;
  margin-right: 10px;
}

/* How to Start Section */
.page-sports__how-to-start {
  background-color: #0A0A0A;
}

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

.page-sports__step-card {
  background-color: #111111;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.4);
  border: 1px solid #3A2A12;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-sports__step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: #F2C14E;
  color: #111111;
  border-radius: 50%;
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

.page-sports__step-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #FFD36B;
}

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

/* FAQ Section */
.page-sports__faq-section {
  background-color: #0A0A0A;
  text-align: center;
}

.page-sports__faq-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
    min-height: 200px; /* Min size for all images */
}

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

details.page-sports__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #3A2A12; /* Border color */
  overflow: hidden;
  background: #111111; /* Card background */
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
details.page-sports__faq-item summary.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-sports__faq-item summary.page-sports__faq-question::-webkit-details-marker {
  display: none;
}
details.page-sports__faq-item summary.page-sports__faq-question:hover {
  background: rgba(58, 42, 18, 0.2); /* Lighter border color for hover */
}
.page-sports__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFD36B; /* Glow color for FAQ questions */
}
.page-sports__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E; /* Main brand color for toggle */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-sports__faq-item .page-sports__faq-answer {
  padding: 0 20px 20px;
  background: rgba(17, 17, 17, 0.8); /* Slightly lighter card background */
  border-radius: 0 0 5px 5px;
  color: #FFF6D6; /* Main text color */
}
.page-sports__faq-answer p {
    margin: 0;
}
.page-sports__faq-answer a {
    color: #F2C14E; /* Link color within FAQ answer */
    text-decoration: underline;
}
.page-sports__faq-answer a:hover {
    color: #FFD36B;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports__content-wrapper {
    flex-direction: column;
  }
  .page-sports__text-content,
  .page-sports__image-content {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-sports__container {
    padding: 0 15px;
  }
  .page-sports__section {
    padding: 40px 0;
  }
  .page-sports__main-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
  }
  .page-sports__title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
  .page-sports__text {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  .page-sports__button {
    padding: 12px 20px;
    font-size: 1rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-sports__button-group,
  .page-sports__cta-button-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Images responsiveness for mobile */
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-sports__hero-image-wrapper,
  .page-sports__category-image,
  .page-sports__promo-image,
  .page-sports__live-betting-image,
  .page-sports__faq-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    min-height: 150px; /* Adjust min-height for mobile if needed */
  }
  .page-sports__hero-image {
      height: 250px; /* Adjust hero image height for mobile */
  }
  .page-sports__category-image,
  .page-sports__promo-image {
      height: 150px; /* Adjust card image height for mobile */
  }
  .page-sports__live-betting-image {
      height: 250px;
  }
  .page-sports__faq-image {
      height: 200px;
  }

  .page-sports__features-grid,
  .page-sports__categories-grid,
  .page-sports__promo-grid,
  .page-sports__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-sports__feature-card,
  .page-sports__category-card,
  .page-sports__promo-card,
  .page-sports__step-card {
    padding: 20px;
  }
  
  details.page-sports__faq-item summary.page-sports__faq-question { padding: 15px; }
  .page-sports__faq-qtext { font-size: 1rem; }
  .page-sports__faq-toggle { font-size: 20px; width: 24px; }
  details.page-sports__faq-item .page-sports__faq-answer { padding: 0 15px 15px; }

  .page-sports__list li,
  .page-sports__list--tips li {
    font-size: 1rem;
  }
  .page-sports__tip-title {
    font-size: 1rem;
    display: block; /* Stack title and text on mobile */
    margin-bottom: 5px;
  }
}