.page-sports {
  font-family: 'Arial', sans-serif;
  color: #FFF6D6; /* Text Main */
  background: #0A0A0A; /* Background */
}

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

.page-sports__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  background: #0A0A0A;
}

.page-sports__hero-section .page-sports__container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.page-sports__hero-content {
  text-align: center;
  max-width: 800px;
}

.page-sports__main-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  color: #FFD36B; /* Auxiliary color for emphasis */
  margin-bottom: 20px;
}

.page-sports__hero-description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.page-sports__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  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: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-sports__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for light button */
  border: none;
}

.page-sports__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-sports__btn-secondary {
  background: transparent;
  color: #FFF6D6; /* Text Main */
  border: 2px solid #F2C14E; /* Main color as border */
}

.page-sports__btn-secondary:hover {
  background: #F2C14E; /* Main color on hover */
  color: #111111; /* Dark text on hover */
  transform: translateY(-2px);
}

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

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

.page-sports__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #FFD36B; /* Auxiliary color */
  text-align: center;
  margin-bottom: 20px;
}

.page-sports__section-subtitle {
  font-size: 18px;
  line-height: 1.5;
  color: #FFF6D6;
  text-align: center;
  margin-bottom: 40px;
}

.page-sports__about-section,
.page-sports__promotions-section,
.page-sports__cta-bottom {
  padding: 60px 0;
  background: #111111; /* Card BG for dark sections */
}

.page-sports__why-choose-us,
.page-sports__categories-section,
.page-sports__faq-section {
  padding: 60px 0;
  background: #0A0A0A; /* Background */
}

.page-sports__text-block {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-sports__card {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 20px;
}

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

.page-sports__card-title {
  font-size: 24px;
  font-weight: 600;
  color: #FFD36B; /* Auxiliary color */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-sports__card-description {
  font-size: 15px;
  line-height: 1.5;
  color: #FFF6D6;
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-sports__card-button {
  margin-top: auto;
  padding: 10px 20px;
  font-size: 15px;
}

.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: #0A0A0A; /* Background */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

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

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

.page-sports__promo-title {
  font-size: 22px;
  font-weight: 600;
  color: #F2C14E; /* Main color */
  margin-bottom: 10px;
}

.page-sports__promo-description {
  font-size: 15px;
  line-height: 1.5;
  color: #FFF6D6;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

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

.page-sports__feature-item {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-sports__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-sports__feature-description {
  font-size: 15px;
  line-height: 1.5;
  color: #FFF6D6;
}

/* FAQ Section */
details.page-sports__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #3A2A12; /* Border */
  overflow: hidden;
  background: #111111; /* 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(242, 193, 78, 0.1); /* Slight hover effect with main color */
}
.page-sports__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF6D6;
}
.page-sports__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E; /* Main color for toggle */
  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: #0A0A0A; /* Background */
  border-radius: 0 0 5px 5px;
  font-size: 15px;
  line-height: 1.6;
  color: #FFF6D6;
}

/* GLOBAL IMAGE & BUTTON RESPONSIVE STYLES */
.page-sports img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

/* RESPONSIVE CSS */
@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;
  }
}

@media (max-width: 768px) {
  .page-sports__main-title {
    font-size: 36px;
  }
  .page-sports__hero-description {
    font-size: 16px;
  }
  .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: 15px;
  }
  .page-sports__section-title {
    font-size: 28px;
  }
  .page-sports__section-subtitle {
    font-size: 16px;
  }
  .page-sports__about-section,
  .page-sports__promotions-section,
  .page-sports__cta-bottom,
  .page-sports__why-choose-us,
  .page-sports__categories-section,
  .page-sports__faq-section {
    padding: 40px 0;
  }
  .page-sports__grid-3-col,
  .page-sports__promo-grid,
  .page-sports__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-sports__card-title,
  .page-sports__promo-title,
  .page-sports__feature-title {
    font-size: 20px;
  }
  .page-sports__card-image,
  .page-sports__promo-image {
    height: 180px;
  }
  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;
  }
  .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;
  }
  .page-sports__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-sports__cta-buttons {
    display: flex;
    flex-direction: column;
  }
  /* Specifics for homepage modules if they were present on this page, as per instruction */
  /* Example for __promo-strip if it were a grid with 4 columns in desktop */
  .page-sports__promo-strip-track {
    grid-template-columns: repeat(2, 1fr) !important; /* Example for 2 columns on mobile */
    overflow-x: hidden !important;
    gap: 15px !important;
  }
  /* Example for __hot-games if it were a grid with 6 columns in desktop */
  .page-sports__hot-games-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
  }
  /* Placeholder for winner ticker if fixed bottom */
  .page-sports__winner-ticker {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 999 !important;
    padding: 10px 15px !important;
  }
  /* Ensure body/main has bottom padding if ticker is fixed */
  body.page-sports--ticker-active {
    padding-bottom: 60px !important; /* Adjust based on ticker height */
  }
  main.page-sports--ticker-active {
    padding-bottom: 60px !important; /* Adjust based on ticker height */
  }
}

.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;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.page-sports__reward-modal[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}
.page-sports__reward-modal-content {
  background: #111111;
  color: #FFF6D6;
  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: #FFF6D6;
  cursor: pointer;
}
.page-sports__reward-modal-title {
  font-size: 28px;
  color: #FFD36B;
  margin-bottom: 15px;
}
.page-sports__reward-modal-text {
  font-size: 16px;
  margin-bottom: 25px;
}
.page-sports__reward-modal-button {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.3s ease;
}
.page-sports__reward-modal-button:hover {
  opacity: 0.9;
}