.page-sports {
  font-family: Arial, sans-serif;
  color: #F3F8FF;
  background-color: var(--deep-navy);
}

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

.page-sports__hero-section {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 40px;
  text-align: center;
  background: linear-gradient(180deg, #113B7A 0%, #08162B 100%);
  position: relative;
  overflow: hidden;
}

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

.page-sports__hero-content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.page-sports__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2C14E;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.page-sports__hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #AFC4E8;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  width: auto; /* Default for desktop */
}

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

.page-sports__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  box-shadow: 0 4px 15px rgba(43, 115, 246, 0.4);
}

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

.page-sports__btn-secondary:hover {
  background: #244D84;
  color: #F3F8FF;
  border-color: #F3F8FF;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.3);
}

.page-sports__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: #F2C14E;
  padding-top: 40px;
}

.page-sports__intro-section,
.page-sports__popular-sports,
.page-sports__strategies,
.page-sports__responsible-gambling,
.page-sports__conclusion {
  padding: 60px 0;
  background-color: var(--deep-navy);
  color: #F3F8FF;
}

.page-sports__text-block {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #AFC4E8;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
}

.page-sports__why-choose-us,
.page-sports__how-to-start,
.page-sports__promotions,
.page-sports__faq-section {
  padding: 60px 0;
  background-color: #10233F;
  color: #F3F8FF;
}

.page-sports__dark-section .page-sports__section-title {
  color: #F2C14E;
}

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

.page-sports__card {
  background: #08162B;
  border: 1px solid #244D84;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #F3F8FF;
}

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

.page-sports__card-image,
.page-sports__sport-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
}

.page-sports__card-title,
.page-sports__sport-title,
.page-sports__step-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #F2C14E;
}

.page-sports__card-description,
.page-sports__sport-description,
.page-sports__step-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #AFC4E8;
  flex-grow: 1;
}

.page-sports__sport-item,
.page-sports__step-item {
  background: #08162B;
  border: 1px solid #244D84;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #F3F8FF;
}

.page-sports__sport-item:hover,
.page-sports__step-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-sports__step-item .page-sports__btn-primary {
  margin-top: 20px;
  font-size: 0.95rem;
  padding: 10px 20px;
}

.page-sports__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__strategy-list li {
  background: #10233F;
  border-left: 5px solid #F2C14E;
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  font-size: 1rem;
  line-height: 1.7;
  color: #AFC4E8;
  text-align: left;
}

.page-sports__list-heading {
  font-size: 1.15rem;
  color: #F3F8FF;
  margin-bottom: 8px;
}

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

/* FAQ Styles */
details.page-sports__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #244D84;
  overflow: hidden;
  background: #08162B;
  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: #113B7A;
}
.page-sports__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3F8FF;
}
.page-sports__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E;
  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: #10233F;
  border-radius: 0 0 5px 5px;
  color: #AFC4E8;
  font-size: 1rem;
  line-height: 1.6;
}

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

/* Mobile responsiveness */
@media (max-width: 1023px) {
  /* This page is not index.html, so game trial CSS is not directly relevant here, but for completeness as per prompt, if it were the homepage. */
  /* If this were the homepage, these would apply */
  .page-sports__home-hero {
    display: block !important;
    grid-template-columns: none !important;
    height: auto !important;
    max-height: none !important;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .page-sports__hero-brand,
  .page-sports__hero-jackpot {
    display: none !important;
  }
  .page-sports__game-trial {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
    padding: 0 0 12px !important;
    box-sizing: border-box;
  }
  .page-sports__game-trial-shell {
    height: auto !important;
    max-height: none !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-sports__game-trial-topbar,
  .page-sports__game-trial-bottombar {
    display: none !important;
  }
  .page-sports__game-trial-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 1024 / 768;
    flex: none !important;
    min-height: 240px;
    max-height: none !important;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-sports__game-trial-frame {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    max-width: 100%;
    border: none;
    z-index: 1;
    overflow: hidden;
  }
  .page-sports__game-trial-overlay {
    z-index: 5 !important;
    pointer-events: auto !important;
  }
  .page-sports__game-trial-start {
    z-index: 6 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
}

@media (min-width: 1024px) {
  /* This page is not index.html, so game trial CSS is not directly relevant here, but for completeness as per prompt, if it were the homepage. */
  /* If this were the homepage, these would apply */
  .page-sports__home-hero {
    display: grid;
    grid-template-columns: 26% 48% 26%;
    gap: 16px;
    align-items: stretch;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 16px 24px;
    box-sizing: border-box;
  }
  .page-sports__hero-brand,
  .page-sports__hero-jackpot,
  .page-sports__game-trial {
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-sports__game-trial {
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page-sports__game-trial-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 300px;
    box-sizing: border-box;
  }
  .page-sports__game-trial-viewport {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
  }
  .page-sports__game-trial-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
  }
  .page-sports__hero-jackpot-claim {
    background: #c62828 !important;
    color: #fff !important;
  }
  .page-sports__promo-strip {
    margin-top: 16px;
  }
}

@media (max-width: 768px) {
  .page-sports__container {
    padding: 0 15px;
  }

  .page-sports__main-title {
    font-size: 2rem;
  }

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

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

  .page-sports__btn-primary,
  .page-sports__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-sports__section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-top: 30px;
  }

  .page-sports__intro-section,
  .page-sports__why-choose-us,
  .page-sports__popular-sports,
  .page-sports__how-to-start,
  .page-sports__strategies,
  .page-sports__promotions,
  .page-sports__responsible-gambling,
  .page-sports__faq-section,
  .page-sports__conclusion {
    padding: 40px 0;
  }

  .page-sports__text-block {
    font-size: 0.95rem;
  }

  .page-sports__features-grid,
  .page-sports__sports-list,
  .page-sports__steps-grid,
  .page-sports__promo-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-sports__card,
  .page-sports__sport-item,
  .page-sports__step-item {
    padding: 20px;
  }

  .page-sports__card-title,
  .page-sports__sport-title,
  .page-sports__step-title {
    font-size: 1.2rem;
  }

  .page-sports__card-description,
  .page-sports__sport-description,
  .page-sports__step-description {
    font-size: 0.9rem;
  }

  .page-sports__strategy-list li {
    padding: 15px;
    font-size: 0.95rem;
  }

  .page-sports__list-heading {
    font-size: 1.05rem;
  }

  details.page-sports__faq-item summary.page-sports__faq-question {
    padding: 15px;
  }
  .page-sports__faq-qtext {
    font-size: 1rem;
  }
  details.page-sports__faq-item .page-sports__faq-answer {
    padding: 0 15px 15px;
    font-size: 0.95rem;
  }

  /* Mobile image specific rules */
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-sports__section,
  .page-sports__card,
  .page-sports__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile button specific rules */
  .page-sports__cta-button,
  .page-sports__btn-primary,
  .page-sports__btn-secondary,
  .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;
    padding-right: 15px;
  }
  .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: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-sports__cta-buttons {
    display: flex;
    flex-direction: column; 
  }
}

/* The following are for homepage trial game, included as per prompt's 'js' field content, but not directly used by this sports page's HTML. */
.page-sports__game-trial-overlay{z-index:5;pointer-events:auto;}
.page-sports__game-trial-overlay.is-hidden{display:none!important;pointer-events:none!important;}
.page-sports__game-trial-start{z-index:6;pointer-events:auto;touch-action:manipulation;}
.page-sports__game-trial-shell{border:1px solid rgba(212,175,55,.45);border-radius:10px;overflow:hidden;}
.page-sports__reward-modal{position:fixed;inset:0;z-index:10000; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.7);}
.page-sports__reward-modal[hidden] { display: none !important; }
.page-sports__reward-modal-content { background: #10233F; padding: 30px; border-radius: 10px; text-align: center; max-width: 400px; position: relative; color: #F3F8FF; border: 1px solid #F2C14E;}
.page-sports__reward-modal-close { position: absolute; top: 10px; right: 10px; background: none; border: none; font-size: 24px; color: #F2C14E; cursor: pointer; }
.page-sports__reward-modal-title { font-size: 1.5rem; margin-bottom: 15px; color: #F2C14E;}
.page-sports__reward-modal-text { font-size: 1rem; margin-bottom: 25px; color: #AFC4E8; }
.page-sports__reward-modal-cta { display: inline-block; background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); color: #F3F8FF; padding: 12px 25px; border-radius: 8px; text-decoration: none; font-weight: 600; }