* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --floor-tone: #1A2E39;
  --flash-grad: linear-gradient(135deg, #F3A252 0%, #F19B48 100%);
  --promo-shade: #0F2431;
  --top-fill: #13232D;
  --stroke-soft: #395565;
  --h-tone: #FFFFFF;
  --text-ink: #D1D5DB;
}

body {
  font-family: "Figtree", sans-serif;
  background: var(--floor-tone);
  color: #ffffff;
  min-height: 100vh;
}

main {
  color: var(--text-ink);
}

main h1,
main h2,
main h3 {
  color: var(--h-tone);
}

.shell {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.topic-view .shell {
  max-width: 960px;
}

.topic-view .readme-band {
  padding-top: 32px;
}

.topic-view .trail-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.topic-view .trail-nav a {
  color: var(--h-tone);
}

.topic-view .detail-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  overflow-wrap: anywhere;
}

.topic-view .topic-summary {
  margin-bottom: 2rem;
}

.site-topbar {
  padding: 24px 0;
  border-bottom: 1px solid var(--stroke-soft);
  background: var(--top-fill);
  position: sticky;
  top: 0;
  z-index: 10;
}

.top-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-emblem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 230px;
  height: 65px;
  border-radius: 12px;
  text-decoration: none;
  padding: 6px 10px;
}

.site-emblem img {
  width: 100%;
  max-width: 140px;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.35));
}

.nav-opener {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid #2B3942;
  background: #2B3942;
  color: #ffffff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-opener span,
.nav-opener span::before,
.nav-opener span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--h-tone);
  border-radius: 2px;
  position: relative;
  transition: all 0.2s ease;
}

.nav-opener span::before,
.nav-opener span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-opener span::before {
  top: -6px;
}

.nav-opener span::after {
  top: 6px;
}

.account-buttons {
  display: flex;
  gap: 12px;
}

.main-menu {
  margin-top: 18px;
}

.primary-menu-band {
  padding: 12px 0;
  background: var(--flash-grad);
  border-radius: 14px;
}

.main-menu-list {
  list-style: none;
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  justify-content: center;
}

.main-menu-list a {
  color: var(--h-tone);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.2px;
  cursor: pointer;
}

[page-ref] {
  cursor: pointer;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Keep in-page anchor targets clear of the sticky header */
#games,
#bonuses,
#support {
  scroll-margin-top: 200px;
}

@media (max-width: 720px) {
  #games,
  #bonuses,
  #support {
    scroll-margin-top: 190px;
  }
}

.breadcrumb {
  padding: 18px 0 0;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  gap: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.breadcrumb li + li::before {
  content: ">";
  margin-right: 10px;
  color: rgba(255, 255, 255, 0.4);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.opener-block {
  padding: 40px 0 60px;
}

/* Hero: full-bleed cinematic banner with the copy layered over its left side */
.hero-band-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: clamp(400px, 38vw, 500px);
  background: var(--promo-shade);
  border: 1px solid var(--stroke-soft);
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
}

.hero-band-image {
  grid-area: 1 / 1;
  position: relative;
  min-height: 100%;
}

.hero-band-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 30%;
  display: block;
}

.hero-band-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      var(--promo-shade) 0%,
      rgba(15, 36, 49, 0.94) 32%,
      rgba(15, 36, 49, 0.6) 52%,
      rgba(15, 36, 49, 0) 72%),
    linear-gradient(0deg, rgba(15, 36, 49, 0.55) 0%, rgba(15, 36, 49, 0) 35%);
}

.top-feature-body {
  grid-area: 1 / 1;
  position: relative;
  z-index: 1;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: min(580px, 100%);
  padding: 56px 0 56px 56px;
}

.top-feature-body h1 {
  font-size: clamp(2.6rem, 4.6vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin-bottom: 22px;
  overflow-wrap: anywhere;
}

.top-feature-body h1::before {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin-bottom: 20px;
  border-radius: 2px;
  background: var(--flash-grad);
}

.top-feature-body p {
  max-width: 46ch;
  padding-left: 18px;
  border-left: 2px solid var(--stroke-soft);
  color: var(--text-ink);
  line-height: 1.65;
  font-size: 0.98rem;
  margin-bottom: 30px;
  overflow-wrap: anywhere;
}

.top-feature-cta {
  align-self: flex-start;
}

.features-strip {
  padding: 0 0 40px;
}

.features-strip .features-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.features-strip .features-row li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--promo-shade);
  border: 1px solid var(--stroke-soft);
  border-radius: 18px;
  color: var(--h-tone);
  font-size: 0.78rem;
  font-weight: 300;
}

.features-strip .features-row li::before {
  content: "⭐";
  font-size: 1rem;
  line-height: 1;
  flex: 0 0 auto;
}

.features-strip .features-row li:nth-child(1)::before { content: "🎁"; }
.features-strip .features-row li:nth-child(2)::before { content: "🎰"; }
.features-strip .features-row li:nth-child(3)::before { content: "🏆"; }
.features-strip .features-row li:nth-child(4)::before { content: "💎"; }

.casino-shelf {
  padding: 0 0 60px;
}

.games-band-head {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 20px;
}

.reel-collection-caption {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  background: var(--promo-shade);
  border-radius: 18px;
  color: var(--h-tone);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.games-band-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.spin-tile {
  position: relative;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--promo-shade), var(--promo-shade)) padding-box,
    var(--flash-grad) border-box;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
  cursor: pointer;
}

.spin-tile-pic {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
}

.spin-tile-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.spin-tile-dim {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.18s ease;
  pointer-events: none;
}

.spin-tile-dim .spin-tile-start {
  padding: 10px 26px;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 8px;
  color: #ffffff;
  background: #156CCD;
  border: none;
  letter-spacing: 0;
}

@media (hover: hover) {
  .spin-tile:hover .spin-tile-dim {
    opacity: 1;
  }
}

.spin-tile .spin-tile-text {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-ink);
  line-height: 1.3;
  word-break: break-word;
}

.readme-band {
  padding: 0 0 80px;
}

.readme-band .shell > div {
  margin-bottom: 40px;
}

.readme-band .shell > div:last-child {
  margin-bottom: 0;
}

.editorial-panel {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 18px;
  padding: 32px;
}

.readme-band h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.3rem);
  margin-bottom: 12px;
}

.readme-band h3 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  margin-bottom: 12px;
}

.editorial-panel img {
  width: 100%;
  max-width: 920px;
  border-radius: 18px;
  display: block;
  margin: 0 auto 20px;
}

.readme-band p {
  color: var(--text-ink);
  line-height: 1.7;
  margin-bottom: 20px;
}

.readme-band ol {
  margin-left: 20px;
  display: grid;
  gap: 8px;
  color: var(--text-ink);
  line-height: 1.6;
}

.editorial-panel h2:not(:first-child),
.editorial-panel h3:not(:first-child) {
  margin-top: 40px;
}

.readme-band ul {
  list-style: none;
  padding-left: 0;
  color: var(--text-ink);
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.info-table-wrap {
  overflow-x: auto;
  margin-bottom: 20px;
}

.info-grid {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  color: #ffffff;
  font-size: 0.98rem;
  border-radius: 14px;
  overflow: hidden;
}

.info-grid th,
.info-grid td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--stroke-soft);
}

.info-grid thead th {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--h-tone);
  background: var(--stroke-soft);
}

.editorial-panel.queries-panel {
  display: grid;
  gap: 18px;
  margin-bottom: 24px;
}

.faq-item {
  padding: 14px 0;
  border-top: 1px solid var(--stroke-soft);
}

.faq-item:first-of-type {
  border-top: none;
}

.faq-item h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.faq-item p {
  color: var(--text-ink);
}

.page-foot {
  padding: 40px 0 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--top-fill);
}

.page-foot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-strip-brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 230px;
  height: 65px;
  border-radius: 12px;
  text-decoration: none;
}

.footer-strip-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-strip-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: flex-end;
  align-items: flex-start;
}

.footer-strip-links a {
  text-decoration: none;
  color: var(--h-tone);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.footer-strip-disclaimer {
  margin-top: 20px;
  font-size: 0.78rem;
  color: var(--text-ink);
  max-width: 520px;
  line-height: 1.6;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.endnote-copyright {
  margin-top: 18px;
  font-size: 0.78rem;
  color: var(--text-ink);
  text-align: center;
  width: 100%;
}

.footer-age-badge {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 6px;
  border-radius: 999px;
  border: 1px solid var(--h-tone);
  font-weight: 600;
  font-size: 0.65rem;
  color: var(--text-ink);
  margin-left: auto;
  margin-right: auto;
}

.readme-band ul li {
  position: relative;
  padding-left: 20px;
}

.readme-band ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--flash-grad);
}

/* Buttons styled after the source: flat fills, 8px radius, no shadow, regular-weight label */
.control-btn {
  --btn-primary: #156CCD;
  --btn-primary-hover: #2A7DDB;
  --btn-primary-active: #115BAD;
  --btn-secondary: #395565;
  --btn-secondary-hover: #456577;
  --btn-secondary-active: #2F4856;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  background: none;
  box-shadow: none;
  cursor: pointer;
}

.primary-action--ghost {
  background: var(--btn-secondary);
  border-color: var(--btn-secondary);
  color: #ffffff;
}

.primary-action--ghost:hover {
  background: var(--btn-secondary-hover);
  border-color: var(--btn-secondary-hover);
}

.primary-action--ghost:active {
  background: var(--btn-secondary-active);
  border-color: var(--btn-secondary-active);
}

.button--filled {
  background: var(--btn-primary);
  border-color: var(--btn-primary);
  color: #ffffff;
  box-shadow: none;
}

.button--filled:hover {
  background: var(--btn-primary-hover);
  border-color: var(--btn-primary-hover);
}

.button--filled:active {
  background: var(--btn-primary-active);
  border-color: var(--btn-primary-active);
}

.control-btn:focus-visible,
.nav-opener:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.control-btn:disabled,
.control-btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Large hero CTA mirrors the oversized "Sign up" of the source hero */
.top-feature-cta {
  min-height: 58px;
  padding: 0 40px;
  border-radius: 12px;
  font-size: 1.2rem;
}

@media (prefers-reduced-motion: reduce) {
  .control-btn,
  .nav-opener span,
  .nav-opener span::before,
  .nav-opener span::after {
    transition: none;
  }
}

@media (max-width: 720px) {
  .top-band-inner {
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  .site-emblem {
    width: auto;
    flex: 0 0 auto;
    justify-content: flex-start;
    padding-left: 0;
    margin: 0;
  }

  .nav-opener {
    display: inline-flex;
    align-self: center;
    margin-left: auto;
  }

  .account-buttons {
    width: 100%;
    justify-content: space-between;
    order: 3;
  }

  .control-btn {
    flex: 1;
  }

  .main-menu {
    display: none;
  }

  .site-topbar.menu-active .main-menu {
    display: block;
  }

  .primary-menu-band {
    padding: 14px 0 18px;
  }

  .main-menu-list {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero-band-inner {
    grid-template-rows: auto auto;
    min-height: 0;
  }

  .hero-band-image {
    grid-area: 1 / 1;
    aspect-ratio: 4 / 3;
    min-height: 0;
  }

  .hero-band-image img {
    object-position: 74% 20%;
  }

  .hero-band-image::after {
    background: linear-gradient(0deg,
      var(--promo-shade) 0%,
      rgba(15, 36, 49, 0.75) 22%,
      rgba(15, 36, 49, 0) 55%);
  }

  .top-feature-body {
    grid-area: 2 / 1;
    width: 100%;
    margin-top: -72px;
    padding: 0 20px 24px;
  }

  .top-feature-body h1 {
    font-size: clamp(2.1rem, 10vw, 2.8rem);
    margin-bottom: 16px;
  }

  .top-feature-body h1::before {
    width: 48px;
    margin-bottom: 14px;
  }

  .top-feature-body p {
    padding-left: 14px;
    margin-bottom: 22px;
  }

  .readme-band {
    padding: 0 0 60px;
  }

  .readme-band .shell > div {
    margin-bottom: 28px;
  }

  .top-feature-cta {
    align-self: stretch;
    width: 100%;
    justify-content: center;
    padding: 0 20px;
  }

  .features-strip .features-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .features-strip .features-row li {
    justify-content: center;
    text-align: center;
    padding: 12px 10px;
  }

  .games-band-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .spin-tile {
    padding: 8px;
    gap: 8px;
  }

  .spin-tile .spin-tile-text {
    font-size: 0.7rem;
  }

  .editorial-panel {
    padding: 20px;
  }

  .content-section {
    margin-top: 28px;
  }

  .steps-inner {
    padding: 20px;
  }

  .step-row {
    text-align: left;
  }

  .policy-inner {
    padding: 20px;
  }

  .page-foot-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-strip-brand {
    align-self: center;
  }

  .footer-strip-links {
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .footer-strip-disclaimer {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.7rem;
  }

  .endnote-copyright {
    font-size: 0.7rem;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 14px;
  }
}
