:root {
  --coal: #080707;
  --charcoal: #121010;
  --iron: #1c1716;
  --ember: #ff5a1f;
  --ember-deep: #a31621;
  --gold: #ffc857;
  --cream: #fff2b2;
  --opal: #00d4b8;
  --sky: #6fd5ff;
  --rose: #e01e37;
  --white: #fffaf0;
  --muted: #c9b8a3;
  --line: rgba(255, 200, 87, .22);
  --shadow: 0 22px 60px rgba(0, 0, 0, .42);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 15% 0%, rgba(0, 212, 184, .12), transparent 26rem),
    radial-gradient(circle at 85% 8%, rgba(224, 30, 55, .15), transparent 24rem),
    linear-gradient(180deg, #130d0c 0%, var(--coal) 34%, #090909 100%);
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

body.no-scroll {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: .64;
}

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  border-radius: var(--radius);
  background: var(--cream);
  color: #140b08;
  padding: .75rem 1rem;
  font-weight: 800;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: rgba(8, 7, 7, .86);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  width: min(100% - 2rem, var(--max));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-weight: 900;
  font-size: 1.15rem;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  box-shadow: 0 0 24px rgba(255, 90, 31, .34);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .35rem;
}

.nav-links a {
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: #f7debd;
  font-size: .95rem;
  font-weight: 750;
  padding: .62rem .75rem;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  border-color: rgba(255, 200, 87, .35);
  background: rgba(255, 200, 87, .1);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .05);
  color: var(--white);
  place-items: center;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  content: "";
}

.nav-toggle span::before {
  transform: translateY(-7px);
}

.nav-toggle span::after {
  transform: translateY(5px);
}

.notice-strip {
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: linear-gradient(90deg, rgba(255, 90, 31, .16), rgba(0, 212, 184, .11), rgba(224, 30, 55, .13));
}

.notice-strip__inner {
  width: min(100% - 2rem, var(--max));
  min-height: 42px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  color: #ffe8bf;
  font-size: .92rem;
  font-weight: 760;
  text-align: center;
}

.notice-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--opal);
  box-shadow: 0 0 16px rgba(0, 212, 184, .8);
}

.hero {
  --hero-image: url("../img/hero-dunelora.png");
  min-height: 72svh;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background:
    linear-gradient(90deg, rgba(8, 7, 7, .96) 0%, rgba(8, 7, 7, .68) 45%, rgba(8, 7, 7, .14) 100%),
    linear-gradient(0deg, rgba(8, 7, 7, .88) 0%, rgba(8, 7, 7, .08) 38%),
    var(--hero-image) center / cover no-repeat;
}

.game-hero,
.page-hero {
  --hero-image: url("../img/hero-dunelora.png");
}

.game-hero--dune {
  --game-art: url("../img/games/dune-ember-reels.png");
}

.game-hero--opal {
  --game-art: url("../img/games/opal-blaze-hold.png");
}

.game-hero--cinders {
  --game-art: url("../img/games/southern-cross-cinders.png");
}

.hero::after,
.game-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  pointer-events: none;
  background: linear-gradient(0deg, var(--coal), transparent);
  content: "";
}

.hero__inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 7rem 0 5.5rem;
  position: relative;
  z-index: 1;
}

.hero-copy,
.game-hero__copy,
.page-hero__copy {
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 1rem;
  color: var(--cream);
  font-size: .82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--ember), var(--opal));
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1rem;
  font-size: 4.2rem;
  line-height: .95;
  letter-spacing: 0;
  text-shadow: 0 7px 36px rgba(0, 0, 0, .58);
}

h2 {
  margin-bottom: .7rem;
  font-size: 2.25rem;
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: .45rem;
  font-size: 1.2rem;
  line-height: 1.2;
  letter-spacing: 0;
}

p {
  color: var(--muted);
}

.hero-copy p,
.game-hero__copy p,
.page-hero__copy p {
  max-width: 680px;
  font-size: 1.12rem;
  color: #f8dfbd;
}

.hero-actions,
.game-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  margin-top: 1.5rem;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  padding: .78rem 1rem;
  background: rgba(255, 255, 255, .06);
  color: var(--white);
  font-weight: 900;
  line-height: 1.1;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
}

.btn--primary {
  border-color: rgba(255, 200, 87, .42);
  background: linear-gradient(135deg, var(--ember), var(--rose) 48%, #6f1824);
}

.btn--teal {
  border-color: rgba(0, 212, 184, .35);
  background: linear-gradient(135deg, #006a63, var(--opal));
  color: #041211;
}

.btn--ghost {
  background: rgba(255, 255, 255, .04);
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.section-band {
  padding: 5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.section-band--ink {
  background: rgba(0, 0, 0, .16);
}

.section-band--warm {
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 90, 31, .14), transparent 24rem),
    radial-gradient(circle at 92% 12%, rgba(0, 212, 184, .1), transparent 22rem);
}

.section-inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading p {
  font-size: 1.04rem;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
}

.fact {
  min-height: 136px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03));
}

.fact strong {
  display: block;
  margin-bottom: .35rem;
  color: var(--cream);
  font-size: 1rem;
}

.fact p {
  margin: 0;
  font-size: .95rem;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.game-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .045);
  box-shadow: var(--shadow);
}

.game-card__image {
  position: relative;
  aspect-ratio: 1.15 / 1;
  overflow: hidden;
  background: #110b0a;
}

.game-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}

.game-card:hover .game-card__image img {
  transform: scale(1.045);
}

.game-card__image::after {
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(0deg, rgba(8, 7, 7, .9), transparent);
  content: "";
}

.game-card__body {
  padding: 1rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: 0 0 .8rem;
}

.tag {
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  padding: .2rem .48rem;
  color: #ffdfaa;
  font-size: .78rem;
  font-weight: 850;
  white-space: nowrap;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 2rem;
  align-items: start;
}

.lore-panel {
  border-left: 3px solid var(--opal);
  padding-left: 1.25rem;
}

.timeline {
  display: grid;
  gap: .75rem;
}

.timeline-item {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  padding: 1rem;
  background: rgba(255, 255, 255, .04);
}

.timeline-item strong {
  display: block;
  color: var(--cream);
}

.site-footer {
  background: #060606;
  color: #d9c7ab;
}

.footer-inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 2.25rem 0;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem 1rem;
  justify-content: flex-end;
}

.footer-links a {
  color: #ffe0b0;
  font-weight: 750;
}

.footer-note {
  grid-column: 1 / -1;
  margin: 0;
  color: #a99782;
  font-size: .92rem;
}

.game-hero,
.page-hero {
  min-height: 58svh;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background:
    linear-gradient(90deg, rgba(8, 7, 7, .94), rgba(8, 7, 7, .55), rgba(8, 7, 7, .16)),
    linear-gradient(0deg, rgba(8, 7, 7, .92), transparent 55%),
    var(--game-art, var(--hero-image)) center / cover no-repeat;
}

.game-hero__inner,
.page-hero__inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 5rem 0 4rem;
  position: relative;
  z-index: 1;
}

.play-layout {
  display: grid;
  grid-template-columns: minmax(240px, 315px) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.score-panel,
.game-table {
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
  box-shadow: var(--shadow);
}

.score-panel {
  position: sticky;
  top: 8.5rem;
  padding: 1rem;
}

.score-list {
  display: grid;
  gap: .65rem;
  margin: 1rem 0;
}

.score-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  padding-bottom: .55rem;
  color: #e8d0b4;
}

.score-row strong {
  color: var(--white);
}

.meter {
  height: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: rgba(0, 0, 0, .34);
}

.meter span {
  display: block;
  width: var(--meter, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--opal), var(--gold), var(--ember));
  transition: width .35s ease;
}

.game-table {
  position: relative;
  overflow: hidden;
  padding: 1rem;
}

.game-table::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 200, 87, .12), transparent 22rem),
    radial-gradient(circle at 82% 0%, rgba(0, 212, 184, .09), transparent 18rem);
  content: "";
}

.machine-top,
.machine-controls,
.machine-message {
  position: relative;
  z-index: 1;
}

.machine-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.machine-message {
  min-height: 58px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: var(--radius);
  margin-top: 1rem;
  padding: .85rem 1rem;
  background: rgba(0, 0, 0, .22);
  color: #f8dfbd;
  font-weight: 760;
}

.reel-machine {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .7rem;
  border: 1px solid rgba(255, 200, 87, .24);
  border-radius: var(--radius);
  padding: .75rem;
  background:
    linear-gradient(180deg, rgba(255, 200, 87, .08), rgba(0, 0, 0, .25)),
    #0b0808;
}

.reel {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: .7rem;
}

.slot-tile,
.hold-tile,
.mini-reel {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 40% 28%, rgba(255, 200, 87, .2), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(0, 0, 0, .35));
  box-shadow: inset 0 0 28px rgba(255, 90, 31, .12);
}

.slot-tile img,
.hold-tile img,
.mini-reel img,
.wheel-medallion img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius) - 1px);
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .5));
}

.reel.is-spinning .slot-tile img,
.mini-reel.is-spinning img {
  animation: symbolBlur .18s linear infinite;
}

.slot-tile.is-win,
.hold-tile.is-win,
.mini-reel.is-win {
  border-color: rgba(255, 242, 178, .95);
  animation: winPulse .9s ease-in-out infinite alternate;
  box-shadow:
    0 0 24px rgba(255, 200, 87, .42),
    inset 0 0 28px rgba(255, 90, 31, .28);
}

.machine-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  margin-top: 1rem;
}

.intensity-control {
  display: flex;
  align-items: center;
  gap: .65rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  padding: .58rem .7rem;
  background: rgba(0, 0, 0, .2);
  color: #f5d7b2;
  font-weight: 800;
}

.intensity-control input {
  width: 120px;
  accent-color: var(--ember);
}

.hold-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
  max-width: 620px;
  margin: 0 auto;
}

.hold-tile {
  padding: 0;
  color: inherit;
  border-color: rgba(255, 200, 87, .2);
}

.hold-tile::after {
  position: absolute;
  top: .48rem;
  right: .48rem;
  display: none;
  border-radius: 999px;
  background: rgba(0, 212, 184, .94);
  color: #031514;
  padding: .1rem .36rem;
  font-size: .68rem;
  font-weight: 950;
  content: "HELD";
}

.hold-tile.is-held {
  border-color: rgba(0, 212, 184, .9);
  box-shadow:
    0 0 0 2px rgba(0, 212, 184, .16),
    inset 0 0 30px rgba(0, 212, 184, .15);
}

.hold-tile.is-held::after {
  display: block;
}

.hold-tile.is-flipping img {
  animation: tileFlip .35s ease infinite;
}

.wheel-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(270px, 430px) minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}

.wheel-stage {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  min-width: 0;
  padding: .35rem;
}

.cinder-wheel {
  width: min(100%, 410px);
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  border: 12px solid rgba(255, 200, 87, .92);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #110909 0 18%, transparent 19%),
    repeating-conic-gradient(from -22.5deg, rgba(255, 255, 255, .1) 0deg 1deg, transparent 1deg 45deg),
    conic-gradient(from -22.5deg,
      #e01e37 0deg 45deg,
      #09262c 45deg 90deg,
      #ff5a1f 90deg 135deg,
      #171111 135deg 180deg,
      #ffc857 180deg 225deg,
      #073638 225deg 270deg,
      #a31621 270deg 315deg,
      #33100f 315deg 360deg);
  box-shadow:
    0 0 48px rgba(255, 90, 31, .32),
    inset 0 0 0 3px rgba(255, 242, 178, .18),
    inset 0 0 44px rgba(0, 0, 0, .52);
  transform: rotate(var(--wheel-rotation, 0deg));
  transition: transform 4.2s cubic-bezier(.13, .82, .18, 1);
}

.cinder-wheel::before {
  position: absolute;
  inset: 23%;
  z-index: 1;
  border: 3px solid rgba(255, 242, 178, .18);
  border-radius: 50%;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, .35),
    inset 0 0 28px rgba(0, 0, 0, .42);
  content: "";
}

.cinder-wheel::after {
  position: absolute;
  inset: 41%;
  z-index: 3;
  border: 4px solid rgba(255, 200, 87, .55);
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 36%, #fff6b5 0 8%, #ffbd5a 9% 36%, #ff5a1f 37% 64%, #160b0a 65% 100%);
  box-shadow:
    0 0 34px rgba(255, 200, 87, .65),
    inset 0 0 26px rgba(0, 0, 0, .42);
  content: "";
}

.wheel-pointer {
  position: absolute;
  top: -.1rem;
  left: 50%;
  z-index: 5;
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 38px solid var(--opal);
  border-bottom: 0;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .55));
  transform: translateX(-50%);
}

.wheel-medallion {
  position: absolute;
  top: calc(50% + var(--wheel-y, 0%));
  left: calc(50% + var(--wheel-x, 0%));
  z-index: 2;
  width: 17.5%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 242, 178, .5);
  border-radius: 50%;
  background: rgba(7, 7, 7, .72);
  overflow: hidden;
  box-shadow:
    0 8px 18px rgba(0, 0, 0, .45),
    0 0 16px rgba(255, 90, 31, .22);
  transform: translate(-50%, -50%);
}

.wheel-medallion img {
  border-radius: 50%;
}

.wheel-medallion.is-win {
  border-color: rgba(255, 242, 178, .95);
  box-shadow: 0 0 24px rgba(255, 200, 87, .58);
}

.mini-reels {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .7rem;
  margin-bottom: 1rem;
}

.wheel-result {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  padding: 1rem;
  background: rgba(0, 0, 0, .22);
}

.spark-layer {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
}

.spark {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--spark-color, var(--gold));
  box-shadow: 0 0 18px currentColor;
  animation: sparkRise .85s ease-out forwards;
}

.legal-layout {
  max-width: 890px;
}

.legal-section {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.legal-section h2 {
  font-size: 1.55rem;
}

.legal-section ul {
  margin: .75rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.legal-section li + li {
  margin-top: .45rem;
}

.legal-section a {
  color: var(--cream);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1rem;
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 90, 31, .26), transparent 24rem),
    radial-gradient(circle at 82% 18%, rgba(0, 212, 184, .18), transparent 22rem),
    rgba(5, 5, 5, .92);
}

.age-modal {
  width: min(100%, 540px);
  border: 1px solid rgba(255, 200, 87, .25);
  border-radius: var(--radius);
  padding: 1.25rem;
  background: linear-gradient(180deg, rgba(26, 18, 16, .98), rgba(9, 8, 8, .98));
  box-shadow: var(--shadow);
}

.age-modal h2 {
  margin-bottom: .45rem;
}

.age-modal p {
  margin-bottom: 1rem;
}

.age-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

@keyframes symbolBlur {
  0% {
    transform: translateY(-18%) scale(.95);
    filter: blur(4px) drop-shadow(0 12px 18px rgba(0, 0, 0, .5));
    opacity: .7;
  }
  100% {
    transform: translateY(18%) scale(1.05);
    filter: blur(4px) drop-shadow(0 12px 18px rgba(0, 0, 0, .5));
    opacity: .9;
  }
}

@keyframes winPulse {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-3px);
  }
}

@keyframes tileFlip {
  0%,
  100% {
    transform: rotateY(0deg) scale(1);
  }
  50% {
    transform: rotateY(90deg) scale(.9);
  }
}

@keyframes sparkRise {
  0% {
    transform: translateY(0) scale(.8);
    opacity: 1;
  }
  100% {
    transform: translateY(-120px) translateX(var(--drift, 0)) scale(.1);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}

@media (max-width: 980px) {
  .facts-grid,
  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-grid,
  .play-layout,
  .wheel-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .score-panel {
    position: static;
  }

  .play-layout .game-table {
    order: 1;
  }

  .play-layout .score-panel {
    order: 2;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: grid;
  }

  .nav-links {
    position: absolute;
    inset: 72px 1rem auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius);
    padding: .5rem;
    background: rgba(8, 7, 7, .96);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: .82rem;
  }

  .hero,
  .game-hero,
  .page-hero {
    min-height: 66svh;
  }

  .game-hero,
  .page-hero {
    min-height: 52svh;
  }

  .hero__inner,
  .game-hero__inner,
  .page-hero__inner {
    padding: 4.5rem 0 3rem;
  }

  .game-hero__inner,
  .page-hero__inner {
    padding: 3.25rem 0 2.75rem;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 1.85rem;
  }

  .section-band {
    padding: 3.5rem 0;
  }

  .notice-strip__inner {
    align-items: flex-start;
    padding: .65rem 0;
    line-height: 1.35;
  }

  .reel-machine {
    gap: .38rem;
    padding: .45rem;
  }

  .reel {
    gap: .38rem;
  }

  .hold-grid,
  .mini-reels {
    gap: .45rem;
  }

  .machine-top {
    display: block;
  }
}

@media (max-width: 560px) {
  .facts-grid,
  .game-grid {
    grid-template-columns: 1fr;
  }

  .brand {
    font-size: 1rem;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  h1 {
    font-size: 2.45rem;
  }

  .hero-copy p,
  .game-hero__copy p,
  .page-hero__copy p {
    font-size: 1rem;
  }

  .btn {
    width: 100%;
  }

  .intensity-control {
    width: 100%;
    justify-content: space-between;
  }

  .intensity-control input {
    width: 45%;
  }
}
