:root {
  color-scheme: dark;
  --ink: #fff8e8;
  --muted: #c9bfae;
  --soft: rgba(255, 248, 232, 0.72);
  --night: #110d16;
  --panel: #1a1420;
  --panel-2: #211725;
  --line: rgba(255, 248, 232, 0.16);
  --gold: #f8c861;
  --gold-2: #ffe7a3;
  --ruby: #ef3f55;
  --emerald: #32d6a0;
  --cyan: #7ddfff;
  --violet: #8c66ff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 18% 8%, rgba(239, 63, 85, 0.28), transparent 28rem),
    radial-gradient(circle at 86% 14%, rgba(50, 214, 160, 0.24), transparent 26rem),
    linear-gradient(150deg, #0d0910 0%, #17101b 38%, #0f1211 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

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

button,
input {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
}

.notice-bar {
  position: relative;
  z-index: 20;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 9px 14px;
  border-bottom: 1px solid rgba(248, 200, 97, 0.18);
  background: linear-gradient(90deg, #2a1119, #16231d 48%, #271a10);
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.notice-bar span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.notice-bar span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 14px var(--emerald);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 19;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(17, 13, 22, 0.88);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.brand img,
.age-card img {
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: 0 0 22px rgba(248, 200, 97, 0.24);
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.primary-nav a {
  padding: 9px 11px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.primary-nav a:hover,
.primary-nav a.is-active {
  border-color: rgba(248, 200, 97, 0.24);
  background: rgba(248, 200, 97, 0.08);
  color: var(--gold-2);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(248, 200, 97, 0.36);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: rgba(248, 200, 97, 0.7);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
}

.button-primary {
  border-color: rgba(255, 231, 163, 0.65);
  background: linear-gradient(135deg, #f8c861 0%, #ef3f55 100%);
  color: #160c10;
  box-shadow: 0 0 30px rgba(248, 200, 97, 0.28);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.04);
}

.button-small {
  min-height: 38px;
  padding: 0 13px;
  font-size: 0.9rem;
}

.lobby-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  align-items: end;
  gap: 24px;
  min-height: min(720px, calc(100vh - 112px));
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(58px, 9vw, 112px) 22px 38px;
  overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.9;
}

.lobby-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 5, 9, 0.92) 0%, rgba(8, 5, 9, 0.7) 33%, rgba(8, 5, 9, 0.24) 68%, rgba(8, 5, 9, 0.12) 100%),
    linear-gradient(0deg, rgba(8, 5, 9, 0.84) 0%, rgba(8, 5, 9, 0.1) 48%);
  pointer-events: none;
}

#lumoSky {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  opacity: 0.25;
  mix-blend-mode: screen;
  pointer-events: none;
}

.lobby-hero::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: auto 22px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(248, 200, 97, 0.55), transparent);
}

.hero-content,
.hero-panel {
  position: relative;
  z-index: 4;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

.hero-content h1 {
  max-width: 780px;
  font-size: clamp(4rem, 13vw, 9rem);
  letter-spacing: 0;
  text-shadow: 0 0 42px rgba(125, 223, 255, 0.18);
}

.hero-copy {
  max-width: 660px;
  margin: 18px 0 0;
  color: var(--soft);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-panel {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(248, 200, 97, 0.24);
  border-radius: var(--radius);
  background: rgba(17, 13, 22, 0.72);
  box-shadow: var(--shadow);
}

.hero-panel span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--gold-2);
  font-weight: 900;
}

.hero-panel span::after {
  content: "";
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 16px var(--emerald);
}

.content-band,
.split-band,
.policy-layout,
.game-layout {
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 22px;
}

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

.section-heading h2,
.split-band h2,
.policy-article h1,
.game-intro h1 {
  font-size: clamp(2rem, 5vw, 4.4rem);
}

.section-heading p,
.split-band p,
.policy-article p,
.policy-article li,
.game-intro p {
  color: var(--soft);
}

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

.game-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
}

.game-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(248, 200, 97, 0.18), transparent 42%);
  pointer-events: none;
}

.game-card-art {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  background: #110d16;
}

.game-key-art {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 360ms ease, filter 360ms ease;
}

.game-card:hover .game-key-art {
  transform: scale(1.055);
  filter: saturate(1.12) contrast(1.04);
}

.game-card-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 34%, rgba(17, 13, 22, 0.76) 100%);
  pointer-events: none;
}

.game-card-body {
  position: relative;
  padding: 22px;
}

.game-tag {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.game-card h3 {
  font-size: 1.7rem;
}

.game-card p:not(.game-tag) {
  color: var(--soft);
}

.split-band {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: start;
}

.rule-list {
  display: grid;
  gap: 12px;
}

.rule-list p {
  margin: 0;
  padding: 14px 16px;
  border-left: 3px solid var(--gold);
  background: rgba(255, 255, 255, 0.05);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 34px 22px 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  max-width: 560px;
  margin: 8px 0 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.site-footer nav a {
  color: var(--gold-2);
  font-weight: 800;
}

.copyright {
  grid-column: 1 / -1;
  font-size: 0.85rem;
}

.policy-layout {
  padding-top: 56px;
}

.policy-article {
  max-width: 880px;
}

.policy-article h1 {
  margin-bottom: 18px;
}

.policy-article h2 {
  margin-top: 34px;
  font-size: 1.4rem;
}

.policy-article ul {
  color: var(--soft);
}

.policy-article li + li {
  margin-top: 8px;
}

.game-layout {
  padding-top: 44px;
}

.game-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 22px;
  align-items: end;
  margin-bottom: 24px;
}

.game-stat-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.game-stat-panel span {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.game-stat-panel strong,
.game-stat-panel small {
  display: block;
}

.game-stat-panel strong {
  color: var(--gold-2);
  font-size: clamp(1.15rem, 3vw, 1.65rem);
}

.game-stat-panel small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.machine-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 20px;
  align-items: start;
}

.game-main-stack {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.game-showcase-art {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(248, 200, 97, 0.22);
  border-radius: var(--radius);
  background: #110d16;
  box-shadow: var(--shadow);
}

.game-showcase-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.08)),
    radial-gradient(circle at 78% 15%, rgba(248, 200, 97, 0.2), transparent 34%);
  pointer-events: none;
}

.game-showcase-art img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  object-position: center;
}

.slot-machine,
.vault-panel,
.wheel-panel,
.control-panel {
  border: 1px solid rgba(248, 200, 97, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    #151016;
  box-shadow: var(--shadow);
}

.slot-machine,
.vault-panel,
.wheel-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(14px, 2vw, 22px);
}

.slot-machine::before,
.vault-panel::before,
.wheel-panel::before {
  content: "";
  position: absolute;
  inset: -25% -15% auto;
  height: 45%;
  background: radial-gradient(ellipse, rgba(125, 223, 255, 0.18), transparent 66%);
  pointer-events: none;
}

.slot-topline,
.vault-header {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  color: var(--gold-2);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.slot-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(70px, 1fr));
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #24162a, #0f0c13);
}

.reel {
  display: grid;
  grid-template-rows: repeat(3, minmax(84px, 1fr));
  gap: 10px;
}

.symbol-cell {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 96px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  overflow: hidden;
}

.symbol-cell img {
  width: min(72px, 76%);
  height: min(72px, 76%);
  object-fit: contain;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.36));
  transition: transform 180ms ease, filter 180ms ease;
}

.symbol-cell.is-spinning img {
  animation: reelBlur 110ms linear infinite;
}

.symbol-cell.is-win {
  border-color: rgba(255, 231, 163, 0.9);
  box-shadow: inset 0 0 26px rgba(248, 200, 97, 0.35), 0 0 24px rgba(248, 200, 97, 0.25);
}

.symbol-cell.is-win img {
  transform: scale(1.13);
  filter: drop-shadow(0 0 18px rgba(255, 231, 163, 0.7));
}

.win-banner {
  position: relative;
  z-index: 1;
  min-height: 48px;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(248, 200, 97, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  color: var(--gold-2);
  font-weight: 900;
}

.machine-glow {
  position: absolute;
  inset: auto 18% -14% 18%;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(50, 214, 160, 0.35), transparent 70%);
  filter: blur(12px);
  pointer-events: none;
}

.control-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.control-panel h2 {
  font-size: 1.35rem;
}

.bet-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.chip-button {
  min-height: 48px;
  border: 1px solid rgba(248, 200, 97, 0.32);
  border-radius: 50%;
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 50% 50%, #2b1620 0 45%, transparent 46%),
    conic-gradient(var(--gold), var(--ruby), var(--emerald), var(--gold));
  color: var(--ink);
  font-weight: 1000;
  cursor: pointer;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.chip-button.is-active {
  box-shadow: 0 0 0 3px rgba(255, 231, 163, 0.22), 0 0 24px rgba(248, 200, 97, 0.34);
}

.spin-button {
  min-height: 58px;
  font-size: 1.12rem;
}

.paytable {
  padding-top: 4px;
  color: var(--soft);
}

.paytable h3 {
  font-size: 1.05rem;
}

.paytable ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.paytable li + li {
  margin-top: 6px;
}

.match-board {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(72px, 1fr));
  grid-auto-rows: clamp(116px, 12vw, 168px);
  gap: 12px;
}

.vault-tile {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  border: 0;
  padding: 0;
  border-radius: var(--radius);
  background: transparent;
  perspective: 900px;
  cursor: pointer;
}

.vault-tile:disabled {
  cursor: default;
}

.tile-inner {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 560ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-style: preserve-3d;
}

.vault-tile.is-open .tile-inner {
  transform: rotateY(180deg);
}

.tile-face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(248, 200, 97, 0.24);
  border-radius: var(--radius);
  backface-visibility: hidden;
  overflow: hidden;
}

.tile-front {
  background:
    linear-gradient(135deg, rgba(248, 200, 97, 0.24), transparent 42%),
    linear-gradient(180deg, #24141a, #121014);
}

.tile-front::before {
  content: "NL";
  display: grid;
  place-items: center;
  width: min(72px, 48%);
  height: min(72px, 48%);
  border: 1px solid rgba(255, 231, 163, 0.5);
  border-radius: 50%;
  color: var(--gold-2);
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 1000;
  box-shadow: inset 0 0 24px rgba(248, 200, 97, 0.2), 0 0 20px rgba(248, 200, 97, 0.22);
}

.tile-back {
  transform: rotateY(180deg);
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 255, 255, 0.14), transparent 38%),
    linear-gradient(180deg, #20221a, #131013);
}

.tile-back img {
  width: 68%;
  height: 68%;
  object-fit: contain;
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.42));
}

.vault-tile.is-scoring .tile-face {
  border-color: rgba(255, 231, 163, 0.9);
  box-shadow: 0 0 26px rgba(248, 200, 97, 0.36);
}

.wheel-panel {
  display: grid;
  justify-items: center;
}

.wheel-stage {
  position: relative;
  width: min(560px, 82vw);
  aspect-ratio: 1;
  margin: 8px auto 20px;
  display: grid;
  place-items: center;
}

.wheel-canvas {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 20px 34px rgba(0, 0, 0, 0.52));
}

.wheel-pointer {
  position: absolute;
  left: 50%;
  top: -3%;
  z-index: 3;
  width: clamp(34px, 7vw, 48px);
  height: clamp(44px, 9vw, 62px);
  transform: translateX(-50%);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  background: linear-gradient(180deg, #ffe7a3, #ef3f55);
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.55));
}

.wheel-result {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 78px;
  color: var(--gold-2);
  font-weight: 900;
}

.wheel-result-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 231, 163, 0.55);
  border-radius: 50%;
  background: radial-gradient(circle at 45% 28%, #fff1bb, #f8c861 46%, #9f3a26 100%);
  color: #17101b;
  font-weight: 1000;
  box-shadow: 0 0 22px rgba(248, 200, 97, 0.28);
}

.spark {
  position: fixed;
  z-index: 30;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  pointer-events: none;
  background: var(--gold-2);
  box-shadow: 0 0 16px currentColor;
  animation: sparkFly 680ms ease-out forwards;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(8, 6, 10, 0.88);
  backdrop-filter: blur(10px);
}

.age-card {
  width: min(460px, 100%);
  padding: 28px;
  border: 1px solid rgba(248, 200, 97, 0.32);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #231720, #130f15);
  box-shadow: var(--shadow);
  text-align: center;
}

.age-card img {
  margin: 0 auto 12px;
}

.age-card h2 {
  font-size: 2rem;
}

.age-card p {
  color: var(--soft);
}

.age-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  width: min(720px, calc(100vw - 36px));
  padding: 14px;
  border: 1px solid rgba(248, 200, 97, 0.28);
  border-radius: var(--radius);
  background: rgba(19, 15, 21, 0.96);
  box-shadow: var(--shadow);
}

.cookie-banner p {
  margin: 0;
  color: var(--soft);
}

.cookie-banner div {
  display: flex;
  gap: 8px;
}

[hidden] {
  display: none !important;
}

@keyframes floatSymbol {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-12px) rotate(2deg);
  }
}

@keyframes reelBlur {
  from {
    transform: translateY(-6px) scale(0.96);
    filter: blur(1px) drop-shadow(0 10px 15px rgba(0, 0, 0, 0.35));
  }
  to {
    transform: translateY(6px) scale(1.04);
    filter: blur(2px) drop-shadow(0 10px 15px rgba(0, 0, 0, 0.35));
  }
}

@keyframes sparkFly {
  to {
    transform: translate(var(--spark-x), var(--spark-y)) scale(0.1);
    opacity: 0;
  }
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 22px;
    left: 22px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(17, 13, 22, 0.98);
    box-shadow: var(--shadow);
  }

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

  .lobby-hero,
  .game-intro,
  .machine-panel,
  .split-band,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 420px;
  }

  .game-card-grid {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .notice-bar {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .site-header {
    padding: 13px 14px;
  }

  .content-band,
  .split-band,
  .policy-layout,
  .game-layout {
    padding: 42px 14px;
  }

  .lobby-hero {
    min-height: 680px;
    padding: 56px 14px 30px;
  }

  .hero-content h1 {
    font-size: clamp(3.1rem, 19vw, 5rem);
  }

  .game-stat-panel {
    grid-template-columns: 1fr;
  }

  .slot-grid {
    grid-template-columns: repeat(5, minmax(46px, 1fr));
    gap: 6px;
    padding: 8px;
  }

  .reel {
    grid-template-rows: repeat(3, 70px);
    gap: 6px;
  }

  .symbol-cell {
    min-height: 70px;
  }

  .match-board {
    grid-template-columns: repeat(3, minmax(70px, 1fr));
    grid-auto-rows: clamp(86px, 27vw, 132px);
    gap: 9px;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .cookie-banner div {
    flex-wrap: wrap;
  }
}

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