/* Body background is dark #0D0E12. Text color should be light #FFF3E6 or #ffffff. */
.page-sports {
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-sports__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  color: #FF8C1A;
  margin-bottom: 20px;
  padding-top: 40px;
}

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

.page-sports__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background: linear-gradient(180deg, #17191F 0%, #0D0E12 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

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

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

.page-sports__main-title {
  font-size: 48px;
  font-weight: 900;
  color: #FFB04D; /* Glow */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-sports__hero-description {
  font-size: 20px;
  color: #FFF3E6;
  margin-bottom: 30px;
  line-height: 1.5;
}

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

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

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

.page-sports__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button */
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

.page-sports__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6);
}

.page-sports__btn-secondary {
  background: transparent;
  color: #FF8C1A; /* Main Color */
  border: 2px solid #FF8C1A; /* Border */
}

.page-sports__btn-secondary:hover {
  background: #FF8C1A;
  color: #ffffff;
  transform: translateY(-2px);
}

.page-sports__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-top: 20px;
}

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

.page-sports__features-section {
  padding: 60px 0;
  background-color: #0D0E12;
}

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

.page-sports__feature-card {
  background-color: #17191F; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #A84F0C; /* Border */
}

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

.page-sports__feature-icon {
  width: 100%;
  height: auto;
  max-width: 120px;
  margin: 0 auto 20px;
  display: block;
  border-radius: 8px;
}

.page-sports__feature-title {
  font-size: 24px;
  font-weight: 700;
  color: #FFB04D; /* Glow */
  margin-bottom: 15px;
}

.page-sports__feature-description {
  font-size: 16px;
  color: #FFF3E6;
}

.page-sports__sports-categories {
  padding: 60px 0;
  background-color: #17191F; /* Card BG */
}

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

.page-sports__category-card {
  background-color: #0D0E12; /* Background */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #A84F0C; /* Border */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-sports__category-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-sports__category-title {
  font-size: 26px;
  font-weight: 700;
  color: #FFA53A; /* Auxiliary Color */
  margin-bottom: 15px;
}

.page-sports__category-text {
  font-size: 16px;
  color: #FFF3E6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-sports__category-card .page-sports__btn-primary {
  width: 100%;
}

.page-sports__promotions-section {
  padding: 60px 0;
  background-color: #0D0E12;
}

.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-color: #17191F; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #A84F0C; /* Border */
  display: flex;
  flex-direction: column;
}

.page-sports__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-sports__promo-title {
  font-size: 24px;
  font-weight: 700;
  color: #FFB04D; /* Glow */
  margin-bottom: 15px;
}

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

.page-sports__promo-card .page-sports__btn-primary {
  width: 100%;
}

.page-sports__guide-section {
  padding: 60px 0;
  background-color: #17191F; /* Card BG */
}

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

.page-sports__guide-step {
  background-color: #0D0E12; /* Background */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #A84F0C; /* Border */
}

.page-sports__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #FF8C1A; /* Main Color */
  color: #ffffff;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(255, 140, 26, 0.5);
}

.page-sports__step-title {
  font-size: 22px;
  font-weight: 700;
  color: #FFA53A; /* Auxiliary Color */
  margin-bottom: 10px;
}

.page-sports__step-text {
  font-size: 16px;
  color: #FFF3E6;
}

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

.page-sports__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

details.page-sports__faq-item {
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid #A84F0C; /* Border */
  overflow: hidden;
  background: #17191F; /* Card BG */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

details.page-sports__faq-item summary.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #FFB04D; /* Glow */
  font-weight: 600;
}

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(255, 140, 26, 0.1);
}

.page-sports__faq-qtext {
  flex: 1;
  font-size: 18px;
  line-height: 1.5;
  text-align: left;
}

.page-sports__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFA53A; /* Auxiliary Color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-sports__faq-item .page-sports__faq-answer {
  padding: 0 25px 25px;
  background: #0D0E12; /* Background */
  border-radius: 0 0 12px 12px;
  color: #FFF3E6;
  font-size: 16px;
}

.page-sports__dark-section {
  background-color: #17191F; /* Card BG */
  color: #FFF3E6;
}

.page-sports__light-bg {
  background-color: #0D0E12;
  color: #FFF3E6;
}

/* All images base responsive style */
.page-sports img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Buttons and button containers base responsive style */
.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;
}

/* Homepage Trial Section Specific CSS - Required boilerplate */
@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;
  }
  .page-sports__promo-strip {
    margin-top: 16px;
  }
  /* Placeholder for other PC modules as required by prompt */
  .page-sports__promo-strip-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .page-sports__promo-strip-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 15px;
    border-radius: 8px;
    background-color: #17191F;
    border: 1px solid #A84F0C;
  }
  .page-sports__promo-strip-icon {
    width: 60px;
    height: 60px;
    margin-right: 15px;
  }
  .page-sports__promo-strip-text {
    flex-grow: 1;
    color: #FFF3E6;
    font-size: 16px;
  }
  .page-sports__hot-games-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    text-align: center;
  }
  .page-sports__hot-games-item {
    background-color: #17191F;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #A84F0C;
  }
  .page-sports__hot-games-thumbnail {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 10px;
  }
  .page-sports__hot-games-name {
    font-size: 15px;
    font-weight: 600;
    color: #FFB04D;
    margin-bottom: 5px;
  }
  .page-sports__hot-games-rtp, .page-sports__hot-games-desc {
    font-size: 13px;
    color: #FFF3E6;
  }
}

/* Mobile Specific Styles */
@media (max-width: 768px) {
  .page-sports {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-sports__main-title {
    font-size: 36px;
  }
  .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 a[class*="button"],
  .page-sports a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
    font-size: 16px;
  }
  .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__section-title {
    font-size: 28px;
    padding-top: 30px;
  }
  .page-sports__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-sports__features-grid,
  .page-sports__categories-grid,
  .page-sports__promo-grid,
  .page-sports__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-sports__feature-card, .page-sports__category-card, .page-sports__promo-card, .page-sports__guide-step {
    padding: 20px;
  }
  .page-sports__feature-title, .page-sports__category-title, .page-sports__promo-title {
    font-size: 20px;
  }
  .page-sports__step-title {
    font-size: 18px;
  }
  details.page-sports__faq-item summary.page-sports__faq-question {
    padding: 15px 20px;
  }
  .page-sports__faq-qtext {
    font-size: 16px;
  }
  .page-sports__faq-toggle {
    font-size: 24px;
    width: 24px;
  }
  details.page-sports__faq-item .page-sports__faq-answer {
    padding: 0 20px 20px;
  }

  /* Homepage Promo Strip for 768px - Required boilerplate */
  .page-sports__promo-strip-track {
    grid-template-columns: repeat(2, 1fr) !important; /* 2 columns for mobile */
    overflow-x: hidden !important;
    gap: 15px !important;
  }
  .page-sports__promo-strip-item {
    flex-direction: column !important;
    text-align: center !important;
  }
  .page-sports__promo-strip-icon {
    margin-right: 0 !important;
    margin-bottom: 10px !important;
  }

  /* Homepage Hot Games for 768px - Required boilerplate */
  .page-sports__hot-games-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
  }
  .page-sports__hot-games-name, .page-sports__hot-games-rtp, .page-sports__hot-games-desc {
    display: none !important; /* Hide text for compact mobile view */
  }
  .page-sports__hot-games-thumbnail {
    width: 100% !important;
    height: auto !important;
  }

  /* General images and containers for 768px */
  .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;
  }
}

/* Placeholder for boilerplate winner ticker, etc. if needed */
.page-sports__winner-ticker { /* boilerplate for homepage */
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.8);
  color: #fff;
  padding: 10px 0;
  text-align: center;
  z-index: 100;
  display: none; /* Hidden by default, activated by JS for homepage */
}

.page-sports__reward-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: 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.is-active {
  opacity: 1;
  visibility: visible;
}

.page-sports__reward-modal-content {
  background: #17191F;
  border-radius: 12px;
  padding: 30px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
  border: 1px solid #A84F0C;
}

.page-sports__reward-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: #FFA53A;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}

.page-sports__reward-modal-title {
  color: #FFB04D;
  font-size: 28px;
  margin-bottom: 20px;
}

.page-sports__reward-modal-text {
  color: #FFF3E6;
  font-size: 18px;
  margin-bottom: 30px;
}

.page-sports__reward-modal .page-sports__btn-primary {
  width: auto;
  padding: 12px 25px;
  font-size: 16px;
}

.page-sports__game-trial-overlay.is-hidden {
  display: none !important;
  pointer-events: none !important;
}
.page-sports__game-trial-start { /* boilerplate for homepage */
  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__hero-brand, .page-sports__hero-jackpot { /* boilerplate for homepage */
  background-color: #17191F;
  border-radius: 10px;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  color: #FFF3E6;
}
.page-sports__hero-brand h1 {
  font-size: 28px;
  color: #FFB04D;
  margin-bottom: 15px;
}
.page-sports__hero-brand-logo {
  width: 150px;
  height: auto;
  margin-bottom: 15px;
}
.page-sports__hero-brand-text {
  font-size: 16px;
  margin-bottom: 20px;
}
.page-sports__hero-brand-features {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}
.page-sports__hero-brand-feature-item {
  background-color: #0D0E12;
  padding: 8px 12px;
  border-radius: 5px;
  font-size: 14px;
  border: 1px solid #A84F0C;
}

.page-sports__hero-jackpot-amount {
  font-size: 42px;
  font-weight: 900;
  color: #FFB04D;
  margin-bottom: 10px;
}
.page-sports__hero-jackpot-label {
  font-size: 18px;
  color: #FFA53A;
  margin-bottom: 20px;
}
.page-sports__hero-jackpot-claim {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #fff;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 4px 10px rgba(255,140,26,0.4);
}
.page-sports__game-trial { /* boilerplate for homepage */
  background-color: #17191F;
  border-radius: 10px;
  overflow: hidden;
  box-sizing: border-box;
}
.page-sports__game-trial-topbar, .page-sports__game-trial-bottombar { /* boilerplate for homepage */
  background-color: #0D0E12;
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #FFF3E6;
  font-size: 14px;
  border-bottom: 1px solid #A84F0C;
}
.page-sports__game-trial-bottombar {
  border-top: 1px solid #A84F0C;
  border-bottom: none;
}
.page-sports__game-trial-title {
  font-weight: 600;
  color: #FFA53A;
}
.page-sports__game-trial-buttons a {
  color: #FFF3E6;
  text-decoration: none;
  margin-left: 15px;
  font-weight: 500;
}
.page-sports__game-trial-buttons a:hover {
  color: #FFB04D;
}
.page-sports__game-trial-viewport { /* boilerplate for homepage */
  position: relative;
  width: 100%;
  aspect-ratio: 1024 / 768; /* Fixed aspect ratio for game iframe */
  overflow: hidden;
}
.page-sports__game-trial-frame { /* boilerplate for homepage */
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.page-sports__game-trial-overlay { /* boilerplate for homepage */
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #FFF3E6;
  z-index: 5;
  pointer-events: auto;
  text-align: center;
}
.page-sports__game-trial-overlay-text {
  font-size: 24px;
  margin-bottom: 20px;
  color: #FFB04D;
}
.page-sports__game-trial-start {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
  cursor: pointer;
  z-index: 6;
  pointer-events: auto;
  touch-action: manipulation;
}
.page-sports__game-trial-start:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6);
}