/* Base styles for page-sports */
.page-sports {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--auxiliary-color, #FFFFFF);
}

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

.page-sports__section-title {
  font-size: 32px;
  font-weight: 700;
  color: #017439;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-sports__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #555555;
}

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  color: #ffffff;
  background: linear-gradient(135deg, #017439, #005f2e);
}

.page-sports__hero-image-container {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

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

.page-sports__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 15px;
  z-index: 2;
}

.page-sports__main-title {
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #FFFF00;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-sports__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-sports__btn-primary,
.page-sports__btn-secondary,
.page-sports__btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
  max-width: 100%;
}

.page-sports__btn-primary {
  background: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-sports__btn-primary:hover {
  background: #a80707;
  border-color: #a80707;
}

.page-sports__btn-secondary {
  background: transparent;
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #FFFF00;
}

.page-sports__btn-secondary:hover {
  background: #FFFF00;
  color: #017439;
}

.page-sports__btn-link {
  background: transparent;
  color: #017439;
  border: 1px solid #017439;
  padding: 8px 15px;
  font-size: 14px;
}

.page-sports__btn-link:hover {
  background: #017439;
  color: #FFFFFF;
}

/* Intro Section */
.page-sports__intro-section {
  padding: 60px 0;
  background-color: #FFFFFF;
  color: #333333;
}

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

.page-sports__feature-item {
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  background: #f9f9f9;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

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

.page-sports__feature-title {
  font-size: 22px;
  font-weight: 600;
  color: #017439;
  margin-bottom: 10px;
}

.page-sports__feature-text {
  font-size: 16px;
  color: #555555;
}

/* Popular Sports Section */
.page-sports__popular-sports-section {
  padding: 60px 0;
  background-color: #017439;
  color: #ffffff;
}

.page-sports__popular-sports-section .page-sports__section-title {
  color: #FFFF00;
}

.page-sports__popular-sports-section .page-sports__section-description {
  color: #f0f0f0;
}

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

.page-sports__sport-card {
  background: #1a8b54;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
}

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

.page-sports__sport-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-sports__sport-title {
  font-size: 20px;
  font-weight: 600;
  color: #FFFF00;
  margin-bottom: 10px;
}

.page-sports__sport-title a {
  color: inherit;
  text-decoration: none;
}

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

.page-sports__sport-text {
  font-size: 15px;
  color: #e0e0e0;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

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

.page-sports__promo-card {
  background: #f9f9f9;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}

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

.page-sports__promo-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-sports__promo-title {
  font-size: 20px;
  font-weight: 600;
  color: #017439;
  margin-bottom: 10px;
}

.page-sports__promo-title a {
  color: inherit;
  text-decoration: none;
}

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

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

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

/* Guide Section */
.page-sports__guide-section {
  padding: 60px 0;
  background-color: #017439;
  color: #ffffff;
}

.page-sports__guide-section .page-sports__section-title {
  color: #FFFF00;
}

.page-sports__guide-section .page-sports__section-description {
  color: #f0f0f0;
}

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

.page-sports__step-item {
  text-align: center;
  padding: 30px 20px;
  background: #1a8b54;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.page-sports__step-number {
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 50%;
  background: #FFFF00;
  color: #017439;
  font-size: 30px;
  font-weight: 700;
  margin: 0 auto 20px;
}

.page-sports__step-title {
  font-size: 22px;
  font-weight: 600;
  color: #FFFF00;
  margin-bottom: 10px;
}

.page-sports__step-text {
  font-size: 16px;
  color: #e0e0e0;
  margin-bottom: 20px;
}

/* Responsible Gaming Section */
.page-sports__responsible-gaming-section {
  padding: 60px 0;
  background-color: #f5f5f5;
  color: #333333;
}

.page-sports__responsible-gaming-section .page-sports__section-description {
  margin-bottom: 20px;
  color: #555555;
}

/* FAQ Section */
details.page-sports__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  color: #333333;
}
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: #333333;
}
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: #f5f5f5;
}
.page-sports__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #017439;
}
.page-sports__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  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: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}

.page-sports__faq-section {
  padding: 60px 0;
  background-color: #017439;
  color: #ffffff;
}

.page-sports__faq-section .page-sports__section-title {
  color: #FFFF00;
}

/* Responsive adjustments */
@media (max-width: 1023px) {
  .page-sports__hero-section {
    padding-top: 10px;
    padding-bottom: 30px;
  }
  .page-sports__hero-image-container {
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  .page-sports__container {
    padding: 15px;
  }
  .page-sports__section-title {
    font-size: 28px;
  }
  .page-sports__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-sports__hero-section {
    padding-top: 10px;
    padding-bottom: 20px;
  }
  .page-sports__hero-image-container {
    max-height: 300px;
  }
  .page-sports__main-title {
    font-size: 32px;
  }
  .page-sports__hero-description {
    font-size: 18px;
  }
  .page-sports__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-sports__btn-primary,
  .page-sports__btn-secondary,
  .page-sports__btn-link {
    padding: 12px 20px;
    font-size: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-sports__cta-buttons,
  .page-sports__button-group,
  .page-sports__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    flex-wrap: wrap !important;
    gap: 15px;
  }

  .page-sports__features-grid,
  .page-sports__sports-grid,
  .page-sports__promo-grid,
  .page-sports__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-sports__feature-item,
  .page-sports__sport-card,
  .page-sports__promo-card,
  .page-sports__step-item {
    padding: 20px;
  }
  .page-sports__sport-image,
  .page-sports__promo-image {
    height: 180px;
  }

  /* Image responsive rules */
  .page-sports img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-sports__hero-image-container,
  .page-sports__feature-item,
  .page-sports__sport-card,
  .page-sports__promo-card,
  .page-sports__step-item,
  .page-sports__faq-item,
  .page-sports__content-area,
  .page-sports__text-block,
  .page-sports__card,
  .page-sports__section,
  .page-sports__box {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0px;
    padding-right: 0px;
  }
  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; }
}

/* No homepage specific CSS for this inner page */
/* The following media queries are from the homepage template and are NOT applicable to this inner page. */
/* They are included here as placeholder comments to satisfy the strict output format, but should be empty for this inner page. */
@media (max-width: 1023px) {
  /* This is an inner page, no home-hero specific overrides */
  /* .page-sports__home-hero, .page-sports__hero-brand, .page-sports__hero-jackpot, .page-sports__game-trial, .page-sports__game-trial-shell, .page-sports__game-trial-topbar, .page-sports__game-trial-bottombar, .page-sports__game-trial-viewport, .page-sports__game-trial-frame, .page-sports__game-trial-overlay, .page-sports__game-trial-start styles are not applicable here. */
}
@media (min-width: 1024px) {
  /* This is an inner page, no home-hero specific overrides */
  /* .page-sports__home-hero, .page-sports__hero-brand, .page-sports__hero-jackpot, .page-sports__game-trial, .page-sports__game-trial-shell, .page-sports__game-trial-viewport, .page-sports__game-trial-frame, .page-sports__hero-jackpot-claim, .page-sports__promo-strip styles are not applicable here. */
}
@media (max-width: 768px) {
  /* This is an inner page, no home-hero, promo-strip-track, hot-games-grid, brand-intro, winner-ticker specific overrides */
  /* .page-sports__promo-strip-track, .page-sports__hot-games-grid, .page-sports__brand-intro, .page-sports__winner-ticker styles are not applicable here. */
}