﻿/* Null.Team splash â€” dual design languages + land fades */
:root {
  --void: #05070c;
  --ink: #e8eef7;
  --ink-muted: #8b9bb0;
  --accent: #70c0e8;
  --accent-soft: rgba(112, 192, 232, 0.14);
  --accent-glow: rgba(112, 192, 232, 0.35);
  --line: rgba(232, 238, 247, 0.08);
  --silver: #b8c2ce;
  --silver-bright: #e8ecf2;
  --silver-soft: rgba(198, 206, 218, 0.12);
  --silver-glow: rgba(190, 200, 215, 0.22);
  --neutral-line: rgba(255, 255, 255, 0.1);
  --font-display: "Syne", "Segoe UI", sans-serif;
  --font-ui: "Sora", "Segoe UI", sans-serif;
  --font-mc-display: "Russo One", Impact, sans-serif;
  --font-mc-body: "Outfit", system-ui, sans-serif;
  --mc-bg: #12161c;
  --mc-panel: #1c2430;
  --mc-gold: #e4b84a;
  --mc-gold-dark: #b88928;
  --mc-grass: #6a9a5c;
  --mc-ink: #f2efe8;
  --mc-muted: #a8b0bc;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-ui);
  color: var(--ink);
  background: var(--void);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* ---- Enter gate (unlocks audio via click, then reveals picker) ---- */
.enter-gate {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  width: 100%;
  background: transparent;
  color: inherit;
  pointer-events: none;
  transition: opacity 0.55s var(--ease-out), visibility 0.55s;
}

.enter-screen-gloss {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.7s var(--ease-out);
  background:
    radial-gradient(ellipse 85% 50% at 50% -5%, rgba(255, 255, 255, 0.09), transparent 58%),
    radial-gradient(ellipse 55% 35% at 82% 18%, rgba(220, 228, 238, 0.05), transparent 55%),
    linear-gradient(
      128deg,
      transparent 36%,
      rgba(255, 255, 255, 0.02) 47%,
      rgba(255, 255, 255, 0.05) 50%,
      rgba(255, 255, 255, 0.02) 53%,
      transparent 64%
    );
  animation: enter-screen-gloss-drift 14s ease-in-out infinite alternate;
}

body.is-gated .enter-screen-gloss,
body.is-entered:not(.land-maplestory):not(.land-minecraft) .enter-screen-gloss {
  opacity: 1;
  animation: enter-screen-gloss-drift 14s ease-in-out infinite alternate;
}

body.land-maplestory .enter-screen-gloss,
body.land-minecraft .enter-screen-gloss {
  opacity: 0;
}

@keyframes enter-screen-gloss-drift {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(0, -0.4%, 0); }
}

body.is-entered .enter-gate {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body.is-entered .enter-gate-cta {
  pointer-events: none;
}

.enter-gate-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.35rem;
  padding: 2.5rem 2.4rem 2.35rem;
  width: min(100%, 28rem);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 10px;
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.028) 0%,
    rgba(255, 255, 255, 0.008) 42%,
    rgba(0, 0, 0, 0.025) 100%
  );
  backdrop-filter: blur(4px) saturate(1.05);
  -webkit-backdrop-filter: blur(4px) saturate(1.05);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(0, 0, 0, 0.08);
}

.enter-gate-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 38%);
  pointer-events: none;
}

.enter-gate-inner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  border-radius: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.35) 50%,
    transparent
  );
  pointer-events: none;
}

.enter-gate-brand {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.enter-gate-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 7vw, 3.4rem);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}

.enter-gate-word span {
  color: var(--accent);
}

.enter-gate-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding: 0.7rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(14, 21, 34, 0.55);
  cursor: pointer;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
  transition:
    color 0.2s var(--ease-out),
    border-color 0.2s var(--ease-out),
    background 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out),
    transform 0.14s var(--ease-out);
}

.enter-gate-cta-label {
  position: relative;
  z-index: 2;
}

.enter-gate-cta-gloss {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.16) 0%,
    rgba(255, 255, 255, 0.05) 30%,
    transparent 58%
  );
  pointer-events: none;
}

.enter-gate-cta-streak {
  position: absolute;
  top: -15%;
  left: -55%;
  width: 42%;
  height: 130%;
  z-index: 1;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.2) 38%,
    rgba(255, 255, 255, 0.85) 50%,
    rgba(255, 255, 255, 0.2) 62%,
    transparent 100%
  );
  transform: skewX(-20deg) translateX(0);
  opacity: 0;
  pointer-events: none;
}

.enter-gate-cta.is-acknowledged .enter-gate-cta-streak {
  animation: enter-cta-streak 0.52s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes enter-cta-streak {
  0% {
    transform: skewX(-20deg) translateX(0);
    opacity: 0;
  }
  12% { opacity: 1; }
  100% {
    transform: skewX(-20deg) translateX(430%);
    opacity: 0;
  }
}

.enter-gate-cta:hover,
.enter-gate-cta:focus-visible {
  color: var(--ink);
  border-color: rgba(112, 192, 232, 0.45);
  background: rgba(14, 21, 34, 0.8);
  box-shadow: 0 0 28px rgba(112, 192, 232, 0.12);
}

.enter-gate-cta:active,
.enter-gate-cta.is-pressed {
  color: rgba(220, 228, 238, 0.88);
  border-color: rgba(112, 192, 232, 0.22);
  background: rgba(4, 6, 10, 0.92);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.42);
  transform: scale(0.975);
}

.enter-gate-cta.is-acknowledged {
  pointer-events: none;
  animation: enter-cta-ack 0.42s var(--ease-out) forwards;
}

@keyframes enter-cta-ack {
  0% {
    transform: scale(0.975);
  }
  100% {
    transform: scale(0.975);
  }
}

.enter-gate-cta:focus-visible {
  outline: 2px solid rgba(112, 192, 232, 0.45);
  outline-offset: 3px;
}

body.is-gated .splash {
  pointer-events: none;
}

body.is-gated .brand,
body.is-gated .headline,
body.is-gated .footer,
body.is-gated .legal,
body.is-gated .cards-scroller,
body.is-gated .card {
  opacity: 0;
  visibility: hidden;
}

body.is-gated .cards-hint {
  display: none !important;
}

body.is-entered .cards-scroller {
  visibility: visible;
}

.brand-flight {
  position: fixed;
  z-index: 55;
  margin: 0;
  pointer-events: none;
  transform-origin: 0 0;
  will-change: transform;
}

.brand-flight-word {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 7vw, 3.4rem);
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
  color: var(--ink);
}

.brand-flight-word span {
  color: var(--accent);
}

body:not(.land-maplestory):not(.land-minecraft) .brand-flight-word span {
  color: var(--silver-bright);
}

body.is-brand-flying .enter-gate-brand {
  opacity: 0;
}

body.is-brand-flying .enter-gate-inner {
  opacity: 0;
  transition: opacity 0.45s var(--ease-out);
}

body.is-brand-flying .brand {
  opacity: 0 !important;
  animation: none !important;
}

body.is-entered .brand.is-settled {
  opacity: 1;
  animation: none;
}

body.is-entered .brand {
  animation: fade-in 0.65s var(--ease-out) both;
  border-radius: 4px;
}

body.is-entered .headline {
  animation: fade-in 0.7s var(--ease-out) 0.12s both;
}

body.is-entered .footer {
  animation: fade-in 0.6s var(--ease-out) 0.9s both;
}

body.is-entered .legal {
  animation: fade-in 0.6s var(--ease-out) 1.05s both;
}

body.is-entered .card {
  opacity: 0;
  pointer-events: none;
}

body.is-entered .card.is-interactive {
  pointer-events: auto;
}

body.is-entered .card--maplestory {
  animation: card-fade-in 1.75s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both;
}

body.is-entered .card--minecraft {
  animation: card-fade-in 1.75s cubic-bezier(0.22, 1, 0.36, 1) 0.52s both;
}

@media (max-width: 820px) {
  body.is-entered .card--minecraft {
    animation: card-fade-in 1.75s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both;
  }

  body.is-entered .card--maplestory {
    animation: card-fade-in 1.75s cubic-bezier(0.22, 1, 0.36, 1) 0.52s both;
  }
}

body.is-session-restored .brand,
body.is-session-restored .headline,
body.is-session-restored .footer,
body.is-session-restored .legal,
body.is-session-restored .cards-hint,
body.is-session-restored .card {
  animation: none;
  opacity: 1;
  visibility: visible;
}

/* ---- Pick transition: chosen card centers, other dims back ---- */
.page-blackout {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}

body.is-picking .page-blackout.is-on {
  opacity: 1;
  pointer-events: auto;
}

body.is-picking {
  cursor: wait;
}

body.is-picking .audio-dock {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

body.is-picking .brand,
body.is-picking .headline,
body.is-picking .footer,
body.is-picking .legal {
  opacity: 0 !important;
  transition: opacity 0.4s ease;
  animation: none !important;
  pointer-events: none;
}

body.is-picking .card {
  animation: none !important;
  opacity: 1;
  pointer-events: none;
  transition:
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.65s ease,
    opacity 0.65s ease,
    box-shadow 0.65s ease,
    border-color 0.4s ease;
  will-change: transform, filter, opacity;
}

body.is-picking .card.is-picked {
  z-index: 85;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
  overflow: visible;
}

@media (max-width: 820px) {
  body.is-picking .cards-scroller,
  body.is-picking .cards {
    overflow: visible;
  }

  body.is-picking .card.is-picked {
    max-height: calc(100dvh - 1.25rem);
  }
}

body.is-picking .card.is-discarded {
  z-index: 1;
  filter: brightness(0.28) saturate(0.55);
  opacity: 0.35;
  transform: scale(0.88);
}

@media (prefers-reduced-motion: reduce) {
  body.is-picking .card,
  body.is-picking .brand,
  body.is-picking .headline,
  body.is-picking .footer,
  body.is-picking .legal,
  .page-blackout {
    transition: none !important;
  }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes card-fade-in {
  0% { opacity: 0; }
  35% { opacity: 0; }
  100% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .enter-screen-gloss,
  .enter-gate-cta-streak {
    animation: none;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---- Land layers (crossfade) ---- */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  opacity: 0;
  transition: opacity 0.7s var(--ease-out);
  pointer-events: none;
}

.site-bg--neutral {
  opacity: 1;
  background:
    radial-gradient(ellipse 100% 58% at 50% -12%, rgba(255, 255, 255, 0.09), transparent 54%),
    radial-gradient(ellipse 42% 34% at 88% 22%, rgba(180, 190, 205, 0.07), transparent 50%),
    radial-gradient(ellipse 38% 28% at 10% 78%, rgba(130, 140, 155, 0.06), transparent 52%),
    linear-gradient(180deg, #050505 0%, #0a0a0c 44%, #030303 100%);
}

body.is-gated .site-bg--neutral,
body.is-entered:not(.land-maplestory):not(.land-minecraft) .site-bg--neutral {
  background:
    radial-gradient(ellipse 100% 58% at 50% -12%, rgba(255, 255, 255, 0.12), transparent 54%),
    radial-gradient(ellipse 42% 34% at 88% 22%, rgba(180, 190, 205, 0.09), transparent 50%),
    radial-gradient(ellipse 38% 28% at 10% 78%, rgba(130, 140, 155, 0.07), transparent 52%),
    linear-gradient(128deg, transparent 42%, rgba(255, 255, 255, 0.025) 50%, transparent 58%),
    linear-gradient(180deg, #050505 0%, #0a0a0c 44%, #030303 100%);
}

/* Neutral / idle: sleek B&W silver, no game land cues */
body:not(.land-maplestory):not(.land-minecraft) .leaf-fall {
  opacity: 0;
}

.neutral-drift {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.7s var(--ease-out), z-index 0s;
}

body.is-gated .neutral-drift {
  z-index: 48;
}

body.is-gated .neutral-particle--dot,
body.is-entered:not(.land-maplestory):not(.land-minecraft) .neutral-particle--dot {
  background: rgba(235, 242, 250, calc(var(--bright, 0.28) * 1.75));
  box-shadow:
    0 0 calc(var(--size, 2px) * 5) rgba(210, 220, 232, calc(var(--bright, 0.28) * 0.85)),
    0 0 calc(var(--size, 2px) * 10) rgba(190, 200, 215, calc(var(--bright, 0.28) * 0.4));
}

body.is-gated .neutral-particle--shard,
body.is-entered:not(.land-maplestory):not(.land-minecraft) .neutral-particle--shard {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(220, 228, 238, calc(var(--bright, 0.12) * 1.6)) 35%,
    rgba(240, 244, 250, calc(var(--bright, 0.12) * 2)) 50%,
    rgba(220, 228, 238, calc(var(--bright, 0.12) * 1.6)) 65%,
    transparent
  );
}

body.land-maplestory .neutral-drift,
body.land-minecraft .neutral-drift {
  opacity: 0;
}

.neutral-particle {
  position: absolute;
  top: 0;
  left: var(--left, 50%);
  will-change: transform, opacity;
  animation: neutral-drift var(--dur, 26s) linear infinite;
  animation-delay: var(--delay, 0s);
}

.neutral-particle--dot {
  width: var(--size, 2px);
  height: var(--size, 2px);
  border-radius: 50%;
  background: rgba(220, 228, 238, var(--bright, 0.28));
  box-shadow: 0 0 calc(var(--size, 2px) * 3) rgba(190, 200, 215, calc(var(--bright, 0.28) * 0.55));
}

.neutral-particle--shard {
  width: var(--w, 18px);
  height: 1px;
  border-radius: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(210, 218, 228, var(--bright, 0.12)) 35%,
    rgba(235, 240, 246, calc(var(--bright, 0.12) * 1.4)) 50%,
    rgba(210, 218, 228, var(--bright, 0.12)) 65%,
    transparent
  );
  filter: blur(0.4px);
}

@keyframes neutral-drift {
  0% {
    transform: translate3d(0, -12vh, 0) rotate(0deg);
    opacity: 0;
  }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% {
    transform: translate3d(var(--drift, 0), 112vh, 0) rotate(8deg);
    opacity: 0;
  }
}

body:not(.land-maplestory):not(.land-minecraft) .vignette {
  background:
    radial-gradient(ellipse 72% 68% at 50% 42%, transparent 46%, rgba(0, 0, 0, 0.16) 78%, rgba(0, 0, 0, 0.42) 100%);
}

body:not(.land-maplestory):not(.land-minecraft) .enter-gate-word span,
body:not(.land-maplestory):not(.land-minecraft) .brand-word span {
  color: var(--silver-bright);
}

body:not(.land-maplestory):not(.land-minecraft) .enter-gate-cta {
  color: #9aa3ad;
  border-color: var(--neutral-line);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

body:not(.land-maplestory):not(.land-minecraft) .enter-gate-cta:hover,
body:not(.land-maplestory):not(.land-minecraft) .enter-gate-cta:focus-visible {
  color: var(--silver-bright);
  border-color: rgba(200, 210, 220, 0.32);
  background: rgba(255, 255, 255, 0.07);
  box-shadow:
    0 0 24px rgba(180, 190, 205, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

body:not(.land-maplestory):not(.land-minecraft) .enter-gate-cta:active,
body:not(.land-maplestory):not(.land-minecraft) .enter-gate-cta.is-pressed,
body:not(.land-maplestory):not(.land-minecraft) .enter-gate-cta.is-acknowledged {
  color: rgba(210, 218, 228, 0.9);
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.62);
  box-shadow:
    inset 0 3px 14px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

@keyframes enter-cta-ack {
  0% {
    transform: scale(0.975);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow:
      inset 0 3px 14px rgba(0, 0, 0, 0.58),
      0 0 18px rgba(220, 228, 238, 0.08);
  }
  100% {
    transform: scale(0.975);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow:
      inset 0 3px 14px rgba(0, 0, 0, 0.58),
      0 0 0 1px rgba(255, 255, 255, 0.05);
  }
}

body:not(.land-maplestory):not(.land-minecraft) .headline {
  color: #8f98a3;
}

body:not(.land-maplestory):not(.land-minecraft) .footer a {
  color: var(--silver);
}

body:not(.land-maplestory):not(.land-minecraft) .legal {
  color: rgba(150, 158, 168, 0.45);
}

body:not(.land-maplestory):not(.land-minecraft) .audio-dock {
  background: rgba(10, 10, 12, 0.5);
  border-color: rgba(255, 255, 255, 0.07);
}

body:not(.land-maplestory):not(.land-minecraft) .audio-dock:hover,
body:not(.land-maplestory):not(.land-minecraft) .audio-dock:focus-within {
  background: rgba(10, 10, 12, 0.9);
  border-color: var(--neutral-line);
}

body:not(.land-maplestory):not(.land-minecraft) .audio-vol input[type="range"] {
  accent-color: var(--silver);
}

body.land-maplestory .leaf-fall {
  opacity: 1;
}

.site-bg--maplestory {
  background:
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(43, 163, 230, 0.38), transparent 55%),
    radial-gradient(ellipse 50% 40% at 85% 30%, rgba(112, 192, 232, 0.16), transparent 50%),
    radial-gradient(ellipse 60% 50% at 10% 70%, rgba(30, 58, 95, 0.45), transparent 55%),
    linear-gradient(180deg, #05070c 0%, #0a1422 45%, #05070c 100%);
}

.site-bg--minecraft {
  background:
    radial-gradient(1100px 520px at 85% -8%, rgba(122, 168, 196, 0.28), transparent 55%),
    radial-gradient(800px 420px at 0% 30%, rgba(228, 184, 74, 0.16), transparent 50%),
    radial-gradient(700px 480px at 50% 100%, rgba(106, 154, 92, 0.14), transparent 55%),
    linear-gradient(180deg, #12161c 0%, #171d26 50%, #12161c 100%);
}

body.land-maplestory .site-bg--neutral,
body.land-minecraft .site-bg--neutral {
  opacity: 0;
}

body.land-maplestory .site-bg--maplestory {
  opacity: 1;
}

body.land-minecraft .site-bg--minecraft {
  opacity: 1;
}

/* Soft vignette over the page â€” brand + cards sit above it */
.vignette {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 65% at 50% 42%, transparent 48%, rgba(0, 0, 0, 0.12) 78%, rgba(0, 0, 0, 0.28) 100%);
}

body.land-minecraft .vignette {
  background:
    radial-gradient(ellipse 70% 65% at 50% 42%, transparent 48%, rgba(8, 10, 14, 0.14) 78%, rgba(0, 0, 0, 0.3) 100%);
}

body.land-minecraft .leaf-fall {
  opacity: 0;
}

body.land-minecraft .mc-leaf-fall {
  opacity: 1;
}

/* Falling leaves â€” MS land */
.leaf-fall {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  filter: brightness(0.72) saturate(1.05) blur(1.5px);
  opacity: 1;
  transition: opacity 0.7s var(--ease-out);
}

.leaf {
  position: absolute;
  top: 0;
  left: var(--left, 50%);
  width: 64px;
  height: 64px;
  background: url("../splash-assets/maple-leaf-cyan.png") center / contain no-repeat;
  will-change: transform, opacity;
  animation: leaf-fall var(--dur, 30s) linear infinite;
  animation-delay: var(--delay, 0s);
}

@keyframes leaf-fall {
  0% {
    transform: translate3d(0, -15vh, 0) rotate(var(--r0, 0deg)) scale(var(--leaf-scale, 0.4));
    opacity: 0;
  }
  8% { opacity: calc(var(--leaf-opacity, 0.15) * 2.4); }
  92% { opacity: calc(var(--leaf-opacity, 0.15) * 2.4); }
  100% {
    transform: translate3d(var(--drift, 0), 115vh, 0) rotate(var(--r1, 30deg)) scale(var(--leaf-scale, 0.4));
    opacity: 0;
  }
}

/* Minecraft tree leaf particles â€” small pixel squares */
.mc-leaf-fall {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.7s var(--ease-out);
}

.mc-leaf {
  position: absolute;
  top: 0;
  left: var(--left, 50%);
  width: var(--size, 4px);
  height: var(--size, 4px);
  background: hsl(var(--hue, 110) 48% 38%);
  box-shadow:
    1px 0 0 hsl(var(--hue, 110) 42% 28%),
    0 1px 0 hsl(var(--hue, 110) 42% 28%),
    inset 0 0 0 0.5px hsl(var(--hue, 110) 55% 52%);
  image-rendering: pixelated;
  will-change: transform, opacity;
  animation: mc-leaf-fall var(--dur, 15s) linear infinite;
  animation-delay: var(--delay, 0s);
}

@keyframes mc-leaf-fall {
  0% {
    transform: translate3d(0, -8vh, 0) rotate(0deg) scale(1);
    opacity: 0;
  }
  6% { opacity: 0.85; }
  50% {
    transform: translate3d(calc(var(--drift, 0) * 0.5), 50vh, 0) rotate(calc(var(--spin, 120deg) * 0.5)) scale(0.95);
    opacity: 0.75;
  }
  94% { opacity: 0.7; }
  100% {
    transform: translate3d(var(--drift, 0), 110vh, 0) rotate(var(--spin, 120deg)) scale(0.85);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .leaf-fall,
  .mc-leaf-fall,
  .neutral-drift { display: none; }
  .site-bg { transition: none; }
}

/* ---- Audio dock (bottom-right, subtle until hover) ---- */
.audio-dock {
  position: fixed;
  bottom: max(0.85rem, env(safe-area-inset-bottom, 0px));
  right: max(0.85rem, env(safe-area-inset-right, 0px));
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.28rem 0.45rem;
  background: rgba(10, 14, 22, 0.48);
  border: 1px solid rgba(232, 238, 247, 0.07);
  border-radius: 4px;
  backdrop-filter: blur(8px);
  opacity: 0.38;
  transition:
    opacity 0.28s var(--ease-out),
    background 0.28s var(--ease-out),
    border-color 0.28s var(--ease-out);
}

.audio-dock:hover,
.audio-dock:focus-within {
  opacity: 1;
  background: rgba(10, 14, 22, 0.9);
  border-color: var(--line);
}

.audio-dock[hidden] {
  display: none !important;
}

body.land-minecraft .audio-dock {
  background: rgba(28, 36, 48, 0.52);
  border: 1px solid rgba(228, 184, 74, 0.22);
  border-radius: 8px;
}

body.land-minecraft .audio-dock:hover,
body.land-minecraft .audio-dock:focus-within {
  background: rgba(28, 36, 48, 0.94);
  border-color: rgba(228, 184, 74, 0.55);
}

.audio-mute {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(232, 238, 247, 0.82);
  background: transparent;
  border: 1px solid rgba(232, 238, 247, 0.1);
  border-radius: 3px;
  padding: 0.22rem 0.45rem;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.audio-dock:hover .audio-mute,
.audio-dock:focus-within .audio-mute {
  color: var(--ink);
  border-color: var(--line);
}

body.land-minecraft .audio-mute {
  font-family: var(--font-mc-body);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 5px;
  border-color: rgba(228, 184, 74, 0.25);
  color: rgba(228, 184, 74, 0.75);
}

body.land-minecraft .audio-dock:hover .audio-mute,
body.land-minecraft .audio-dock:focus-within .audio-mute {
  border-color: var(--mc-gold);
  color: var(--mc-gold);
}

.audio-mute[aria-pressed="true"] {
  color: var(--ink-muted);
  opacity: 0.75;
}

.audio-vol input[type="range"] {
  width: 68px;
  height: 3px;
  accent-color: var(--accent);
  vertical-align: middle;
  opacity: 0.85;
}

.audio-dock:hover .audio-vol input[type="range"],
.audio-dock:focus-within .audio-vol input[type="range"] {
  opacity: 1;
}

body.land-minecraft .audio-vol input[type="range"] {
  accent-color: var(--mc-gold);
}

/* ---- Splash content ---- */
.splash {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2.5rem 1.25rem 3rem;
  text-align: center;
}

.brand {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 0.75rem;
}

.brand-icon-wrap {
  position: relative;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  max-width: 0;
  min-width: 0;
  margin-right: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-width 0.35s var(--ease-out),
    margin-right 0.35s var(--ease-out),
    opacity 0.35s var(--ease-out);
}

body.land-maplestory .brand-icon-wrap,
body.land-minecraft .brand-icon-wrap {
  max-width: 36px;
  margin-right: 0.65rem;
  opacity: 1;
}

.brand-icon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
}

body.land-maplestory .brand-icon--ms {
  opacity: 1;
  filter: drop-shadow(0 0 12px rgba(112, 192, 232, 0.35));
}

body.land-minecraft .brand-icon--mc {
  opacity: 1;
  filter: drop-shadow(0 0 10px rgba(106, 154, 92, 0.45));
}

.brand-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 2.75rem);
  letter-spacing: -0.03em;
  line-height: 1;
}

.brand-word span {
  color: var(--accent);
}

body.land-minecraft .brand-word span {
  color: var(--mc-gold);
}

.headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  line-height: 1.35;
  min-height: 1.35em;
  color: var(--ink-muted);
  margin: 0 0 2.25rem;
  letter-spacing: -0.01em;
  transition: color 0.35s var(--ease-out);
}

body.land-minecraft .headline {
  /* color only â€” no font/size changes (avoids vertical jump) */
  color: var(--mc-muted);
}

.cards {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 300px));
  justify-content: center;
  column-gap: clamp(5rem, 14vw, 11rem);
  row-gap: 2rem;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 821px) {
  .card--maplestory {
    order: 1;
  }

  .card--minecraft {
    order: 2;
  }
}

.cards-hint {
  display: none;
}

.cards-scroller {
  width: 100%;
}

@media (max-width: 820px) {
  .splash {
    justify-content: flex-start;
    padding: 1.25rem 0 2rem;
    min-height: 100dvh;
  }

  .brand {
    max-width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
    justify-content: center;
  }

  .headline {
    margin-bottom: 0.5rem;
    padding: 0 1rem;
  }

  body.is-entered .cards-hint {
    display: block;
    margin: 0 0 0.85rem;
    padding: 0 1rem;
    font-family: var(--font-ui);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(154, 163, 173, 0.75);
    transition: opacity 0.35s var(--ease-out);
    animation: fade-in 0.65s var(--ease-out) 0.45s both;
  }

  .cards-hint.is-hidden {
    opacity: 0;
    pointer-events: none;
  }

  .cards-scroller {
    position: relative;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 1rem;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: auto;
    scrollbar-width: none;
    background: transparent;
  }

  .cards-scroller::-webkit-scrollbar {
    display: none;
  }

  .cards-scroller.is-scrolling .cards-swipe-arrow {
    opacity: 0 !important;
    animation: none !important;
  }

  .cards-swipe-arrow {
    position: absolute;
    top: 50%;
    right: 0.5rem;
    z-index: 5;
    width: 1.5rem;
    height: 1.5rem;
    margin-top: -0.75rem;
    pointer-events: none;
    opacity: 0.34;
    font-family: var(--font-ui);
    font-size: 1.35rem;
    font-weight: 300;
    line-height: 1.5rem;
    text-align: center;
    color: rgba(232, 238, 247, 0.55);
    transition: opacity 0.35s var(--ease-out);
  }

  .cards-swipe-arrow::before {
    content: "›";
    display: block;
    border: none;
    transform: none;
  }

  .cards-swipe-arrow.is-point-left {
    right: auto;
    left: 0.5rem;
  }

  .cards-swipe-arrow.is-point-left::before {
    content: "‹";
    transform: none;
  }

  body.land-minecraft .cards-swipe-arrow {
    color: rgba(228, 184, 74, 0.55);
  }

  body.land-maplestory .cards-swipe-arrow {
    color: rgba(112, 192, 232, 0.55);
  }

  .cards-swipe-arrow.is-point-right {
    right: 0.5rem;
    left: auto;
  }

  .cards-scroller.has-focused-card .cards-swipe-arrow.is-point-right {
    animation: cards-swipe-sway-right 2.4s ease-in-out infinite;
  }

  @keyframes cards-swipe-sway-right {
    0%, 100% { transform: translateX(0); opacity: 0.28; }
    50% { transform: translateX(4px); opacity: 0.44; }
  }

  @keyframes cards-swipe-sway-left {
    0%, 100% { transform: translateX(0); opacity: 0.28; }
    50% { transform: translateX(-4px); opacity: 0.44; }
  }

  .cards-scroller.has-focused-card .cards-swipe-arrow.is-point-left {
    animation: cards-swipe-sway-left 2.4s ease-in-out infinite;
  }

  .cards {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    width: max-content;
    max-width: none;
    margin: 0;
    padding: 0 1rem 0.35rem;
  }

  .card {
    flex: 0 0 auto;
    width: 85vw;
    max-width: 340px;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }

  .card--minecraft {
    margin-right: 0.75rem;
  }

  .card--maplestory {
    margin-left: -1px;
  }

  .card-visual {
    height: 148px;
  }

  .card--maplestory .card-visual-img {
    transform: scale(1.22);
  }

  body.is-picking .card--maplestory .card-visual-img,
  body.is-picking .card--minecraft .card-visual-img {
    transform: none;
  }

  .card-body p {
    display: none;
  }

  .card-body {
    padding: 0.85rem 1rem 1rem;
  }

  .card-body h2 {
    margin-bottom: 0.35rem;
  }

  /* Mobile perf: fewer compositor layers, no ambient FX during scroll */
  html {
    scroll-behavior: auto;
  }

  .leaf-fall,
  .mc-leaf-fall {
    display: none !important;
  }

  body.is-entered .enter-screen-gloss {
    animation: none;
    opacity: 0.35;
  }

  .neutral-particle:nth-child(n + 9) {
    display: none;
  }

  .neutral-particle {
    will-change: auto;
    box-shadow: none;
  }

  body.is-scrolling .neutral-drift,
  body.is-scrolling .enter-screen-gloss {
    visibility: hidden;
  }

  .card {
    transform: none;
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
  }

  .card--maplestory .card-visual-img {
    mix-blend-mode: normal;
    filter: saturate(1.05) brightness(1.02);
    transform: scale(1.18);
  }

  .card--minecraft .card-visual-img {
    filter: saturate(1.08) contrast(1.02);
  }

  .card--maplestory.is-playing .card-visual-img,
  .card--minecraft.is-playing .card-visual-img {
    filter: none;
    transform: scale(1.18);
  }

  .card.is-playing .card-visual::after {
    animation: none;
    opacity: 0.55;
  }

  .card-visual-mark--ms {
    filter: none;
  }

  .cards-scroller.has-focused-card .cards-swipe-arrow.is-point-right,
  .cards-scroller.has-focused-card .cards-swipe-arrow.is-point-left {
    animation: none;
    opacity: 0.38;
  }

  .site-bg {
    transition: opacity 0.35s var(--ease-out);
  }

  .audio-dock {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(10, 14, 22, 0.72);
  }

  .pick-confirm {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(5, 7, 12, 0.82);
  }
}

/* ---- Pick confirm (mobile) ---- */
.pick-confirm {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(5, 7, 12, 0.62);
  backdrop-filter: blur(6px);
}

.pick-confirm[hidden] {
  display: none !important;
}

.pick-confirm-panel {
  width: min(100%, 22rem);
  padding: 1.65rem 1.5rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: linear-gradient(
    165deg,
    rgba(18, 22, 30, 0.96) 0%,
    rgba(10, 12, 18, 0.94) 100%
  );
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  text-align: center;
}

body.land-maplestory .pick-confirm-panel {
  border-color: rgba(112, 192, 232, 0.28);
}

body.land-minecraft .pick-confirm-panel {
  border-color: rgba(228, 184, 74, 0.35);
  border-radius: 12px;
}

.pick-confirm-title {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.pick-confirm-sub {
  margin: 0 0 1.25rem;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.pick-confirm-actions {
  display: flex;
  gap: 0.65rem;
  justify-content: center;
}

.pick-confirm-btn {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.55rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  transition: background 0.2s, border-color 0.2s, transform 0.14s;
}

.pick-confirm-cancel:hover,
.pick-confirm-cancel:focus-visible {
  border-color: rgba(232, 238, 247, 0.22);
  background: rgba(255, 255, 255, 0.04);
}

.pick-confirm-go {
  border-color: rgba(112, 192, 232, 0.45);
  background: rgba(112, 192, 232, 0.12);
  color: var(--accent);
}

body.land-minecraft .pick-confirm-go {
  border-color: rgba(228, 184, 74, 0.55);
  background: rgba(228, 184, 74, 0.12);
  color: var(--mc-gold);
  border-radius: 8px;
}

.pick-confirm-go:active,
.pick-confirm-cancel:active {
  transform: scale(0.98);
}

body.is-confirming .cards-scroller,
body.is-confirming .cards-hint,
body.is-confirming .headline,
body.is-confirming .footer,
body.is-confirming .legal {
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .cards-scroller.has-focused-card .cards-swipe-arrow {
    animation: none;
  }
}

/* ---- Shared card shell ---- */
.card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  padding: 0;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border-style: solid;
  border-width: 2px;
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.card:hover {
  text-decoration: none;
}

/* ---- MapleStory card (void / cyan / sharp) ---- */
.card--maplestory {
  background: rgba(14, 21, 34, 0.88);
  border-color: var(--line);
  border-radius: 2px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.card--maplestory:hover,
.card--maplestory.is-playing {
  border-color: rgba(112, 192, 232, 0.5);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.4),
    0 0 0 1px var(--accent-soft),
    0 0 40px rgba(112, 192, 232, 0.14);
}

.card--maplestory .card-body {
  font-family: var(--font-ui);
}

.card--maplestory h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.card--maplestory p {
  color: var(--ink-muted);
}

.card--maplestory .card-cta {
  color: var(--accent);
  font-family: var(--font-ui);
  font-weight: 600;
}

.card--maplestory:hover .card-cta,
.card--maplestory.is-playing .card-cta {
  color: var(--ink);
}

/* ---- Minecraft card (panel / gold / rounded) ---- */
.card--minecraft {
  background: var(--mc-panel);
  border-color: #334155;
  border-radius: 14px;
  color: var(--mc-ink);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.card--minecraft:hover,
.card--minecraft.is-playing {
  border-color: var(--mc-gold);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(228, 184, 74, 0.25);
}

.card--minecraft .card-body {
  font-family: var(--font-mc-body);
}

.card--minecraft h2 {
  font-family: var(--font-mc-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  text-shadow: 0 2px 0 #0c1016;
}

.card--minecraft p {
  color: var(--mc-muted);
  font-weight: 600;
}

.card--minecraft .card-cta {
  display: inline-block;
  font-family: var(--font-mc-body);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
  color: #12161c;
  background: var(--mc-gold);
  border-radius: 8px;
  padding: 0.55rem 0.85rem;
  box-shadow: 0 3px 0 var(--mc-gold-dark);
}

.card--minecraft:hover .card-cta,
.card--minecraft.is-playing .card-cta {
  filter: brightness(1.06);
  color: #12161c;
}

/* ---- Visuals ---- */
.card-visual {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.card-visual--maplestory {
  background:
    radial-gradient(ellipse 90% 70% at 50% 35%, rgba(72, 152, 192, 0.45), transparent 60%),
    linear-gradient(165deg, #0a1524 0%, #071018 45%, #0c1a2c 100%);
  border-bottom: 1px solid var(--line);
}

.card-visual--minecraft {
  border-bottom: 2px solid #334155;
}

.card--minecraft:hover .card-visual--minecraft,
.card--minecraft.is-playing .card-visual--minecraft {
  border-bottom-color: var(--mc-gold);
}

.card-visual-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 30% 25%, rgba(232, 238, 247, 0.14) 0 1px, transparent 2px),
    radial-gradient(circle at 70% 18%, rgba(112, 192, 232, 0.2) 0 1.5px, transparent 3px),
    radial-gradient(ellipse 55% 45% at 50% 42%, rgba(112, 192, 232, 0.22), transparent 70%);
}

.card-visual-atmosphere::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 42%;
  width: 160px;
  height: 160px;
  transform: translate(-50%, -50%);
  background: url("../splash-assets/maple-leaf-cyan.png") center / contain no-repeat;
  opacity: 0.08;
  filter: blur(1px);
}

.card-visual-img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease-out), filter 0.35s var(--ease-out);
}

.card--maplestory .card-visual-img {
  object-fit: contain;
  object-position: center 58%;
  transform: scale(1.55);
  filter: saturate(1.05) brightness(1.05) drop-shadow(0 0 28px rgba(112, 192, 232, 0.35));
  mix-blend-mode: screen;
}

.card--minecraft .card-visual-img {
  object-position: center 45%;
  transform: scale(1.04);
  filter: saturate(1.15) contrast(1.05) brightness(0.92);
}

.card--maplestory:hover .card-visual-img,
.card--maplestory.is-playing .card-visual-img {
  transform: scale(1.62);
  filter: saturate(1.12) brightness(1.1) drop-shadow(0 0 36px rgba(112, 192, 232, 0.45));
}

.card--minecraft:hover .card-visual-img,
.card--minecraft.is-playing .card-visual-img {
  transform: scale(1.1);
  filter: saturate(1.2) contrast(1.06) brightness(1);
}

.card-visual-fade {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.card-visual--maplestory .card-visual-fade {
  background: linear-gradient(180deg, transparent 45%, rgba(8, 14, 24, 0.35) 70%, rgba(14, 21, 34, 0.96) 100%);
}

.card-visual--minecraft .card-visual-fade {
  background:
    linear-gradient(90deg, rgba(28, 36, 48, 0.35) 0%, transparent 45%),
    linear-gradient(180deg, transparent 40%, rgba(18, 22, 28, 0.55) 75%, rgba(28, 36, 48, 0.98) 100%);
}

.card-visual-mark {
  position: absolute;
  left: 1rem;
  bottom: 0.85rem;
  z-index: 3;
  pointer-events: none;
}

.card-visual-mark--ms {
  width: min(148px, 48%);
  height: auto;
  opacity: 0.92;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.55));
}

.card-visual-mark--mc {
  font-family: var(--font-mc-display);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #12161c;
  padding: 0.3rem 0.55rem;
  background: var(--mc-gold);
  border-radius: 6px;
  box-shadow: 0 2px 0 var(--mc-gold-dark);
}

.card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.2rem 1.4rem 1.5rem;
}

.card h2 {
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
}

.card p {
  margin: 0 0 1.2rem;
  font-size: 0.95rem;
}

.card-cta {
  margin-top: auto;
  font-size: 0.9rem;
}

.card.is-playing .card-visual::after {
  content: "";
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 4;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
  animation: pulse-dot 1.2s ease-in-out infinite;
}

.card--minecraft.is-playing .card-visual::after {
  background: var(--mc-gold);
  box-shadow: 0 0 10px rgba(228, 184, 74, 0.55);
}

@keyframes pulse-dot {
  0%, 100% { opacity: 0.45; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15); }
}

@media (prefers-reduced-motion: reduce) {
  .card:hover .card-visual-img,
  .card--maplestory:hover .card-visual-img,
  .card--minecraft:hover .card-visual-img,
  .card.is-playing .card-visual-img {
    transform: none;
  }
  .card--maplestory .card-visual-img { transform: scale(1.55); }
  .card.is-playing .card-visual::after { animation: none; }
}

.footer {
  margin-top: 3rem;
  margin-bottom: 0;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.footer a {
  color: var(--accent);
  text-decoration: none;
}

body.land-minecraft .footer a {
  color: var(--mc-gold);
  font-family: var(--font-mc-body);
  font-weight: 700;
}

.footer a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal {
  position: relative;
  z-index: 3;
  margin: 1.35rem 0 0;
  max-width: 36rem;
  padding: 0 1rem;
  font-family: "Tiny5", "Press Start 2P", monospace;
  font-size: 8px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: rgba(139, 155, 176, 0.55);
  text-align: center;
  -webkit-font-smoothing: none;
  image-rendering: pixelated;
}

body.land-minecraft .legal {
  color: rgba(168, 176, 188, 0.5);
}
