/* style/sports.css */

/* --- Base Styles for .page-sports --- */
.page-sports {
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing for desktop */
}

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

.page-sports__section-title {
  font-size: 2.8em;
  color: #F2C14E; /* Main color for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-sports__section-description {
  font-size: 1.1em;
  color: #FFF6D6;
  text-align: center;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__text-link {
  color: #FFD36B; /* Auxiliary color for links */
  text-decoration: underline;
}

.page-sports__text-link:hover {
  color: #F2C14E; /* Main color on hover */
  text-decoration: none;
}

/* --- Hero Section --- */
.page-sports__hero-section {
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  text-align: center;
  background: #0A0A0A; /* Dark background for hero */
  padding-bottom: 60px;
}

.page-sports__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.page-sports__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px; /* Limit height for hero image */
}

.page-sports__hero-content {
  padding: 40px 20px 0;
  max-width: 900px;
  margin-top: -80px; /* Overlap image slightly for effect */
  background: #111111; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 10;
  border: 1px solid #3A2A12; /* Border */
}

.page-sports__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive H1 font size */
  color: #FFD36B; /* Auxiliary color for main title */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-sports__intro-text {
  font-size: 1.2em;
  color: #FFF6D6;
  margin-bottom: 30px;
}

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

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

.page-sports__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #111111; /* Dark text for bright button */
  border: none;
  box-shadow: 0 4px 10px rgba(242, 193, 78, 0.4);
}

.page-sports__btn-primary:hover {
  background: linear-gradient(180deg, #FFE89C 0%, #E8B12A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(242, 193, 78, 0.6);
}

.page-sports__btn-secondary {
  background: #111111; /* Card BG */
  color: #F2C14E; /* Main color for text */
  border: 2px solid #F2C14E; /* Main color for border */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-sports__btn-secondary:hover {
  background: #F2C14E; /* Main color */
  color: #111111; /* Dark text for bright button */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(242, 193, 78, 0.6);
}

/* --- Dark Section (for alternating backgrounds) --- */
.page-sports__dark-section {
  background-color: #111111; /* Card BG */\  color: #FFF6D6;
  padding: 60px 0;
}

/* --- Why Choose Section --- */
.page-sports__why-choose-section {
  padding-top: 60px;
}

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

.page-sports__feature-card {
  background: #0A0A0A; /* Background */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-sports__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-sports__feature-title {
  font-size: 1.8em;
  color: #FFD36B; /* Auxiliary color */
  margin-bottom: 15px;
  font-weight: bold;
}

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

/* --- Markets Section --- */
.page-sports__markets-section {
  padding: 60px 0;
}

.page-sports__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Minimum image size */
  min-height: 200px; /* Minimum image size */
}

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

.page-sports__content-subtitle {
  font-size: 1.6em;
  color: #F2C14E; /* Main color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-sports__list {
  list-style: none;
  padding: 0;
}

.page-sports__list li {
  margin-bottom: 10px;
  color: #FFF6D6;
  font-size: 1em;
  padding-left: 20px;
  position: relative;
}

.page-sports__list li::before {
  content: "•";
  color: #FFD36B; /* Auxiliary color for bullet */
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
  position: absolute;
  left: 0;
}

/* --- Getting Started Section --- */
.page-sports__getting-started-section {
  padding-top: 60px;
}

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

.page-sports__step-card {
  background: #0A0A0A; /* Background */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-sports__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-sports__step-title {
  font-size: 1.8em;
  color: #FFD36B; /* Auxiliary color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-sports__step-description {
  font-size: 1em;
  color: #FFF6D6;
  margin-bottom: 25px;
}

/* --- Live Betting Section --- */
.page-sports__live-betting-section {
  padding: 60px 0;
}

.page-sports__live-betting-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
}

.page-sports__live-betting-content .page-sports__content-image {
  flex: 1 1 45%;
  max-width: 500px; /* Adjust max-width for content images */
  margin: 0;
}

.page-sports__live-betting-content .page-sports__text-block {
  flex: 1 1 45%;
  max-width: 500px;
  color: #FFF6D6;
}

.page-sports__live-betting-content .page-sports__text-block p {
  margin-bottom: 20px;
  font-size: 1em;
}

/* --- Promotions Section --- */
.page-sports__promotions-section {
  padding-top: 60px;
}

/* --- Support Section --- */
.page-sports__support-section {
  padding: 60px 0;
}

.page-sports__support-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
}

.page-sports__support-content .page-sports__text-block {
  flex: 1 1 45%;
  max-width: 500px;
  color: #FFF6D6;
}

.page-sports__support-content .page-sports__text-block p {
  margin-bottom: 20px;
  font-size: 1em;
}

.page-sports__support-content .page-sports__content-image {
  flex: 1 1 45%;
  max-width: 500px;
  margin: 0;
}

/* --- FAQ Section --- */
.page-sports__faq-section {
  padding-top: 60px;
  padding-bottom: 80px;
}

.page-sports__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__faq-item {
  background: #0A0A0A; /* Background */
  border: 1px solid #3A2A12; /* Border */
  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;
  background: #111111; /* Card BG */
  color: #F2C14E; /* Main color */
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

.page-sports__faq-title {
  font-size: 1.2em;
  margin: 0;
  color: #F2C14E; /* Main color */
}

.page-sports__faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD36B; /* Auxiliary color */
}

.page-sports__faq-item.active .page-sports__faq-toggle {
  transform: rotate(45deg);
}

.page-sports__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
  background: #0A0A0A; /* Background */
}

.page-sports__faq-item.active .page-sports__faq-answer {
  max-height: 1000px !important; /* Use !important to ensure it overrides */
  padding: 15px 25px;
}

.page-sports__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
}

/* --- Global Image & Button Responsive Styles (Mobile First) --- */
/* All images should be responsive by default */
.page-sports img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Ensure images cover their area without distortion */
}

/* All image containers should handle overflow */
.page-sports__hero-image-wrapper,
.page-sports__content-grid,
.page-sports__live-betting-content,
.page-sports__support-content {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

/* Mobile specific styles */
@media (max-width: 768px) {
  .page-sports {
    font-size: 16px;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px) !important; /* Mobile padding-top */
  }

  .page-sports__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-sports__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-sports__hero-content {
    margin-top: -40px; /* Less overlap on mobile */
    padding: 20px 15px 0;
  }

  .page-sports__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em); /* Adjust H1 for smaller screens */
  }

  /* Images */
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px; /* Ensure min size */
    min-height: 200px; /* Ensure min size */
  }

  /* Content containers for images and text */
  .page-sports__section,
  .page-sports__card,
  .page-sports__container,
  .page-sports__hero-image-wrapper,
  .page-sports__content-grid,
  .page-sports__live-betting-content,
  .page-sports__support-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Buttons */
  .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: 12px 20px !important;
    margin-bottom: 10px; /* Stack buttons */
  }

  .page-sports__cta-buttons,
  .page-sports__button-group,
  .page-sports__btn-container {
    flex-direction: column !important; /* Stack buttons vertically */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    gap: 10px;
  }

  .page-sports__live-betting-content,
  .page-sports__support-content {
    flex-direction: column;
  }

  .page-sports__live-betting-content .page-sports__content-image,
  .page-sports__live-betting-content .page-sports__text-block,
  .page-sports__support-content .page-sports__content-image,
  .page-sports__support-content .page-sports__text-block {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .page-sports__features-grid,
  .page-sports__steps-grid,
  .page-sports__content-grid {
    grid-template-columns: 1fr; /* Single column layout for grids */
  }

  .page-sports__feature-card,
  .page-sports__step-card {
    padding: 20px;
  }

  .page-sports__feature-title,
  .page-sports__step-title {
    font-size: 1.5em;
  }
}