/* General Page Styles */
.page-sports {
  background-color: #0A0A0A;
  color: #FFF6D6;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-sports__dark-bg {
  background-color: #0A0A0A;
  color: #FFF6D6;
}

.page-sports__section-title {
  font-size: clamp(28px, 4vw, 38px);
  color: #FFD36B;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-sports__text-block {
  font-size: 16px;
  margin-bottom: 15px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-sports__card-title {
  font-size: 22px;
  color: #FFD36B;
  margin-top: 15px;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-sports__card-description {
  font-size: 15px;
  color: #FFF6D6;
}

.page-sports__card a {
  color: #FFD36B;
  text-decoration: none;
}

.page-sports__card a:hover {
  text-decoration: underline;
}

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

.page-sports__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

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

.page-sports__btn-secondary {
  background: transparent;
  color: #F2C14E;
  border: 2px solid #F2C14E;
}

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

.page-sports__btn-download {
  background: #111111;
  color: #FFF6D6;
  border: 2px solid #3A2A12;
}

.page-sports__btn-download:hover {
  background: #3A2A12;
  color: #FFD36B;
}

.page-sports__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

/* Images */
.page-sports img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  padding-top: 10px; /* Small padding, body handles header offset */
  margin-bottom: 50px;
  overflow: hidden;
}

.page-sports__hero-image {
  width: 100%;
  height: 675px; /* Aspect ratio 16:9 for 1200x675 */
  object-fit: cover;
  display: block;
}

.page-sports__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.page-sports__main-title {
  font-size: clamp(36px, 5vw, 56px);
  color: #FFD36B;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-sports__description {
  font-size: 18px;
  color: #FFF6D6;
  max-width: 900px;
  margin: 0 auto 30px auto;
  line-height: 1.7;
}

/* Intro Section */
.page-sports__intro-section {
  padding: 60px 0;
  text-align: center;
}

/* Features Section */
.page-sports__features-section {
  padding: 60px 0;
}

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

.page-sports__feature-icon {
  width: 100%;
  height: auto;
  max-width: 200px;
  margin: 0 auto 15px auto;
  object-fit: contain;
}

/* How To Bet Section */
.page-sports__how-to-bet-section {
  padding: 60px 0;
}

.page-sports__betting-steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 40px;
}

.page-sports__step-item {
  counter-increment: step-counter;
  position: relative;
  padding-top: 60px;
}

.page-sports__step-item::before {
  content: counter(step-counter);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  border: 3px solid #3A2A12;
}

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

.page-sports__mobile-app-content {
  display: flex;
  align-items: center;
  gap: 50px;
  text-align: left;
}

.page-sports__mobile-app-text {
  flex: 1;
}

.page-sports__mobile-app-text .page-sports__section-title {
  text-align: left;
  margin-bottom: 20px;
}

.page-sports__mobile-app-text .page-sports__text-block {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-sports__mobile-app-image-wrapper {
  flex-shrink: 0;
  width: 400px;
  height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-sports__mobile-app-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Security Section */
.page-sports__security-section {
  padding: 60px 0;
  text-align: center;
}

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

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

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

details.page-sports__faq-item summary.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  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: #1a1a1a;
}

.page-sports__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF6D6;
}

.page-sports__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFD36B;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-sports__faq-item .page-sports__faq-answer {
  padding: 0 25px 25px;
  background: #1a1a1a;
  border-radius: 0 0 10px 10px;
  color: #FFF6D6;
  font-size: 16px;
}

/* Final CTA Section */
.page-sports__final-cta {
  padding: 80px 0;
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-sports__features-grid,
  .page-sports__betting-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-sports__mobile-app-content {
    flex-direction: column-reverse;
    text-align: center;
  }

  .page-sports__mobile-app-text .page-sports__section-title,
  .page-sports__mobile-app-text .page-sports__text-block {
    text-align: center;
  }

  .page-sports__mobile-app-image-wrapper {
    width: 300px;
    height: 450px;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-sports__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Hero Section */
  .page-sports__hero-section {
    padding-top: 10px;
    margin-bottom: 30px;
  }
  .page-sports__hero-image {
    height: 450px; /* Adjust height for mobile hero image */
    object-fit: cover;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-sports__main-title {
    font-size: clamp(30px, 8vw, 42px);
    margin-bottom: 15px;
  }
  .page-sports__description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  /* Buttons */
  .page-sports__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-sports__btn-primary,
  .page-sports__btn-secondary,
  .page-sports__btn-download {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    margin: 0;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Images */
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-sports__feature-icon {
    max-width: 150px;
  }

  /* Section Titles */
  .page-sports__section-title {
    font-size: clamp(24px, 6vw, 32px);
    margin-bottom: 30px;
  }

  /* Text Blocks */
  .page-sports__text-block {
    font-size: 15px;
    text-align: left;
  }

  /* Features & How To Bet Grid */
  .page-sports__features-grid,
  .page-sports__betting-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-sports__step-item {
    padding-top: 50px;
  }

  .page-sports__step-item::before {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }

  /* Mobile App Section */
  .page-sports__mobile-app-content {
    gap: 30px;
  }
  .page-sports__mobile-app-image-wrapper {
    width: 250px;
    height: 375px;
  }

  /* FAQ Section */
  details.page-sports__faq-item summary.page-sports__faq-question {
    padding: 15px 20px;
  }
  .page-sports__faq-qtext {
    font-size: 16px;
  }
  .page-sports__faq-toggle {
    font-size: 24px;
    width: 25px;
  }
  details.page-sports__faq-item .page-sports__faq-answer {
    padding: 0 20px 20px;
    font-size: 15px;
  }
}