/* Lumiplay — static site styles */

:root {
  --bg: #FBF8FF;
  --bg-2: #F3EEFF;
  --surface: #FFFFFF;
  --ink: #1F1A33;
  --ink-2: #554D70;
  --line: #E6DEF8;

  --lav: #A78BFA;
  --lav-d: #6142D6;
  --lav-l: #EEE8FF;
  --pink: #FF6FB5;
  --pink-d: #B8296F;
  --pink-l: #FFE4F1;
  --cyan: #2CD4E6;
  --cyan-d: #08788A;
  --cyan-l: #DBF8FB;
  --silver: #C9D0DE;
  --silver-d: #5D6679;
  --silver-l: #EFF2F8;
  --gold: #F5B83D;
  --gold-d: #8A5D05;
  --gold-l: #FFF1D3;

  --on-accent: #1F1A33;
  --btn-bg: #1F1A33;
  --btn-ink: #FFFFFF;
  --shadow-sm: 0 1px 0 rgba(31, 26, 51, .05), 0 8px 20px -12px rgba(76, 52, 160, .28);
  --shadow: 0 1px 0 rgba(31, 26, 51, .04), 0 24px 48px -24px rgba(76, 52, 160, .35);
  --hard: 0 6px 0 rgba(31, 26, 51, .9);

  --bounce: cubic-bezier(.34, 1.56, .64, 1);
  --soft: cubic-bezier(.22, 1, .36, 1);
  --r-lg: 32px;
  --r-md: 22px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;

  --f-display: "Fredoka", "Noto Sans KR", system-ui, sans-serif;
  --f-body: "Noto Sans KR", "Fredoka", system-ui, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #110E1C;
    --bg-2: #181427;
    --surface: #1D1830;
    --ink: #F4F1FF;
    --ink-2: #BDB5D9;
    --line: #2F2848;

    --lav-d: #C4B5FD;
    --lav-l: #261F45;
    --pink-d: #FF9CCB;
    --pink-l: #3A1A31;
    --cyan-d: #6EE7F5;
    --cyan-l: #10303A;
    --silver-d: #CBD3E2;
    --silver-l: #232838;
    --gold-d: #FCD27A;
    --gold-l: #352812;

    --btn-bg: #F4F1FF;
    --btn-ink: #1F1A33;
    --shadow-sm: 0 8px 20px -12px rgba(0, 0, 0, .6);
    --shadow: 0 24px 48px -24px rgba(0, 0, 0, .7);
    --hard: 0 6px 0 rgba(0, 0, 0, .55);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--lav-d);
  outline-offset: 3px;
  border-radius: 12px;
}

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  background: var(--btn-bg); color: var(--btn-ink); padding: 10px 16px; border-radius: 999px;
  transform: translateY(-160%); transition: transform .3s var(--soft); text-decoration: none; font-weight: 700;
}
.skip:focus { transform: none; }

/* ---------- NAV ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 12px var(--gutter) 0;
  pointer-events: none;
}
.nav__inner {
  pointer-events: auto;
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; gap: 16px;
  padding: 8px 8px 8px 18px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--soft);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__name { font-family: var(--f-display); font-weight: 700; font-size: 22px; letter-spacing: -.01em; }
.brand__mark { position: relative; width: 30px; height: 30px; flex: none; }
.brand__mark i {
  position: absolute; border-radius: 50%;
  box-shadow: inset -3px -4px 0 rgba(0, 0, 0, .12), inset 3px 3px 0 rgba(255, 255, 255, .45);
  transition: transform .5s var(--bounce);
}
.brand__mark i:nth-child(1) { width: 22px; height: 22px; left: 0; bottom: 0; background: var(--lav); }
.brand__mark i:nth-child(2) { width: 13px; height: 13px; right: 0; top: 0; background: var(--pink); }
.brand__mark i:nth-child(3) { width: 10px; height: 10px; right: 1px; bottom: 1px; background: var(--gold); }
.brand:hover .brand__mark i:nth-child(1) { transform: translate(2px, -3px); }
.brand:hover .brand__mark i:nth-child(2) { transform: translate(-3px, 4px) scale(1.15); }
.brand:hover .brand__mark i:nth-child(3) { transform: translate(-2px, -6px); }

.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a {
  text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 8px 14px; border-radius: 999px;
  transition: background-color .25s, transform .4s var(--bounce);
}
.nav__links a:hover { background: var(--lav-l); transform: translateY(-2px); }
.nav__right { display: flex; align-items: center; gap: 8px; }

.lang {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px;
}
.lang__btn {
  position: relative; z-index: 1;
  appearance: none; border: 0; background: none; cursor: pointer;
  font-family: var(--f-display); font-weight: 600; font-size: 14px; letter-spacing: .04em;
  min-width: 44px; height: 36px; padding: 0 10px; border-radius: 999px;
  color: var(--ink-2);
  transition: color .3s;
}
.lang__btn[aria-pressed="true"] { color: var(--btn-ink); }
.lang__thumb {
  position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px);
  border-radius: 999px; background: var(--btn-bg);
  transition: transform .55s var(--bounce);
}
html[lang="en"] .lang__thumb { transform: translateX(100%); }

.nav__menu {
  display: none;
  appearance: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--lav-l); position: relative;
}
.nav__menu span {
  position: absolute; left: 13px; right: 13px; height: 2.5px; border-radius: 2px; background: var(--ink);
  transition: transform .4s var(--bounce);
}
.nav__menu span:nth-child(1) { top: 17px; }
.nav__menu span:nth-child(2) { top: 24px; }
.nav__menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav__menu[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- BUTTONS ---------- */
.btn {
  --b: var(--btn-bg);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-family: var(--f-display); font-weight: 600; font-size: 18px; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; border: 2px solid var(--b);
  transition: transform .45s var(--bounce), box-shadow .45s var(--bounce), background-color .25s;
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.btn--primary { background: var(--b); color: var(--btn-ink); box-shadow: 0 6px 0 var(--lav); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 9px 0 var(--pink); }
.btn--primary:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--lav); }
.btn--ghost { background: var(--surface); color: var(--ink); box-shadow: 0 6px 0 var(--line); }
.btn--ghost:hover { transform: translateY(-3px); box-shadow: 0 9px 0 var(--cyan); }
.btn--ghost:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--line); }
.btn--big { min-height: 60px; font-size: clamp(17px, 2.2vw, 22px); padding: 0 30px; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: max(640px, 100svh);
  display: grid; place-items: center;
  padding: 120px var(--gutter) 120px;
  overflow: hidden;
  isolation: isolate;
  touch-action: pan-y;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(42% 50% at 12% 18%, color-mix(in srgb, var(--lav) 30%, transparent), transparent 70%),
    radial-gradient(38% 46% at 88% 22%, color-mix(in srgb, var(--pink) 22%, transparent), transparent 70%),
    radial-gradient(40% 46% at 78% 92%, color-mix(in srgb, var(--cyan) 22%, transparent), transparent 70%),
    radial-gradient(36% 40% at 18% 90%, color-mix(in srgb, var(--gold) 20%, transparent), transparent 70%),
    var(--bg);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(color-mix(in srgb, var(--lav-d) 22%, transparent) 1.2px, transparent 1.6px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 45%, #000 30%, transparent 80%);
  mask-image: radial-gradient(70% 60% at 50% 45%, #000 30%, transparent 80%);
  opacity: .55;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero__content {
  position: relative; text-align: center; max-width: 920px;
  display: flex; flex-direction: column; align-items: center;
  pointer-events: none;
}
.hero__content a, .hero__content button { pointer-events: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: 14px; font-weight: 700; color: var(--ink-2);
  animation: pop-in .8s var(--bounce) both .1s;
}
.eyebrow__dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--cyan) 25%, transparent);
  animation: pulse 2.2s ease-in-out infinite;
}

.wordmark {
  margin: 18px 0 6px;
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(64px, 15.5vw, 212px);
  line-height: .95; letter-spacing: -.035em;
  display: flex; justify-content: center;
  user-select: none;
  pointer-events: auto;
}
.wm {
  --c: var(--lav);
  display: inline-block; color: var(--c);
  text-shadow:
    0 .035em 0 var(--surface), .03em .02em 0 var(--surface), -.03em .02em 0 var(--surface),
    .03em -.02em 0 var(--surface), -.03em -.02em 0 var(--surface), 0 -.035em 0 var(--surface),
    0 .09em 0 color-mix(in srgb, var(--ink) 16%, transparent);
  transform-origin: 50% 100%;
  animation: drop-in 1s var(--bounce) both;
  cursor: default;
}
.wm--1 { --c: var(--lav-d); animation-delay: .15s; }
.wm--2 { --c: var(--pink); animation-delay: .22s; }
.wm--3 { --c: var(--cyan); animation-delay: .29s; }
.wm--4 { --c: var(--gold); animation-delay: .36s; }
.wm--5 { --c: var(--lav); animation-delay: .43s; }
.wm--6 { --c: var(--pink); animation-delay: .50s; }
.wm--7 { --c: var(--cyan); animation-delay: .57s; }
.wm--8 { --c: var(--gold); animation-delay: .64s; }
.wm.boing { animation: boing .75s var(--soft); }

.tagline {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(24px, 3.6vw, 44px); letter-spacing: -.01em;
  animation: pop-in .9s var(--bounce) both .75s;
}
.tagline__mark { position: relative; white-space: nowrap; z-index: 0; }
.tagline__mark::after {
  content: ""; position: absolute; left: -4px; right: -6px; bottom: .08em; height: .38em; z-index: -1;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--cyan));
  opacity: .55;
  transform-origin: left; animation: swipe .8s var(--soft) both 1.2s;
}
.hero__sub {
  text-wrap: balance;
  margin-top: 14px; max-width: 34em;
  font-size: clamp(16px, 1.7vw, 19px); color: var(--ink-2); font-weight: 500;
  padding: 0 12px;
  animation: pop-in .9s var(--bounce) both .9s;
}
.hero__cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; animation: pop-in .9s var(--bounce) both 1.05s; }

.hero__hint {
  position: absolute; bottom: 92px; left: 0; right: 0; margin: 0 auto; width: max-content;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 700; color: var(--ink-2);
  padding: 8px 16px; border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 80%, transparent); border: 1px dashed var(--line);
  white-space: nowrap; pointer-events: none;
  animation: pop-in .8s var(--bounce) both 1.6s;
}
.hint__icon {
  width: 16px; height: 22px; border: 2px solid currentColor; border-radius: 9px; position: relative; flex: none;
}
.hint__icon::after {
  content: ""; position: absolute; left: 50%; top: 4px; width: 2.5px; height: 5px; margin-left: -1.25px;
  background: currentColor; border-radius: 2px; animation: wheel 1.6s ease-in-out infinite;
}
.hint--touch { display: none; }
@media (hover: none) and (pointer: coarse) {
  .hint--fine { display: none; }
  .hint--touch { display: inline; }
  .hint__icon { border-radius: 50%; width: 18px; height: 18px; }
  .hint__icon::after { top: 50%; height: 2.5px; width: 2.5px; margin-top: -1.25px; border-radius: 50%; }
}

/* ---------- MARQUEE ---------- */
.marquee {
  position: relative; z-index: 2;
  margin-top: -64px;
  transform: rotate(-2deg);
  background: var(--ink); color: var(--bg);
  overflow: hidden; padding: 14px 0;
  box-shadow: 0 10px 0 var(--lav);
}
.marquee__track {
  display: flex; align-items: center; gap: 28px; width: max-content;
  animation: marquee 34s linear infinite;
  font-family: var(--f-display); font-weight: 600; font-size: clamp(18px, 2.4vw, 26px);
  text-transform: uppercase; letter-spacing: .06em; white-space: nowrap;
}
.marquee__track i { width: 14px; height: 14px; border-radius: 50%; background: var(--pink); flex: none; }
.marquee__track i:nth-of-type(4n+2) { background: var(--cyan); }
.marquee__track i:nth-of-type(4n+3) { background: var(--gold); }
.marquee__track i:nth-of-type(4n) { background: var(--lav); }

/* ---------- SECTIONS ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 140px) var(--gutter) 0; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.sec-head { text-align: center; display: flex; flex-direction: column; align-items: center; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head--left { text-align: left; align-items: flex-start; margin-bottom: 18px; }
.sec-num {
  display: inline-grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  font-family: var(--f-display); font-weight: 700; font-size: 16px;
  background: var(--gold); color: var(--on-accent);
  box-shadow: inset -4px -5px 0 rgba(0, 0, 0, .12), inset 4px 4px 0 rgba(255, 255, 255, .45);
  margin-bottom: 14px;
  transform: rotate(-8deg);
}
.sec-head h2, .contact h2 {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(44px, 7vw, 84px); letter-spacing: -.03em;
}
.lead { text-wrap: balance; margin-top: 14px; max-width: 36em; color: var(--ink-2); font-size: clamp(16px, 1.6vw, 18px); }

/* ---------- GAMES ---------- */
.games__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.game {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 2px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform .6s var(--bounce), box-shadow .6s var(--soft);
}
.game::before {
  content: ""; height: 12px; flex: none;
}
.game--bier::before {
  background:
    linear-gradient(135deg, #5AA9E6 25%, transparent 25%) -12px 0 / 24px 24px,
    linear-gradient(225deg, #5AA9E6 25%, transparent 25%) -12px 0 / 24px 24px,
    linear-gradient(315deg, #5AA9E6 25%, transparent 25%) 0 0 / 24px 24px,
    linear-gradient(45deg, #5AA9E6 25%, #FFFFFF 25%) 0 0 / 24px 24px;
}
.game--kimi::before { background: linear-gradient(90deg, var(--pink), var(--lav), var(--cyan)); }
.game:hover { transform: translateY(-8px) rotate(-.6deg); }
.game--kimi:hover { transform: translateY(-8px) rotate(.6deg); }
.game__media { position: relative; aspect-ratio: 1232 / 706; overflow: hidden; background: var(--bg-2); }
.game__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--soft); }
.game:hover .game__media img { transform: scale(1.045); }
.sticker {
  position: absolute; top: 16px; right: 16px;
  font-family: var(--f-display); font-weight: 700; font-size: 15px; letter-spacing: .02em;
  padding: 8px 16px; border-radius: 999px; color: var(--on-accent);
  border: 2px solid var(--on-accent); box-shadow: 0 4px 0 var(--on-accent);
  transform: rotate(6deg);
  animation: wobble 3.6s ease-in-out infinite;
}
.sticker--gold { background: var(--gold); }
.sticker--pink { background: #FFB3D6; animation-delay: -1.8s; }
.game__body { padding: clamp(20px, 2.6vw, 30px); display: flex; flex-direction: column; gap: 12px; flex: 1; }
.game__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px;
  background: var(--bg-2); color: var(--ink-2); border: 1px solid var(--line);
}
.game__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(32px, 3.6vw, 44px); letter-spacing: -.02em; }
.game--bier .game__title { color: #B86A00; }
.game--kimi .game__title { color: var(--pink-d); }
@media (prefers-color-scheme: dark) { .game--bier .game__title { color: #FFC562; } }
.game__pitch { font-weight: 700; font-size: 18px; line-height: 1.5; }
.game__desc { color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chips li {
  font-size: 14px; font-weight: 600; padding: 6px 14px; border-radius: 999px;
  transition: transform .4s var(--bounce);
}
.chips li:hover { transform: translateY(-3px) rotate(-2deg); }
.game--bier .chips li { background: var(--gold-l); color: var(--gold-d); }
.game--kimi .chips li:nth-child(odd) { background: var(--pink-l); color: var(--pink-d); }
.game--kimi .chips li:nth-child(even) { background: var(--cyan-l); color: var(--cyan-d); }
.game__foot { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; border-top: 2px dashed var(--line); }

.status {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-display); font-weight: 600; font-size: 15px;
  padding: 6px 14px; border-radius: 999px;
}
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; animation: pulse 2s ease-in-out infinite; }
.status--soon { background: var(--lav-l); color: var(--lav-d); }
.status--test { background: var(--cyan-l); color: var(--cyan-d); }
.wish {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--f-display); font-weight: 600; font-size: 15px;
  padding: 6px 14px; border-radius: 999px; border: 2px dashed var(--line); color: var(--ink-2);
  cursor: default;
}
.wish svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linejoin: round; }

.mobile {
  margin-top: clamp(20px, 3vw, 32px);
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 18px 22px; border-radius: var(--r-md);
  background: var(--surface); border: 2px solid var(--line); box-shadow: var(--shadow-sm);
}
.mobile__icon {
  width: 46px; height: 46px; border-radius: 14px; flex: none;
  background: linear-gradient(135deg, var(--cyan), var(--lav));
  display: grid; place-items: center;
}
.mobile__icon span { width: 18px; height: 28px; border-radius: 5px; border: 2.5px solid #fff; position: relative; }
.mobile__icon span::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #fff; }
.mobile__text { flex: 1 1 220px; }
.mobile__text h3 { font-family: var(--f-display); font-weight: 600; font-size: 20px; }
.mobile__text p { color: var(--ink-2); font-size: 15px; }
.mobile__apps { display: flex; flex-wrap: wrap; gap: 8px; }
.mobile__apps li {
  font-weight: 700; font-size: 14px; padding: 6px 14px; border-radius: 12px;
  background: var(--bg-2); border: 1px solid var(--line);
}

/* ---------- CHARACTERS ---------- */
.chars__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.char { --a: var(--lav); --b: var(--lav-d); --t: var(--lav-l); position: relative; }
.char--2 { --a: var(--pink); --b: var(--cyan); --t: var(--pink-l); }
.char--3 { --a: var(--silver); --b: var(--gold); --t: var(--gold-l); }
.char__float { animation: bob 6s ease-in-out infinite; }
.char--2 .char__float { animation-delay: -2s; }
.char--3 .char__float { animation-delay: -4s; }
.char__stage {
  --rx: 0deg; --ry: 0deg;
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg);
  overflow: hidden; background: var(--t);
  border: 4px solid var(--a);
  box-shadow: 10px 12px 0 var(--b), var(--shadow);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s var(--soft), box-shadow .5s var(--bounce);
}
.char__stage.is-tilting { transition: transform .12s linear, box-shadow .5s var(--bounce); }
.char:hover .char__stage { box-shadow: 14px 18px 0 var(--b), var(--shadow); }
.char__img, .char__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.char__img { transition: transform .9s var(--soft), opacity .5s; }
.char__video { opacity: 0; transition: opacity .45s var(--soft); background: #777C85; }
.char.is-playing .char__video { opacity: 1; }
.char.is-playing .char__img { transform: scale(1.04); }
.char__play {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 16px 0 10px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--f-display); font-weight: 600; font-size: 16px;
  background: color-mix(in srgb, var(--surface) 88%, transparent); color: var(--ink);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 4px 0 color-mix(in srgb, var(--ink) 25%, transparent);
  transition: transform .4s var(--bounce);
}
.char__play:hover { transform: translateY(-2px) scale(1.04); }
.char__play-icon {
  width: 26px; height: 26px; border-radius: 50%; background: var(--ink); position: relative; flex: none;
}
.char__play-icon::before {
  content: ""; position: absolute; left: 10px; top: 7.5px;
  border-left: 9px solid var(--surface); border-top: 5.5px solid transparent; border-bottom: 5.5px solid transparent;
}
.char.is-playing .char__play-icon::before {
  left: 8.5px; top: 8px; width: 9px; height: 10px; border: 0;
  background: linear-gradient(90deg, var(--surface) 0 3px, transparent 3px 6px, var(--surface) 6px 9px);
}
.char__info { margin-top: 26px; padding-left: 4px; display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 12px; }
.char__no { grid-column: 1 / -1; font-family: var(--f-display); font-weight: 600; font-size: 14px; color: var(--ink-2); letter-spacing: .08em; }
.char__info h3 { font-family: var(--f-display); font-weight: 700; font-size: clamp(26px, 2.6vw, 32px); letter-spacing: -.01em; }
.char__info p { grid-column: 1; color: var(--ink-2); font-size: 15px; }
.swatch { grid-column: 2; grid-row: 2 / span 2; display: flex; }
.swatch li {
  width: 30px; height: 30px; border-radius: 50%; background: var(--a); border: 3px solid var(--surface);
  box-shadow: inset -3px -4px 0 rgba(0, 0, 0, .12), inset 3px 3px 0 rgba(255, 255, 255, .45);
}
.swatch li + li { margin-left: -9px; background: var(--b); }
.char--1 .swatch li + li { background: #F3A6D8; }

/* ---------- ABOUT ---------- */
.about__card {
  position: relative; overflow: hidden;
  padding: clamp(28px, 5vw, 64px);
  border-radius: 40px;
  background:
    radial-gradient(60% 80% at 100% 0%, color-mix(in srgb, var(--lav) 22%, transparent), transparent 70%),
    radial-gradient(50% 70% at 0% 100%, color-mix(in srgb, var(--cyan) 16%, transparent), transparent 70%),
    var(--surface);
  border: 2px solid var(--line); box-shadow: var(--shadow);
}
.about__line {
  text-wrap: pretty;
  max-width: 30em;
  font-size: clamp(21px, 2.7vw, 32px); font-weight: 700; line-height: 1.55; letter-spacing: -.01em;
}
.facts { margin-top: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.fact {
  padding: 18px 20px; border-radius: var(--r-md);
  display: flex; flex-direction: column; gap: 4px;
  transition: transform .5s var(--bounce);
}
.fact:hover { transform: translateY(-5px) rotate(-1.5deg); }
.fact:nth-child(even):hover { transform: translateY(-5px) rotate(1.5deg); }
.fact__k { font-size: 13px; font-weight: 700; letter-spacing: .04em; opacity: .85; }
.fact__v { font-family: var(--f-display), var(--f-body); font-weight: 600; font-size: 19px; line-height: 1.35; }
.fact--lav { background: var(--lav-l); color: var(--lav-d); }
.fact--pink { background: var(--pink-l); color: var(--pink-d); }
.fact--gold { background: var(--gold-l); color: var(--gold-d); }
.fact--cyan { background: var(--cyan-l); color: var(--cyan-d); }
.fact--lav .fact__v { font-size: 34px; line-height: 1; }
.about__faces { position: absolute; top: clamp(24px, 4vw, 52px); right: clamp(24px, 4vw, 56px); display: flex; }
.about__faces img {
  width: 72px; height: 72px; border-radius: 50%; object-fit: cover;
  border: 4px solid var(--surface); box-shadow: var(--shadow-sm);
  animation: bob 5s ease-in-out infinite;
}
.about__faces img + img { margin-left: -16px; }
.about__faces img:nth-child(1) { outline: 3px solid var(--lav); animation-delay: -1s; }
.about__faces img:nth-child(2) { outline: 3px solid var(--pink); animation-delay: -2.5s; }
.about__faces img:nth-child(3) { outline: 3px solid var(--gold); animation-delay: -4s; }

/* ---------- FOLLOW ---------- */
.socials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.social {
  --c: var(--lav); --cl: var(--lav-l);
  display: flex; align-items: center; gap: 16px;
  padding: 20px 22px; border-radius: var(--r-md);
  background: var(--surface); border: 2px solid var(--line);
  text-decoration: none; box-shadow: 0 6px 0 var(--line);
  transition: transform .45s var(--bounce), box-shadow .45s var(--bounce), border-color .3s;
}
.social--yt { --c: var(--pink); --cl: var(--pink-l); }
.social--as { --c: var(--cyan); --cl: var(--cyan-l); }
.social:hover { transform: translateY(-5px); border-color: var(--c); box-shadow: 0 11px 0 var(--c); }
.social:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--c); }
.social__icon {
  width: 52px; height: 52px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: var(--cl);
  transition: transform .6s var(--bounce);
}
.social:hover .social__icon { transform: rotate(-14deg) scale(1.08); }
.social__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.social__icon svg .fill { fill: var(--ink); stroke: none; }
.social__text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.social__name { font-family: var(--f-display); font-weight: 700; font-size: 21px; line-height: 1.2; }
.social__handle { font-size: 14px; color: var(--ink-2); font-weight: 500; overflow: hidden; text-overflow: ellipsis; }
.social__arrow svg { width: 22px; height: 22px; fill: none; stroke: var(--ink-2); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--bounce); }
.social:hover .social__arrow svg { transform: translate(3px, -3px); stroke: var(--ink); }
.follow__brand { margin-top: 26px; text-align: center; font-family: var(--f-display); font-weight: 500; font-size: 18px; color: var(--ink-2); }

/* ---------- CONTACT ---------- */
.contact { padding-bottom: clamp(80px, 10vw, 130px); }
.contact__card {
  position: relative; overflow: hidden; isolation: isolate;
  text-align: center; padding: clamp(44px, 7vw, 88px) clamp(20px, 5vw, 64px);
  border-radius: 44px;
  background: linear-gradient(120deg, var(--lav-l), var(--pink-l) 50%, var(--cyan-l));
  border: 2px solid var(--line);
  display: flex; flex-direction: column; align-items: center;
}
.contact__ball { position: absolute; z-index: -1; border-radius: 50%; animation: bob 7s ease-in-out infinite; box-shadow: inset -10px -14px 0 rgba(0, 0, 0, .08), inset 10px 10px 0 rgba(255, 255, 255, .35); }
.contact__ball--1 { width: 140px; height: 140px; left: -36px; top: -30px; background: var(--lav); opacity: .55; }
.contact__ball--2 { width: 90px; height: 90px; right: 8%; top: 18%; background: var(--gold); opacity: .55; animation-delay: -2s; }
.contact__ball--3 { width: 180px; height: 180px; right: -50px; bottom: -70px; background: var(--cyan); opacity: .45; animation-delay: -4s; }
.contact__lead { margin-top: 12px; font-size: clamp(17px, 2vw, 21px); font-weight: 500; color: var(--ink-2); max-width: 28em; }
.contact__actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.copy { position: relative; }
.copy__done { display: none; }
.copy.is-done .copy__label { display: none; }
.copy.is-done .copy__done { display: inline; }
.copy.is-done { box-shadow: 0 6px 0 var(--cyan); }

/* ---------- FOOTER ---------- */
.footer { border-top: 2px solid var(--line); background: var(--bg-2); padding: 44px var(--gutter) calc(44px + env(safe-area-inset-bottom)); }
.footer__inner { max-width: var(--max); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; }
.footer__tag { margin-top: 8px; font-family: var(--f-display); font-weight: 500; color: var(--ink-2); }
.footer__legal { max-width: 640px; font-size: 13.5px; color: var(--ink-2); display: flex; flex-direction: column; gap: 6px; line-height: 1.6; }
.footer__copy { font-weight: 700; color: var(--ink); font-size: 14.5px; }
.footer__ue { font-size: 12.5px; opacity: .9; }

/* ---------- REVEAL ---------- */
.js .reveal { opacity: 0; transform: translateY(36px) scale(.97); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity .7s var(--soft), transform .9s var(--bounce); }
.js .games__grid .reveal:nth-child(2).in, .js .socials li:nth-child(2).in { transition-delay: .1s; }
.js .chars__row .reveal:nth-child(2).in, .js .socials li:nth-child(3).in { transition-delay: .2s; }
.js .chars__row .reveal:nth-child(3).in { transition-delay: .3s; }

/* ---------- KEYFRAMES ---------- */
@keyframes drop-in {
  0% { opacity: 0; transform: translateY(-120%) scale(.6, 1.4); }
  55% { opacity: 1; transform: translateY(6%) scale(1.15, .82); }
  75% { transform: translateY(-4%) scale(.95, 1.06); }
  100% { opacity: 1; transform: none; }
}
@keyframes boing {
  0% { transform: none; }
  20% { transform: translateY(4%) scale(1.18, .8); }
  45% { transform: translateY(-26%) scale(.9, 1.12) rotate(-6deg); }
  70% { transform: translateY(2%) scale(1.08, .92); }
  85% { transform: translateY(-3%) scale(.98, 1.03); }
  100% { transform: none; }
}
@keyframes pop-in { 0% { opacity: 0; transform: scale(.7) translateY(16px); } 100% { opacity: 1; transform: none; } }
@keyframes swipe { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.35); } }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(6px); opacity: 0; } 100% { opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes wobble { 0%, 100% { transform: rotate(6deg) scale(1); } 50% { transform: rotate(-3deg) scale(1.06); } }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1000px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .socials { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}
@media (max-width: 860px) {
  .games__grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
  .chars__row {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(78vw, 360px);
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin: 0 calc(-1 * var(--gutter)); padding: 8px var(--gutter) 28px;
    scrollbar-width: none;
  }
  .chars__row::-webkit-scrollbar { display: none; }
  .char { scroll-snap-align: center; }
  .about__faces { position: static; margin-bottom: 18px; order: -1; }
  .about__card { display: flex; flex-direction: column; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav__links {
    position: absolute; top: calc(100% + 8px); left: var(--gutter); right: var(--gutter);
    flex-direction: column; gap: 2px; padding: 10px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow);
    opacity: 0; transform: translateY(-8px) scale(.98); visibility: hidden;
    transition: opacity .25s, transform .4s var(--bounce), visibility 0s .4s;
  }
  .nav__links a { padding: 12px 16px; font-size: 17px; }
  .nav.is-open .nav__links { opacity: 1; transform: none; visibility: visible; transition: opacity .25s, transform .4s var(--bounce); }
  .nav__right { margin-left: auto; }
  .nav__menu { display: block; }
  .nav__inner { position: relative; padding-left: 14px; }
  .hero { padding-top: 104px; padding-bottom: 130px; }
  .hero__hint { bottom: 86px; }
  .btn { min-height: 50px; font-size: 17px; padding: 0 22px; }
  .marquee { margin-top: -56px; }
  .mobile { padding: 18px; }
  .game__foot { justify-content: flex-start; }
}
@media (max-width: 420px) {
  .brand__name { font-size: 20px; }
  .hero__cta { flex-direction: column; align-items: stretch; width: 100%; max-width: 300px; }
  .facts { grid-template-columns: 1fr; }
  .char__info h3 { font-size: 26px; }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  .marquee__track { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
  .char__stage { transform: none; }
}
