.page-sports {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F3F8FF; /* Text Main */
  background-color: #08162B; /* Deep Navy from body background info */
}

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

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

.page-sports__section-title {
  font-size: 36px;
  color: #F3F8FF; /* Text Main */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-sports__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  line-height: 1.7;
  color: #AFC4E8; /* Text Secondary */
}

/* Hero Section */
.page-sports__hero-section {
  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: 500px;
  overflow: hidden;
  margin-bottom: 30px;
}

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

.page-sports__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
}

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

.page-sports__description {
  font-size: 18px;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 30px;
  line-height: 1.8;
}

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

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

.page-sports__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button color */
  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 */
}

.page-sports__btn-secondary:hover {
  background: rgba(242, 193, 78, 0.1);
  transform: translateY(-2px);
}

/* Card styles */
.page-sports__card {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
}

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

.page-sports__card-title {
  font-size: 24px;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-sports__card-text {
  font-size: 15px;
  color: #AFC4E8; /* Text Secondary */
  line-height: 1.7;
}

.page-sports__card-button {
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
}

/* Popular Sports Grid */
.page-sports__popular-sports .page-sports__section-title {
  color: #F3F8FF;
}

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

/* Features Grid */
.page-sports__why-choose .page-sports__section-title {
  color: #F3F8FF;
}

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

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

.page-sports__feature-text {
  font-size: 16px;
  color: #AFC4E8; /* Text Secondary */
  line-height: 1.7;
}

/* Guide Steps */
.page-sports__guide .page-sports__section-title {
  color: #F3F8FF;
}

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

.page-sports__step-item {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-sports__step-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

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

.page-sports__step-text {
  font-size: 15px;
  color: #AFC4E8; /* Text Secondary */
}

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

/* FAQ Section */
.page-sports__faq-section {
  background: #08162B;
  padding-top: 40px;
  padding-bottom: 60px;
}

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

.page-sports__faq-list {
  max-width: 800px;
  margin: 30px auto 0;
}

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

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(43, 115, 246, 0.1); /* Lighter hover from Button gradient start */
}

.page-sports__faq-qtext {
  flex: 1;
  font-size: 18px;
  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 BG for answer */
  border-radius: 0 0 5px 5px;
  color: #AFC4E8; /* Text Secondary */
}

.page-sports__faq-answer p {
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.7;
}

/* Download CTA */
.page-sports__cta-download {
  padding: 60px 0;
  background: #08162B;
}

.page-sports__download-card {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 40px;
  text-align: left;
}

.page-sports__download-image {
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: 10px;
  flex-shrink: 0;
}

.page-sports__download-content .page-sports__section-title {
  text-align: left;
  margin-bottom: 20px;
  color: #F3F8FF;
}

.page-sports__download-content .page-sports__text-block {
  font-size: 17px;
  color: #AFC4E8;
  margin-bottom: 30px;
}

/* Responsive Design */

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

/* General button responsiveness */
.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%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-sports__cta-buttons,
.page-sports__button-group,
.page-sports__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 1023px) {
  /* Homepage trial layout CSS - included as per strict instruction, though not semantically used on this inner page */
  .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;
    margin: 0 auto;
    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) {
  /* Homepage trial layout CSS - included as per strict instruction, though not semantically used on this inner page */
  .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;
  }
  /* Placeholder for other PC modules as per instructions */
  .page-sports__promo-strip {
    margin-top: 16px;
  }
  .page-sports__promo-strip-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .page-sports__hot-games-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
  }
  .page-sports__hot-games-name, .page-sports__hot-games-rtp, .page-sports__hot-games-desc {
    display: block; /* Ensure these are visible on PC */
  }
  .page-sports__hot-games-card .page-sports__card-image {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-sports__hero-section {
    padding-bottom: 40px;
  }
  .page-sports__main-title {
    font-size: 2.2rem;
  }
  .page-sports__description {
    font-size: 16px;
  }
  .page-sports__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-sports__btn-primary,
  .page-sports__btn-secondary {
    width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
  }

  .page-sports__section-title {
    font-size: 28px;
  }
  .page-sports__text-block {
    font-size: 16px;
  }

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

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

  /* FAQ specific mobile styles */
  details.page-sports__faq-item summary.page-sports__faq-question {
    padding: 15px;
  }
  .page-sports__faq-qtext {
    font-size: 16px;
  }
  details.page-sports__faq-item .page-sports__faq-answer {
    padding: 0 15px 15px;
  }
  .page-sports__faq-answer p {
    font-size: 14px;
  }

  .page-sports__download-card {
    flex-direction: column;
    text-align: center;
    padding: 30px;
  }
  .page-sports__download-image {
    max-width: 250px;
    margin-bottom: 20px;
  }
  .page-sports__download-content .page-sports__section-title {
    text-align: center;
  }
  .page-sports__download-content .page-sports__text-block {
    font-size: 15px;
  }

  /* Mobile image and container responsiveness */
  .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__button-group,
  .page-sports__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  /* For multiple buttons in a row, ensure wrapping */
  .page-sports__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  /* Placeholder for promo-strip mobile */
  .page-sports__promo-strip-track {
    grid-template-columns: repeat(2, 1fr);
    overflow-x: hidden;
    gap: 15px;
  }
  .page-sports__promo-card {
    display: flex;
    flex-direction: column;
    text-align: center;
  }
  .page-sports__promo-card-image {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
  }
  .page-sports__promo-card-content {
    padding: 0 10px;
  }

  /* Placeholder for hot-games mobile */
  .page-sports__hot-games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .page-sports__hot-games-name,
  .page-sports__hot-games-rtp,
  .page-sports__hot-games-desc {
    display: none; /* Hide for mobile as per typical pattern */
  }
  .page-sports__hot-games-card .page-sports__card-image {
    width: 100%;
    height: auto;
  }

  /* Placeholder for brand-intro mobile */
  .page-sports__brand-intro-content {
    padding: 20px;
  }
  .page-sports__brand-intro-logo {
    max-width: 150px;
  }
  .page-sports__brand-intro-text {
    font-size: 15px;
  }

  /* Placeholder for winner-ticker mobile */
  .page-sports__winner-ticker {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    padding: 10px 15px;
    font-size: 14px;
    z-index: 999;
  }
  body {
    padding-bottom: 50px; /* Adjust body padding for fixed ticker */
  }
}

/* Common styles for game trial overlay/modal - included as per strict instruction */
.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);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.page-sports__reward-modal:not([hidden]) {
  opacity: 1;
  visibility: visible;
}
.page-sports__reward-modal-content {
  background: #10233F;
  color: #F3F8FF;
  padding: 30px;
  border-radius: 10px;
  max-width: 500px;
  text-align: center;
  position: relative;
}
.page-sports__reward-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  color: #AFC4E8;
  cursor: pointer;
}
.page-sports__reward-modal-close:hover {
  color: #F2C14E;
}
.page-sports--reward-open {
  overflow: hidden; /* Prevent scrolling when modal is open */
}