/* General Styling */
.page-sports {
  font-family: Arial, sans-serif;
  color: #F3F8FF; /* Text Main */
  background-color: #08162B; /* Deep Navy from body */
  line-height: 1.6;
  padding-top: 10px; /* Small top padding for inner pages, assuming body handles --header-offset */
}

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

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

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

.page-sports__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #F2C14E, transparent);
}

.page-sports__sub-title {
  font-size: 24px;
  font-weight: 600;
  color: #F3F8FF;
  margin-bottom: 20px;
}

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Enforce top image, bottom text */
  align-items: center;
  text-align: center;
  padding-bottom: 40px;
  overflow: hidden; /* Ensure image doesn't overflow */
}

.page-sports__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 675px; /* Max height for hero image */
  margin-bottom: 20px; /* Space between image and content */
}

.page-sports__hero-content {
  position: relative; /* Not absolute, to enforce order */
  max-width: 800px;
  padding: 0 20px;
  z-index: 2; /* Ensure content is above image if any overlap happens */
}

.page-sports__main-title {
  font-size: 48px;
  font-weight: 800;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-sports__hero-description {
  font-size: 18px;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 30px;
}

/* Buttons */
.page-sports__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  width: 100%; /* For mobile responsiveness */
  max-width: 100%; /* For mobile responsiveness */
  box-sizing: border-box; /* For mobile responsiveness */
}

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

.page-sports__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button gradient */
  color: #F3F8FF; /* Text Main */
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

.page-sports__btn-secondary:hover {
  background: #F2C14E; /* Gold */
  color: #08162B; /* Deep Navy */
  transform: translateY(-2px);
}

/* Card Styling */
.page-sports__card {
  background: #10233F; /* Card B G */
  border: 1px solid #244D84; /* Border */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #F3F8FF; /* Text Main */
}

.page-sports__card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block; /* Ensure image occupies its own line */
}

/* Popular Sports Grid */
.page-sports__popular-sports .page-sports__sports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-sports__sports-card .page-sports__sports-name {
  font-size: 22px;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-sports__sports-card p {
  font-size: 15px;
  color: #AFC4E8; /* Text Secondary */
}

/* Odds & Types Section */
.page-sports__odds-info {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 40px;
}

.page-sports__odds-image {
  flex-shrink: 0;
  width: 50%;
  height: auto;
  border-radius: 10px;
}

.page-sports__odds-details {
  flex-grow: 1;
  text-align: left;
}

.page-sports__odds-details ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-sports__odds-details li {
  margin-bottom: 10px;
  font-size: 16px;
  color: #F3F8FF;
}

.page-sports__odds-details li strong {
  color: #F2C14E; /* Gold */
}

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

.page-sports__promo-card .page-sports__promo-title {
  font-size: 20px;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-sports__promo-card p {
  font-size: 15px;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 20px;
}

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

/* Why Choose Us Section */
.page-sports__advantage-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-sports__advantage-list li {
  background: #10233F; /* Card B G */
  border: 1px solid #244D84; /* Border */
  border-radius: 8px;
  padding: 20px;
  font-size: 16px;
  color: #F3F8FF;
  text-align: left;
}

.page-sports__advantage-list li strong {
  color: #F2C14E; /* Gold */
  display: block;
  margin-bottom: 5px;
}

/* Betting Guide Section */
.page-sports__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-sports__guide-step {
  text-align: center;
  padding: 30px 20px;
}

.page-sports__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button gradient */
  color: #F3F8FF;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.page-sports__step-title {
  font-size: 20px;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-sports__guide-step p {
  font-size: 15px;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 20px;
}

/* Support Section */
.page-sports__support-section {
  background-color: #08162B; /* Deep Navy, already body background, but explicitly set for section */
}

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

.page-sports__support-card.page-sports__light-bg {
  background: #10233F; /* Card B G */
  border: 1px solid #244D84; /* Border */
  color: #F3F8FF; /* Text Main */
}

.page-sports__support-card .page-sports__support-title {
  font-size: 22px;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

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

details.page-sports__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #244D84; /* Border */
  overflow: hidden;
  background: #10233F; /* Card B G */
}
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;
  color: #F3F8FF; /* Text Main */
}
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(43, 115, 246, 0.1); /* Light hover effect with primary blue */
}
.page-sports__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3F8FF; /* Text Main */
}
.page-sports__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-sports__faq-item .page-sports__faq-answer {
  padding: 0 20px 20px;
  background: rgba(16, 35, 63, 0.8); /* Slightly lighter Card B G for answer */
  border-radius: 0 0 5px 5px;
  color: #AFC4E8; /* Text Secondary */
}

/* Call to Action Section */
.page-sports__call-to-action {
  text-align: center;
  padding-top: 40px;
  padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1023px) {
  .page-sports__hero-image {
    max-height: 500px;
  }
  .page-sports__main-title {
    font-size: 40px;
  }
  .page-sports__section-title {
    font-size: 32px;
  }
  .page-sports__odds-info {
    flex-direction: column;
    align-items: center;
  }
  .page-sports__odds-image {
    width: 80%;
    margin-bottom: 30px;
  }
  .page-sports__odds-details {
    text-align: center;
  }
  .page-sports__odds-details ul {
    padding-left: 20px;
    text-align: left;
  }
}

@media (max-width: 768px) {
  .page-sports {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-sports__section {
    padding: 40px 0;
  }
  .page-sports__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-sports__main-title {
    font-size: 32px;
  }
  .page-sports__hero-description {
    font-size: 16px;
  }
  .page-sports__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px; /* Add padding to container */
  }
  .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-left: 15px;
    padding-right: 15px;
  }
  /* Ensure all image containers have max-width: 100% */
  .page-sports__container,
  .page-sports__sports-grid,
  .page-sports__promo-grid,
  .page-sports__advantage-list,
  .page-sports__guide-steps,
  .page-sports__support-methods,
  .page-sports__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-sports__hero-image {
    max-height: 300px;
  }
  .page-sports__odds-image {
    width: 100%;
  }
  .page-sports__card {
    padding: 20px;
  }
  details.page-sports__faq-item summary.page-sports__faq-question { padding: 15px; }
  .page-sports__faq-qtext { font-size: 15px; }
  details.page-sports__faq-item .page-sports__faq-answer { padding: 0 15px 15px; }
}