@media (max-width: 1023px) {
  .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) {
  .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;
  }
}
/* Base styles for the sports page */
.page-sports {
  font-family: Arial, sans-serif;
  color: #F3F8FF; /* Light text for dark body background */
  background-color: #08162B; /* From shared.css */
  line-height: 1.6;
}

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

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

.page-sports__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #F3F8FF;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

/* Hero Section */
.page-sports__hero-section {
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  background-color: #10233F; /* Dark background for the section */
}

.page-sports__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
  overflow: hidden;
  border-radius: 10px;
}

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

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

.page-sports__main-title {
  font-size: clamp(28px, 4vw, 48px); /* Responsive H1 font size */
  font-weight: 800;
  color: #F2C14E;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-sports__description {
  font-size: 18px;
  color: #AFC4E8;
  margin-bottom: 30px;
}

/* Buttons */
.page-sports__btn-primary,
.page-sports__btn-secondary,
.page-sports__btn-text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons don't overflow */
}

.page-sports__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-sports__btn-secondary {
  background: transparent;
  color: #F3F8FF;
  border: 2px solid #244D84;
  margin-left: 20px;
}

.page-sports__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #F2C14E;
  color: #F2C14E;
}

.page-sports__btn-text-link {
  color: #F2C14E;
  font-size: 15px;
  padding: 5px 10px;
  margin-top: 10px;
  border: 1px solid transparent;
}

.page-sports__btn-text-link:hover {
  text-decoration: underline;
  color: #F2C14E;
}

.page-sports__cta-wrapper {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.page-sports__cta-wrapper--center {
  justify-content: center;
}

/* Intro Section */
.page-sports__intro-section p {
  font-size: 17px;
  color: #AFC4E8;
  margin-bottom: 20px;
}

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

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

.page-sports__sport-card {
  background-color: #10233F;
  border: 1px solid #244D84;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-sports__sport-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-sports__card-title {
  font-size: 22px;
  font-weight: bold;
  color: #F3F8FF;
  margin-bottom: 15px;
}

.page-sports__card-description {
  font-size: 15px;
  color: #AFC4E8;
  margin-bottom: 20px;
  flex-grow: 1; /* Allow description to take available space */
}

/* Benefits Section */
.page-sports__dark-section {
  background-color: #08162B;
  color: #F3F8FF;
}

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

.page-sports__benefit-item {
  text-align: center;
  padding: 25px;
  background-color: #10233F;
  border-radius: 10px;
  border: 1px solid #244D84;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-sports__benefit-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  display: inline-block;
}

.page-sports__benefit-title {
  font-size: 20px;
  font-weight: bold;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-sports__benefit-description {
  font-size: 15px;
  color: #AFC4E8;
}

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

.page-sports__guide-step {
  text-align: center;
  padding: 30px 20px;
  background-color: #10233F;
  border: 1px solid #244D84;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.page-sports__step-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  display: inline-block;
}

.page-sports__step-title {
  font-size: 22px;
  font-weight: bold;
  color: #F3F8FF;
  margin-bottom: 15px;
}

.page-sports__step-description {
  font-size: 15px;
  color: #AFC4E8;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* FAQ Section */
.page-sports__faq-section {
  background-color: #10233F; /* Use card background for FAQ section */
  border-top: 1px solid #1B3357;
}

details.page-sports__faq-item {
  margin-bottom: 15px;
  border-radius: 10px; /* More rounded corners */
  border: 1px solid #244D84; /* Use border color */
  overflow: hidden;
  background: #08162B; /* Darker background for individual FAQ item */
}
details.page-sports__faq-item summary.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px; /* Slightly more padding */
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  color: #F3F8FF; /* Light text for question */
}
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(29, 95, 209, 0.2); /* Subtle hover effect using auxiliary color */
  color: #F2C14E; /* Gold text on hover */
}
.page-sports__faq-qtext {
  flex: 1;
  font-size: 17px; /* Slightly larger font */
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: inherit; /* Inherit color from summary */
}
.page-sports__faq-toggle {
  font-size: 28px; /* Larger toggle icon */
  font-weight: bold;
  color: #F2C14E; /* Gold toggle icon */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px; /* Larger icon area */
  text-align: center;
}
details.page-sports__faq-item .page-sports__faq-answer {
  padding: 0 25px 25px; /* Consistent padding */
  background: #10233F; /* Card background for answer */
  border-radius: 0 0 10px 10px;
  color: #AFC4E8; /* Secondary text color for answer */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-sports__hero-section {
    padding-bottom: 30px;
  }
  .page-sports__main-title {
    font-size: clamp(26px, 5vw, 42px);
  }
  .page-sports__description {
    font-size: 17px;
  }
  .page-sports__section-title {
    font-size: 32px;
  }
}

@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;
  }

  /* Images Mobile Adaptations */
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  /* All containers holding images or content */
  .page-sports__hero-section,
  .page-sports__intro-section,
  .page-sports__popular-sports-section,
  .page-sports__benefits-section,
  .page-sports__guide-section,
  .page-sports__faq-section,
  .page-sports__container,
  .page-sports__sports-grid,
  .page-sports__benefits-grid,
  .page-sports__guide-steps,
  .page-sports__sport-card,
  .page-sports__benefit-item,
  .page-sports__guide-step,
  .page-sports__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-sports__hero-image-wrapper {
    margin-bottom: 20px;
  }
}