.page-sports {
  color: #F3F8FF; /* Text Main */
  background-color: var(--site-deep-navy); /* From shared.css, dark background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

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

.page-sports__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Limit height to prevent overly tall hero */
  overflow: hidden;
  position: relative;
}

.page-sports__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Darken image slightly for text contrast */
}

.page-sports__hero-content {
  position: relative; /* Ensure content is above image but not overlapping its main visual area */
  z-index: 2;
  padding: 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content up slightly over the darkened bottom of the image */
  background: linear-gradient(0deg, rgba(8, 22, 43, 0.8) 0%, rgba(8, 22, 43, 0) 100%); /* Gradient for better text readability */
  padding-top: 120px; /* Add padding to prevent text from being too low */
}

.page-sports__hero-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-sports__hero-description {
  font-size: 1.2rem;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-sports__section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-sports__section-description {
  font-size: 1.1rem;
  color: #AFC4E8; /* Text Secondary */
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__advantages-section, .page-sports__categories-section, .page-sports__live-betting-section, .page-sports__promotions-section, .page-sports__how-to-start-section, .page-sports__faq-section, .page-sports__cta-section {
  padding: 80px 0;
}

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

.page-sports__advantage-card, .page-sports__category-card, .page-sports__promotion-card, .page-sports__step-card {
  background-color: #10233F; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #244D84; /* Border */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-sports__advantage-image, .page-sports__category-image, .page-sports__promotion-image, .page-sports__live-betting-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-sports__advantage-title, .page-sports__category-title, .page-sports__promotion-title, .page-sports__step-title, .page-sports__live-betting-subtitle {
  font-size: 1.5rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-sports__advantage-text, .page-sports__category-text, .page-sports__promotion-text, .page-sports__step-text, .page-sports__live-betting-paragraph, .page-sports__live-betting-features li {
  color: #AFC4E8; /* Text Secondary */
  font-size: 1rem;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-sports__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button */
  color: #F3F8FF; /* Text Main */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  display: inline-block;
}

.page-sports__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-sports__btn-secondary {
  background-color: transparent;
  color: #F3F8FF; /* Text Main */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid #2B73F6;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  display: inline-block;
}

.page-sports__btn-secondary:hover {
  background-color: rgba(43, 115, 246, 0.1);
  transform: translateY(-2px);
}

.page-sports__btn-tertiary {
  background-color: #1D5FD1; /* Auxiliary color */
  color: #F3F8FF; /* Text Main */
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  margin-top: auto; /* Push button to bottom of card */
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  display: inline-block;
}

.page-sports__btn-tertiary:hover {
  background-color: #2B73F6;
}

.page-sports__live-betting-content {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 50px;
}

.page-sports__live-betting-text {
  flex: 1;
}

.page-sports__live-betting-image-wrapper {
  flex: 1;
  min-width: 200px;
}

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

.page-sports__live-betting-features li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: #F3F8FF; /* Text Main */
}

.page-sports__feature-icon {
  color: #F2C14E; /* Gold */
  font-size: 1.3rem;
  margin-right: 10px;
}

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

.page-sports__step-number {
  background-color: #1D5FD1; /* Auxiliary color */
  color: #F3F8FF; /* Text Main */
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

.page-sports__faq-list {
  margin-top: 40px;
}

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

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  color: #F3F8FF; /* Text Main */
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-sports__faq-question::-webkit-details-marker {
  display: none;
}

.page-sports__faq-question:hover {
  background-color: rgba(29, 95, 209, 0.1);
}

.page-sports__faq-item[open] .page-sports__faq-question {
  background-color: #113B7A;
}

.page-sports__faq-qtext {
  flex-grow: 1;
}

.page-sports__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  margin-left: 15px;
  color: #F2C14E; /* Gold */
}

.page-sports__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #AFC4E8; /* Text Secondary */
}

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

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

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

/* Ensure content containers don't cause overflow */
.page-sports__container, .page-sports__hero-section {
  box-sizing: border-box;
  max-width: 100%;
  overflow-x: hidden;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-sports__hero-title {
    font-size: clamp(2.2rem, 5vw, 3rem);
  }

  .page-sports__hero-description {
    font-size: 1.1rem;
  }

  .page-sports__section-title {
    font-size: clamp(1.8rem, 4.5vw, 2.5rem);
  }

  .page-sports__live-betting-content {
    flex-direction: column;
    text-align: center;
  }

  .page-sports__live-betting-text, .page-sports__live-betting-image-wrapper {
    flex: none;
    width: 100%;
  }

  .page-sports__live-betting-features {
    text-align: left;
    padding-left: 20px;
  }
}

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

  .page-sports__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-sports__hero-image {
    filter: brightness(0.6) !important; /* More darkening for mobile text */
  }

  .page-sports__hero-content {
    margin-top: -60px; /* Adjust pull-up for smaller screens */
    padding-top: 80px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-sports__hero-title {
    font-size: 2.2rem !important;
    margin-bottom: 15px;
  }

  .page-sports__hero-description {
    font-size: 1rem !important;
    margin-bottom: 20px;
  }

  .page-sports__hero-cta-buttons, .page-sports__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-sports__btn-primary,
  .page-sports__btn-secondary,
  .page-sports__btn-tertiary,
  .page-sports a[class*="button"],
  .page-sports a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    font-size: 1rem !important;
  }

  .page-sports__advantages-section, .page-sports__categories-section, .page-sports__live-betting-section, .page-sports__promotions-section, .page-sports__how-to-start-section, .page-sports__faq-section, .page-sports__cta-section {
    padding: 40px 0;
  }

  .page-sports__section-title {
    font-size: 1.8rem !important;
    margin-bottom: 15px;
    padding: 0 15px;
  }

  .page-sports__section-description {
    font-size: 0.95rem !important;
    margin-bottom: 30px;
    padding: 0 15px;
  }

  .page-sports__advantages-grid, .page-sports__categories-grid, .page-sports__promotions-grid, .page-sports__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .page-sports__advantage-card, .page-sports__category-card, .page-sports__promotion-card, .page-sports__step-card {
    padding: 25px;
  }

  .page-sports__advantage-image, .page-sports__category-image, .page-sports__promotion-image, .page-sports__live-betting-image {
    height: 200px;
  }

  .page-sports__advantage-title, .page-sports__category-title, .page-sports__promotion-title, .page-sports__step-title, .page-sports__live-betting-subtitle {
    font-size: 1.3rem;
  }

  .page-sports__advantage-text, .page-sports__category-text, .page-sports__promotion-text, .page-sports__step-text, .page-sports__live-betting-paragraph, .page-sports__live-betting-features li {
    font-size: 0.9rem;
  }

  .page-sports__live-betting-content {
    gap: 30px;
    margin-top: 30px;
    padding: 0 15px;
  }

  .page-sports__live-betting-features {
    padding-left: 0;
  }

  .page-sports__full-promotions-cta {
    margin-top: 30px;
    padding: 0 15px;
  }

  .page-sports__faq-list {
    margin-top: 30px;
    padding: 0 15px;
  }

  .page-sports__faq-question {
    padding: 15px 20px;
    font-size: 1.1rem;
  }

  .page-sports__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95rem;
  }

  /* General image and container rules for mobile */
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-sports__container,
  .page-sports__hero-section,
  .page-sports__advantages-section,
  .page-sports__categories-section,
  .page-sports__live-betting-section,
  .page-sports__promotions-section,
  .page-sports__how-to-start-section,
  .page-sports__faq-section,
  .page-sports__cta-section,
  .page-sports__advantages-grid,
  .page-sports__categories-grid,
  .page-sports__promotions-grid,
  .page-sports__steps-grid,
  .page-sports__live-betting-content,
  .page-sports__full-promotions-cta,
  .page-sports__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }
}