/* Base styles for page-sports */
.page-sports {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F3F8FF; /* Text Main for dark body background */
  padding-top: 10px; /* Small top padding for main content */
}

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

.page-sports__section {
  padding: 60px 0;
}

.page-sports__dark-section {
  background-color: #08162B; /* Deep Navy - body background */
  color: #F3F8FF; /* Text Main */
}

.page-sports__light-bg {
  background-color: #10233F; /* Card BG - slightly lighter dark for contrast */
  color: #F3F8FF;
}

.page-sports__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #F2C14E; /* Gold */
}

.page-sports__sub-description {
  text-align: center;
  max-width: 800px;
  margin: -20px auto 40px auto;
  font-size: 18px;
  color: #AFC4E8; /* Text Secondary */
}

.page-sports__highlight {
  color: #F2C14E; /* Gold */
  font-weight: bold;
}

/* Hero Section */
.page-sports__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.page-sports__hero-image-wrapper {
  width: 100%;
  height: 675px; /* Fixed height for desktop */
  overflow: hidden;
}

.page-sports__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-sports__hero-content {
  position: relative;
  z-index: 2;
  margin-top: 20px;
  max-width: 900px;
  padding: 0 15px;
}

.page-sports__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
  font-weight: 800;
  margin-bottom: 15px;
  color: #F2C14E; /* Gold */
  line-height: 1.2;
}

.page-sports__description {
  font-size: 1.25rem;
  margin-bottom: 30px;
  color: #AFC4E8; /* Text Secondary */
}

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

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

.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-sports__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  border: none;
}

.page-sports__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-2px);
}

.page-sports__btn-secondary {
  background: transparent;
  color: #F3F8FF;
  border: 2px solid #244D84; /* Border color */
}

.page-sports__btn-secondary:hover {
  background-color: rgba(36, 77, 132, 0.2); /* #244D84 with transparency */
  transform: translateY(-2px);
}

.page-sports__btn-small {
  padding: 10px 20px;
  font-size: 16px;
}

/* About Sports Section */
.page-sports__about-sports p {
  font-size: 17px;
  max-width: 900px;
  margin: 0 auto 30px auto;
  text-align: justify;
  color: #AFC4E8;
}

.page-sports__content-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Sports Categories Grid */
.page-sports__grid-3-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-sports__card {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border color */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-sports__card-image {
  width: 100%;
  height: 200px; /* Fixed height for card images */
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-sports__card-title {
  font-size: 22px;
  font-weight: bold;
  margin: 15px 15px 10px 15px;
  color: #F2C14E; /* Gold */
}

.page-sports__card p {
  font-size: 16px;
  color: #AFC4E8;
  padding: 0 15px;
  text-align: justify;
  flex-grow: 1;
}

/* Why Choose Section */
.page-sports__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-sports__feature-item {
  text-align: center;
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84;
  border-radius: 10px;
  padding: 30px 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-sports__feature-image {
  max-width: 100%;
  height: 200px; /* Fixed height for feature images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-sports__feature-title {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

/* How To Start Section */
.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: #10233F; /* Card BG */
  border: 1px solid #244D84;
  border-radius: 10px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-sports__step-number {
  font-size: 48px;
  font-weight: bold;
  color: #4FA8FF; /* Glow */
  margin-bottom: 15px;
  line-height: 1;
}

.page-sports__step-title {
  font-size: 22px;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-sports__step-item p {
  font-size: 16px;
  color: #AFC4E8;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Promotions Section */
.page-sports__promo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-sports__promo-cards .page-sports__card {
  padding-bottom: 30px;
}

/* Responsible Gaming Section */
.page-sports__responsible-gaming p {
  font-size: 17px;
  max-width: 900px;
  margin: 0 auto 30px auto;
  text-align: justify;
  color: #AFC4E8;
}

.page-sports__responsible-gaming .page-sports__btn-secondary {
  margin: 0 auto;
  display: block;
  width: fit-content;
}

/* FAQ Section */
details.page-sports__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #244D84; /* Border color */
  overflow: hidden;
  background: #10233F; /* Card BG */
  color: #F3F8FF;
}

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(36, 77, 132, 0.2); /* #244D84 with transparency */
}

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

.page-sports__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #4FA8FF; /* Glow */
  flex-shrink: 0;
  margin-left: 15px;
  width: 32px;
  text-align: center;
}

details.page-sports__faq-item .page-sports__faq-answer {
  padding: 0 20px 20px;
  background: rgba(16, 35, 63, 0.5); /* Card BG with transparency */
  border-radius: 0 0 10px 10px;
  color: #AFC4E8;
  font-size: 16px;
}

/* Divider */
.page-sports__divider {
  height: 1px;
  background-color: #1B3357; /* Divider color */
  margin: 40px auto;
  max-width: 80%;
}

/* General Image and Container Responsiveness */
.page-sports img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-sports__section,
.page-sports__card,
.page-sports__container,
.page-sports__cta-buttons,
.page-sports__promo-cards,
.page-sports__grid-3-cols,
.page-sports__feature-grid,
.page-sports__steps-grid {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Responsive styles for mobile */
@media (max-width: 768px) {
  .page-sports {
    font-size: 16px;
    line-height: 1.6;
    padding-top: 0; /* Remove top padding on mobile, let body handle it */
  }

  .page-sports__section {
    padding: 40px 0;
  }

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

  .page-sports__sub-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-sports__hero-image-wrapper {
    height: 250px; /* Adjust hero image height for mobile */
  }

  .page-sports__hero-content {
    margin-top: 15px;
  }

  .page-sports__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
    margin-bottom: 10px;
  }

  .page-sports__description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-sports__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-sports__btn-primary,
  .page-sports__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 16px;
  }

  .page-sports__container,
  .page-sports__card,
  .page-sports__feature-item,
  .page-sports__step-item {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-sports__card-image,
  .page-sports__feature-image {
    height: 180px;
  }

  .page-sports__card-title {
    font-size: 20px;
  }

  .page-sports__faq-qtext {
    font-size: 16px;
  }

  .page-sports__faq-toggle {
    font-size: 24px;
    width: 28px;
  }

  details.page-sports__faq-item summary.page-sports__faq-question {
    padding: 15px;
  }

  details.page-sports__faq-item .page-sports__faq-answer {
    padding: 0 15px 15px;
  }

  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-sports__section,
  .page-sports__card,
  .page-sports__container,
  .page-sports__cta-buttons,
  .page-sports__promo-cards,
  .page-sports__grid-3-cols,
  .page-sports__feature-grid,
  .page-sports__steps-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}