/* style/sports.css */

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

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

.page-sports__section-title {
  font-size: clamp(2em, 5vw, 2.8em); /* Responsive font size */
  font-weight: 700;
  color: #F2C14E; /* Main Color */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-sports__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #FFF6D6; /* Text Main */
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-sports__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  filter: brightness(0.6); /* Slightly darken image for text readability */
  min-height: 400px; /* Ensure image is visible */
}

.page-sports__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: #FFF6D6; /* Text Main */
  padding: 20px;
  border-radius: 8px;
  background: rgba(17, 17, 17, 0.7); /* Card BG with transparency */
}

.page-sports__main-title {
  font-size: clamp(2.5em, 6vw, 3.5em); /* Responsive font size */
  font-weight: 800;
  color: #FFD36B; /* Auxiliary Color / Glow */
  margin-bottom: 15px;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-sports__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFF6D6; /* Text Main */
}

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

.page-sports__btn-primary,
.page-sports__btn-secondary,
.page-sports__btn-link {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-sizing: border-box;
  max-width: 100%;
}

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

.page-sports__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

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

.page-sports__btn-secondary:hover {
  background-color: #FFD36B;
  color: #111111; /* Dark text for contrast */
  transform: translateY(-3px);
}

/* Why Choose Section */
.page-sports__why-choose-section {
  padding: 60px 0;
  background-color: #0A0A0A; /* Background */
}

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

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

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

.page-sports__feature-item p {
  color: #FFF6D6; /* Text Main */
  font-size: 1em;
}

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

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

.page-sports__step-item {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #3A2A12; /* Border */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-sports__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #FFD36B; /* Glow */
  margin-bottom: 15px;
  background: rgba(255, 211, 107, 0.1);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-sports__step-title {
  font-size: 1.3em;
  color: #F2C14E; /* Main Color */
  margin-bottom: 10px;
}

.page-sports__step-item p {
  color: #FFF6D6; /* Text Main */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-sports__btn-link {
  background-color: transparent;
  color: #FFD36B; /* Glow */
  border: 1px solid #FFD36B; /* Glow */
  padding: 10px 20px;
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-sports__btn-link:hover {
  background-color: #FFD36B;
  color: #111111; /* Dark text for contrast */
}

/* Popular Sports Section */
.page-sports__popular-sports-section {
  padding: 60px 0;
  background-color: #0A0A0A; /* Background */
}

.page-sports__sports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(167px, 1fr)); /* Use fixed width for game images */
  gap: 20px;
  margin-top: 40px;
  justify-items: center;
}

.page-sports__sport-card {
  background-color: #111111; /* Card BG */
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #3A2A12; /* Border */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 167px; /* Max width for card to match image */
  box-sizing: border-box;
}

.page-sports__sport-card:hover {
  transform: translateY(-5px);
}

.page-sports__sport-icon {
  width: 167px; /* Fixed width for game images */
  height: 127px; /* Fixed height for game images */
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 10px;
}

.page-sports__sport-title {
  font-size: 1.1em;
  color: #F2C14E; /* Main Color */
  margin-bottom: 5px;
}

.page-sports__sport-card p {
  font-size: 0.9em;
  color: #FFF6D6; /* Text Main */
  flex-grow: 1;
}

/* Live Betting Section */
.page-sports__live-betting-section {
  padding: 60px 0;
  background-color: #0A0A0A; /* Background */
}

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

.page-sports__live-betting-item {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #3A2A12; /* Border */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.page-sports__live-betting-title {
  font-size: 1.5em;
  color: #F2C14E; /* Main Color */
  margin-bottom: 15px;
}

.page-sports__live-betting-item p {
  color: #FFF6D6; /* Text Main */
}

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

/* Mobile App Section */
.page-sports__mobile-app-section {
  padding: 60px 0;
  background-color: #0A0A0A; /* Background */
}

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

.page-sports__app-image {
  max-width: 100%;
  width: 600px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  border: 1px solid #3A2A12; /* Border */
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-sports__app-features {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.page-sports__app-features h3 {
  font-size: 1.5em;
  color: #F2C14E; /* Main Color */
  margin-bottom: 15px;
}

.page-sports__app-features p {
  color: #FFF6D6; /* Text Main */
  margin-bottom: 20px;
}

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

/* Responsible Gaming Section */
.page-sports__responsible-gaming-section {
  padding: 60px 0;
  background-color: #0A0A0A; /* Background */
}

.page-sports__responsible-gaming-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  justify-content: center;
}

.page-sports__responsible-gaming-image {
  max-width: 100%;
  width: 600px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  border: 1px solid #3A2A12; /* Border */
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-sports__responsible-gaming-text {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

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

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

.page-sports__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

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

.page-sports__faq-question:hover {
  background-color: rgba(242, 193, 78, 0.1);
}

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

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

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

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

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

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-sports__hero-image {
    min-height: 350px;
  }
  .page-sports__app-image,
  .page-sports__responsible-gaming-image {
    width: 100%;
    max-width: 500px;
  }
}

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

  .page-sports__container,
  .page-sports__hero-section,
  .page-sports__why-choose-section,
  .page-sports__how-to-start-section,
  .page-sports__popular-sports-section,
  .page-sports__live-betting-section,
  .page-sports__mobile-app-section,
  .page-sports__responsible-gaming-section,
  .page-sports__faq-section,
  .page-sports__conclusion-section {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-sports__hero-image {
    min-height: 300px;
  }

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

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

  .page-sports__cta-buttons,
  .page-sports__cta-buttons-app {
    flex-direction: column;
    gap: 15px;
  }

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

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

  .page-sports__features-grid,
  .page-sports__steps-grid,
  .page-sports__sports-grid,
  .page-sports__live-betting-content {
    grid-template-columns: 1fr;
  }

  .page-sports__sport-card {
    max-width: 100%;
    width: 100%;
  }

  .page-sports__sport-icon {
    width: 100%;
    height: auto;
    max-width: 167px; /* Maintain aspect ratio */
  }

  .page-sports__app-content,
  .page-sports__responsible-gaming-content {
    flex-direction: column;
  }

  .page-sports__app-image,
  .page-sports__responsible-gaming-image {
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  /* Ensure all images are responsive and don't overflow */
  .page-sports img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }

  .page-sports__section,
  .page-sports__card,
  .page-sports__container,
  .page-sports__hero-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-sports__hero-section {
    padding-top: 10px !important; /* Ensure consistent top padding */
  }
}

@media (max-width: 480px) {
  .page-sports__main-title {
    font-size: clamp(1.8em, 9vw, 2em);
  }

  .page-sports__hero-description {
    font-size: 0.9em;
  }

  .page-sports__btn-primary,
  .page-sports__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-sports__section-title {
    font-size: clamp(1.6em, 8vw, 1.8em);
  }

  .page-sports__feature-title,
  .page-sports__step-title,
  .page-sports__live-betting-title,
  .page-sports__app-features h3 {
    font-size: 1.3em;
  }

  .page-sports__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
}