:root {
  --bg: #152228;
  --bg-deep: #0e161a;
  --surface: #1a2a32;
  --surface-2: #22343c;
  --text: #f4e8d4;
  --muted: #b7c4c8;
  --copper: #c47a3a;
  --copper-deep: #8e5224;
  --cream: #f4e8d4;
  --ice: #9ad4ee;
  --ice-deep: #4d8eaa;
  --pine: #1e3a34;
  --line: color-mix(in srgb, var(--ice) 18%, var(--surface-2));
  --win: #e8c37a;
  --radius: 18px;
  --radius-pill: 999px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 40px;
  --space-7: 72px;
  --header-h: 68px;
  --font-display: "Syne", "Noto Sans", sans-serif;
  --font-text: "Noto Sans", sans-serif;
  --focus: 0 0 0 3px color-mix(in srgb, var(--ice) 80%, white);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.6 var(--font-text);
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}
h2 { font-size: clamp(1.6rem, 2.4cqi + 1rem, 2.2rem); }
h2::before {
  content: "❄ ";
  font-size: 0.7em;
  color: var(--ice);
}
.wrap { width: min(1120px, 92%); margin-inline: auto; }
.skip {
  position: absolute;
  inset-inline-start: -999px;
}
.skip:focus {
  inset-inline-start: 8px;
  inset-block-start: 8px;
  background: var(--cream);
  color: var(--bg-deep);
  padding: 8px 12px;
  z-index: 99;
  border-radius: 8px;
}

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

.btn {
  --sparkle: 0 0 0 0 transparent;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  min-width: 44px;
  padding: 0 24px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  font: 700 1rem var(--font-text);
  text-decoration: none;
  cursor: pointer;
  color: var(--text);
  background: var(--surface-2);
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn::before,
.btn::after {
  content: "❄";
  position: absolute;
  font-size: 0.7rem;
  color: var(--ice);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.25s ease;
}
.btn::before { inset-block-start: 4px; inset-inline-start: 10px; transform: translateY(4px) rotate(-12deg); }
.btn::after { inset-block-end: 4px; inset-inline-end: 10px; transform: translateY(-4px) rotate(18deg); }
.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  border-color: var(--ice);
  box-shadow:
    0 0 0 2px color-mix(in srgb, var(--ice) 70%, white),
    0 0 22px color-mix(in srgb, var(--ice) 45%, transparent),
    inset 0 0 12px color-mix(in srgb, var(--ice) 25%, transparent);
}
.btn:hover::before,
.btn:focus-visible::before,
.btn:hover::after,
.btn:focus-visible::after {
  opacity: 0.95;
  transform: translateY(0) rotate(0deg);
}
.btn-primary {
  background: var(--copper);
  color: var(--cream);
  border-color: var(--copper-deep);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: color-mix(in srgb, var(--copper) 78%, var(--ice));
  color: #0e161a;
}
.btn-line {
  background: transparent;
  color: var(--text);
  border-color: color-mix(in srgb, var(--cream) 45%, transparent);
}
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-block-start: 1.2em; }
.badge-18 {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 34px;
  padding: 0 8px;
  border: 1.5px solid var(--ice);
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.8rem;
  margin: 0;
  color: var(--ice);
}

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 30;
  min-height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-block-end: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  font: 700 1.15rem var(--font-display);
}
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.nav { display: flex; gap: 22px; }
.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--ice); }
.header-tools { display: flex; align-items: center; gap: 12px; }
.menu-toggle {
  display: none;
  min-height: 44px;
  min-width: 44px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  font: 700 0.9rem var(--font-text);
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-content: end;
  container-type: inline-size;
}
.hero-art {
  position: absolute;
  inset: 0;
}
.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}
.hero-card-wrap {
  position: relative;
  z-index: 1;
  padding-block: var(--space-5) var(--space-6);
}
.hero-card {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  padding: 14px 16px;
  background: color-mix(in srgb, var(--cream) 92%, white);
  color: var(--bg-deep);
  border-radius: 20px;
  box-shadow: 0 12px 40px color-mix(in srgb, var(--bg-deep) 45%, transparent);
}
.hero-thumbs {
  display: flex;
  gap: 6px;
}
.hero-thumbs img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--surface);
}
.hero-copy {
  display: grid;
  flex: 1;
  min-width: 12ch;
}
.hero-copy strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.hero-copy span { color: color-mix(in srgb, var(--bg-deep) 70%, #667); font-size: 0.92rem; }
.hero-card .btn { min-height: 52px; margin-inline-start: auto; }

.section { padding-block: var(--space-7); }
.section.festsal,
.section.merker,
.section.runde { background: var(--bg); }
.lede { font-size: 1.12rem; color: var(--cream); }
.festsal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: var(--space-6);
  align-items: center;
}
.scene-frame {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.scene-frame img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.scene-frame-wide img { aspect-ratio: 21 / 9; }
.scene-wide { padding-block-start: 0; }

.sym-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-4);
}
.sym-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 10px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.sym-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 4%;
  height: auto;
  border-radius: 14px;
}
.sym-card b { font-family: var(--font-display); }
.sym-card span { color: var(--muted); font-size: 0.82rem; }

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  padding: 0;
  margin: 0;
  counter-reset: none;
}
.steps li {
  position: relative;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-5);
}
.steps li:not(:last-child)::after {
  content: "→";
  position: absolute;
  inset-inline-end: -0.7em;
  inset-block-start: 42%;
  color: var(--ice);
  font-weight: 700;
}
.step-num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--copper);
  color: var(--cream);
  font-weight: 800;
  margin-block-end: 10px;
}
.steps h3 { margin: 0 0 6px; font-size: 1.1rem; }
.steps h3::before { content: none; }
.steps p { margin: 0; color: var(--muted); }

.honest-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}
.honest { background: color-mix(in srgb, var(--pine) 35%, var(--bg)); }

.faq-item { border-block-end: 1px solid var(--line); }
.faq-item button {
  all: unset;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding-block: 16px;
  cursor: pointer;
  font-weight: 700;
}
.faq-item button::after { content: "+"; color: var(--ice); font-size: 1.4rem; }
.faq-item.open button::after { content: "–"; }
.faq-item .answer { display: none; padding: 0 0 14px; color: var(--muted); }
.faq-item.open .answer { display: block; }

.contact form { display: grid; gap: 12px; }
.contact label { display: grid; gap: 4px; font-weight: 600; font-size: 0.92rem; }
.contact input,
.contact textarea {
  font: inherit;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-deep);
  color: var(--text);
  min-height: 44px;
}
.contact textarea { min-height: 110px; resize: vertical; }
.form-status { display: none; font-weight: 700; margin: 8px 0 0; }
.form-status.show { display: block; }
.form-error { color: #ffb4a8; }
.form-success { color: #9ad4a0; }
.hours { color: var(--muted); font-size: 0.92rem; }
.contact-details { color: var(--muted); font-size: 0.92rem; margin: 0 0 12px; }
.contact-details p { margin: 0 0 4px; }

.disclaimer-block {
  background: color-mix(in srgb, var(--pine) 45%, var(--bg-deep));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-5);
  max-width: 52rem;
}
.disclaimer-kicker {
  margin: 0 0 8px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ice);
}
.disclaimer-block h2 { margin-bottom: 0.4em; }
.disclaimer-block p { margin: 0; color: var(--muted); max-width: 48rem; }

.site-footer {
  padding-block: var(--space-6) var(--space-5);
  background: var(--bg-deep);
  border-block-start: 1px solid var(--line);
  content-visibility: auto;
  contain-intrinsic-size: 320px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.4fr 1fr 1fr;
  gap: var(--space-5);
  align-items: start;
  margin-block-end: var(--space-4);
}
.footer-links { display: grid; gap: 6px; }
.footer-links a { color: var(--ice); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.play-responsibly {
  margin: 14px 0 6px;
  font-weight: 700;
  font-size: 0.92rem;
}
.help-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}
.help-links a { color: var(--ice); text-decoration: none; }
.help-links a:hover { text-decoration: underline; }
.footer-contact p { margin: 0 0 6px; color: var(--muted); font-size: 0.92rem; }
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 12px;
}
.footer-social a { color: var(--ice); text-decoration: none; }
.footer-social a:hover { text-decoration: underline; }

.overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  background: color-mix(in srgb, var(--bg-deep) 82%, transparent);
  padding: 16px;
}
.overlay.show { display: grid; }
.age-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  max-width: 440px;
  text-align: center;
}
.age-box img {
  width: 140px;
  height: 140px;
  margin-inline: auto;
  border-radius: 20px;
  margin-block-end: 12px;
}
.cookie-banner {
  position: fixed;
  z-index: 40;
  inset-inline-start: 16px;
  inset-inline-end: 16px;
  inset-block-end: 16px;
  max-width: 480px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: none;
}
.cookie-banner.show { display: block; }

.legal-page { padding-block: var(--space-7); }
.legal-page article { max-width: 72ch; }
.legal-page a { color: var(--ice); }

/* Game machine */
.machine {
  width: min(100%, 760px);
  margin-inline: auto;
  padding: 16px;
  border: 2px solid var(--copper);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 80%, var(--ice)) 0%, var(--surface) 40%);
  container-type: inline-size;
  box-shadow: inset 0 0 40px color-mix(in srgb, var(--bg-deep) 45%, transparent);
}
.hud {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-block-end: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.pill {
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-weight: 700;
  background: var(--bg-deep);
}
.stage-wrap { position: relative; }
.fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}
.reels {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  padding: 8px;
  background: var(--bg-deep);
  border-radius: 12px;
}
.reels::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-start: 50%;
  height: 3px;
  background: var(--ice);
  opacity: 0.7;
  pointer-events: none;
  z-index: 1;
}
.reel {
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface);
  aspect-ratio: 1 / 3;
}
.strip { display: flex; flex-direction: column; will-change: transform; }
.sym { aspect-ratio: 1; padding: 4%; height: auto; }
.sym img { width: 100%; height: 100%; object-fit: contain; }
.reels.win { box-shadow: 0 0 24px color-mix(in srgb, var(--win) 55%, transparent); }
.sym.hit img { animation: pop 0.5s ease 4; }
@keyframes pop { 50% { transform: scale(1.08); } }
.msg { text-align: center; margin: 12px 0 0; min-height: 1.6em; font-weight: 600; }
.controls { display: flex; gap: 10px; margin-block-start: 12px; flex-wrap: wrap; }
.spin {
  flex: 1;
  min-height: 56px;
}
.ghost {
  min-height: 56px;
  padding: 0 16px;
}
.banner {
  position: absolute;
  inset-inline-start: 50%;
  inset-block-start: 50%;
  transform: translate(-50%, -50%) scale(0);
  font: 700 clamp(1.5rem, 6cqw, 2.8rem) var(--font-display);
  pointer-events: none;
  white-space: nowrap;
  z-index: 3;
  color: var(--cream);
  text-shadow: 0 2px 12px var(--bg-deep);
}
.banner.show { animation: bannerPop 1.6s ease forwards; }
@keyframes bannerPop {
  0% { transform: translate(-50%, -50%) scale(0); }
  25% { transform: translate(-50%, -50%) scale(1.1); }
  40%, 80% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  100% { transform: translate(-50%, -90%); opacity: 0; }
}

.game-page .hero-mini {
  padding-block: var(--space-5);
  text-align: center;
}
.game-page h1 { font-size: clamp(1.6rem, 3cqi + 1rem, 2.4rem); }
.game-page h1::before { content: "❄ "; color: var(--ice); font-size: 0.7em; }

@media (max-width: 900px) {
  .nav {
    display: none;
    position: absolute;
    inset-block-start: var(--header-h);
    inset-inline: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 16px 4%;
    gap: 12px;
    border-block-end: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .menu-toggle { display: inline-block; }
  .festsal-grid,
  .honest-grid,
  .contact-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .sym-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:not(:last-child)::after { display: none; }
  .scene-frame-wide img { aspect-ratio: 16 / 9; }
  .hero { min-height: calc(100svh - var(--header-h)); }
  .hero-card { padding: 12px; }
  .hero-card .btn { width: 100%; margin-inline-start: 0; }
  .game-page .section { padding-block: var(--space-4); }
  .game-page .hero-mini { padding-block: 4px 8px; }
  .game-page .hero-mini p { display: none; }
}

@media (max-width: 560px) {
  .sym-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .btn:hover,
  .btn:focus-visible { transform: none; }
}
