/* style/sports.css */

.page-sports {
  font-family: Arial, sans-serif;
  color: #FFF6D6; /* Main text color for dark body background */
  line-height: 1.6;
}

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

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

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

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
  background-color: #0A0A0A;
}

.page-sports__hero-container {
  width: 100%;
  max-width: 1920px; /* Max width for the entire hero content */
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-sports__hero-content {
  text-align: center;
  padding: 30px 20px;
  background: rgba(17, 17, 17, 0.8);
  margin-top: -80px; /* Overlap slightly with image for visual flow */
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 800px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
}

.page-sports__hero-title {
  font-size: clamp(2em, 3.5vw, 3em); /* Responsive font size */
  font-weight: 700;
  color: #FFD36B; /* Auxiliary color for highlight */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-sports__hero-description {
  font-size: 1.1em;
  color: #FFF6D6;
  margin-bottom: 30px;
}

/* CTA Buttons */
.page-sports__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  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; /* White text for primary buttons */
  border: none;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

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

.page-sports__btn-secondary {
  background: #111111; /* Card BG color */
  color: #F2C14E; /* Primary color for secondary button text */
  border: 2px solid #F2C14E; /* Border with primary color */
}

.page-sports__btn-secondary:hover {
  background: #F2C14E;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

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

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

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

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

.page-sports__feature-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-sports__feature-title {
  font-size: 1.4em;
  font-weight: bold;
  color: #FFD36B;
  margin-bottom: 10px;
}

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

/* Comprehensive Sports Coverage Section */
.page-sports__coverage-section {
  background-color: #0A0A0A;
  padding: 60px 0;
}

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

.page-sports__sport-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-sports__sport-title {
  font-size: 1.3em;
  font-weight: bold;
  color: #F2C14E;
  margin-bottom: 8px;
}

.page-sports__sport-text {
  font-size: 0.95em;
  color: #FFF6D6;
}

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

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

.page-sports__live-betting-image {
  flex: 1 1 500px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.page-sports__live-betting-text {
  flex: 1 1 400px;
  color: #FFF6D6;
}

.page-sports__live-betting-subtitle {
  font-size: 1.8em;
  color: #FFD36B;
  margin-bottom: 20px;
}

.page-sports__live-betting-text ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-sports__live-betting-text li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-sports__live-betting-text li strong {
  color: #F2C14E;
}

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

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

.page-sports__promo-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-sports__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-sports__promo-title {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFD36B;
  margin-bottom: 10px;
}

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

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

.page-sports__mobile-app-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  flex-direction: row-reverse; /* Image on right */
}

.page-sports__mobile-app-text {
  flex: 1 1 400px;
  color: #FFF6D6;
}

.page-sports__mobile-app-image {
  flex: 1 1 300px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: contain;
}

.page-sports__app-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 30px;
}

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

.page-sports__steps-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-sports__step-item {
  text-align: left;
}

.page-sports__step-title {
  font-size: 1.4em;
  font-weight: bold;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-sports__step-text {
  font-size: 1em;
  color: #FFF6D6;
}

.page-sports__center-cta {
  text-align: center;
}

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

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

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

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #F2C14E;
  cursor: pointer;
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  transition: background 0.3s ease;
}

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

.page-sports__faq-title {
  margin: 0;
  color: #F2C14E;
}

.page-sports__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFD36B;
  transition: transform 0.3s ease;
}

.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: #111111;
  border-left: 1px solid #3A2A12;
  border-right: 1px solid #3A2A12;
  border-bottom: 1px solid #3A2A12;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
}

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

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports__hero-image {
    max-height: 500px;
  }
  .page-sports__hero-content {
    margin-top: -60px;
  }
  .page-sports__live-betting-content, .page-sports__mobile-app-content {
    flex-direction: column;
    text-align: center;
  }
  .page-sports__mobile-app-content {
    flex-direction: column-reverse; /* For mobile app, text above image */
  }
  .page-sports__live-betting-image, .page-sports__mobile-app-image {
    max-width: 80%;
  }
  .page-sports__app-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-sports__container {
    padding: 20px 15px;
  }

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

  .page-sports__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-sports__hero-section {
    padding-bottom: 40px;
    padding-top: 10px !important;
  }
  
  .page-sports__hero-image {
    max-height: 350px;
  }
  .page-sports__hero-content {
    margin-top: -40px;
    padding: 20px 15px;
  }
  .page-sports__hero-title {
    font-size: 1.8em;
  }
  .page-sports__hero-description {
    font-size: 0.95em;
  }

  .page-sports__cta-button {
    padding: 12px 20px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-sports__app-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-sports__card {
    padding: 20px;
  }

  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-sports__section,
  .page-sports__card,
  .page-sports__container,
  .page-sports__hero-section,
  .page-sports__why-us-section,
  .page-sports__coverage-section,
  .page-sports__live-betting-section,
  .page-sports__promotions-section,
  .page-sports__mobile-app-section,
  .page-sports__how-to-start-section,
  .page-sports__faq-section,
  .page-sports__responsible-gaming-section,
  .page-sports__app-buttons,
  .page-sports__center-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-sports__faq-question,
  .page-sports__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-sports__faq-toggle {
    font-size: 1.3em;
  }
}

@media (max-width: 480px) {
  .page-sports__section-title {
    font-size: 1.8em;
  }
  .page-sports__hero-title {
    font-size: 1.5em;
  }
  .page-sports__features-grid, .page-sports__sports-grid, .page-sports__promo-grid, .page-sports__steps-list {
    grid-template-columns: 1fr;
  }
}