/* VIBEAZ GAMES — styles */
:root {
  --bg: #080a14;
  --bg-2: #0e1222;
  --bg-3: #0b0e1b;
  --surface: #141a30;
  --surface-2: #1b2340;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #eef1ff;
  --muted: #a3abcc;
  --muted-2: #7c86ad;
  --violet: #8b5cf6;
  --cyan: #22d3ee;
  --coral: #fb7185;
  --lime: #a3e635;
  --gold: #fbbf24;
  --grad: linear-gradient(120deg, var(--violet), var(--cyan) 52%, var(--coral));
  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.7);
  --wrap: 1180px;
  --gutter: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, 'Apple SD Gothic Neo', 'Segoe UI', Roboto, 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  color-scheme: dark;
}
@media (min-width: 720px) { :root { --gutter: 28px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  word-break: keep-all;
}
img, svg { display: block; max-width: 100%; }
/* HTML width/height 속성(px 힌트)이 CSS 너비만 바뀐 뒤 높이에 남아 비율을 깨뜨리는 것을 차단 — 비율은 항상 컨테이너 aspect-ratio로 정의한다 */
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--cyan); color: #04131a; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 16px; }

.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: 999px;
  font-weight: 700; font-size: 15px; line-height: 1;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s, border-color 0.25s;
  will-change: transform;
}
.btn .ic { width: 18px; height: 18px; flex: none; }
.btn-lg { padding: 15px 24px; font-size: 16px; }
.btn-primary {
  color: #0a0c16;
  background: linear-gradient(120deg, var(--accent, var(--cyan)), var(--accent2, var(--violet)));
  box-shadow: 0 10px 30px -12px var(--accent, var(--cyan));
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px var(--accent, var(--cyan)); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { color: var(--text); border-color: var(--line-2); background: rgba(255, 255, 255, 0.03); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.07); transform: translateY(-2px); }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: rgba(8, 10, 20, 0.6); border-bottom: 1px solid var(--line); }
.top-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 0.02em; }
.brand-text { font-size: 17px; }
.brand-text b { font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-left: 2px; }
.logo { width: 34px; height: 34px; }
.logo-sm { width: 26px; height: 26px; }
.logo-xl { width: 84px; height: 84px; margin-inline: auto; margin-bottom: 20px; }
.logo-hex { stroke-dasharray: 130; stroke-dashoffset: 130; animation: draw 1.4s var(--ease) 0.1s forwards; }
.logo-play { transform-box: fill-box; transform-origin: center; animation: pop 0.8s var(--ease) 0.8s both; }
.logo-dot { transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-in-out 1.6s infinite; }
.nav { display: flex; align-items: center; gap: 22px; font-weight: 600; font-size: 15px; color: var(--muted); }
.nav a:hover { color: var(--text); }
.nav-cta { display: inline-flex; align-items: center; gap: 6px; color: var(--text); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04); transition: 0.25s; }
.nav-cta .ic { width: 16px; height: 16px; transition: transform 0.25s; }
.nav-cta:hover { border-color: var(--cyan); }
.nav-cta:hover .ic { transform: translateX(3px); }
@media (max-width: 719px) { .nav a:not(.nav-cta) { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 9vw, 120px) 0 clamp(80px, 10vw, 140px); isolation: isolate; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(600px 420px at 12% 18%, rgba(139, 92, 246, 0.32), transparent 65%),
    radial-gradient(640px 460px at 88% 30%, rgba(34, 211, 238, 0.22), transparent 65%),
    radial-gradient(520px 420px at 65% 95%, rgba(251, 113, 133, 0.22), transparent 65%),
    var(--bg);
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.glyph { transform-box: fill-box; transform-origin: center; transform: translate(var(--x), var(--y)); opacity: var(--op); animation: glyph-float var(--dur) ease-in-out var(--delay) infinite; }
.streak { transform: translate(-200px, var(--y)); opacity: 0; animation: streak var(--dur) linear var(--delay) infinite; }
.hero-inner { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 900px) { .hero-inner { grid-template-columns: 1.05fr 0.95fr; gap: 40px; } }

.hero-copy { position: relative; }
.eyebrow-live { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04); text-transform: none; letter-spacing: 0; font-size: 13px; color: var(--muted); animation: rise 0.8s var(--ease) both; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(163, 230, 53, 0.6); animation: ping 1.8s ease-out infinite; }
h1 { margin-top: 22px; font-size: clamp(36px, 6.2vw, 68px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; }
.h1-line { display: block; animation: rise 0.9s var(--ease) both; }
.h1-line:nth-child(2) { animation-delay: 0.12s; padding-bottom: 0.08em; }
.lead { margin-top: 20px; max-width: 520px; font-size: clamp(16px, 1.6vw, 18px); color: var(--muted); animation: rise 0.9s var(--ease) 0.22s both; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; animation: rise 0.9s var(--ease) 0.32s both; }
.hero-cta .btn-primary { --accent: var(--cyan); --accent2: var(--violet); color: #06121a; }
.hero-genres { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; animation: rise 0.9s var(--ease) 0.42s both; }
.hero-genre { padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); border: 1px dashed var(--line-2); transition: 0.25s; }
.hero-genre:hover { color: var(--text); border-style: solid; border-color: var(--violet); background: rgba(139, 92, 246, 0.15); }

/* stage */
.hero-stage { position: relative; height: clamp(260px, 42vw, 440px); perspective: 1200px; }
@media (min-width: 900px) { .hero-stage { height: 460px; } }
.orbits { position: absolute; inset: -6% -4%; width: 108%; height: 112%; pointer-events: none; }
.orbit { transform-box: fill-box; transform-origin: center; }
.o1 { animation: spin 26s linear infinite; }
.o2 { animation: spin 38s linear infinite reverse; }
.o3 { animation: spin 18s linear infinite; }
.stage-cards { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 0.6s var(--ease); }
.stage-card {
  position: absolute; left: 50%; top: 50%;
  width: clamp(220px, 36vw, 360px); aspect-ratio: 2 / 1;
  margin: calc(clamp(220px, 36vw, 360px) / -4) 0 0 calc(clamp(220px, 36vw, 360px) / -2);
  border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 70px -24px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(0, 0, 0, 0.4);
  transform: translate3d(var(--tx), var(--ty), var(--tz)) rotate(var(--rot));
  animation: stage-float var(--dur, 7s) ease-in-out var(--delay, 0s) infinite;
  background: var(--surface);
}
.stage-card > img { width: 100%; height: 100%; object-fit: cover; }
.stage-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(8, 10, 20, 0.85)); }
.stage-meta { position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 1; display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6); }
.stage-meta img { width: 26px; height: 26px; border-radius: 7px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); }
.sc1 { --tx: -14%; --ty: 14%; --tz: 60px; --rot: -9deg; --dur: 7.5s; z-index: 3; }
.sc2 { --tx: 12%; --ty: -26%; --tz: 0px; --rot: 6deg; --dur: 8.5s; --delay: -2s; z-index: 2; }
.sc3 { --tx: 30%; --ty: 22%; --tz: -60px; --rot: 12deg; --dur: 9.5s; --delay: -4s; z-index: 1; filter: brightness(0.85); }
.sc4 { --tx: -40%; --ty: -34%; --tz: -110px; --rot: -13deg; --dur: 10.5s; --delay: -6s; z-index: 0; filter: brightness(0.7); }
@media (max-width: 899px) {
  .hero-stage { height: clamp(230px, 54vw, 320px); margin-top: -10px; }
  .sc1 { --tx: -36%; --ty: 10%; }
  .sc2 { --tx: 0%; --ty: -22%; }
  .sc3 { --tx: 36%; --ty: 14%; }
  .sc4 { display: none; }
  .stage-card { width: clamp(190px, 46vw, 300px); margin: calc(clamp(190px, 46vw, 300px) / -4) 0 0 calc(clamp(190px, 46vw, 300px) / -2); }
}

.wave { position: absolute; left: 0; right: 0; bottom: -2px; height: 80px; overflow: hidden; pointer-events: none; }
.wave svg { width: 200%; height: 100%; }
.w1 { animation: wave 14s linear infinite; }
.w2 { animation: wave 9s linear infinite reverse; }

/* ---------- ticker ---------- */
.ticker { position: relative; background: var(--bg-2); border-block: 1px solid var(--line); padding: 18px 0; overflow: hidden; }
.ticker::before, .ticker::after { content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none; }
.ticker::before { left: 0; background: linear-gradient(90deg, var(--bg-2), transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, var(--bg-2), transparent); }
.ticker-track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
.ticker-set { display: flex; gap: 18px; padding-right: 18px; }
.ticker-item { position: relative; display: block; width: clamp(300px, 36vw, 480px); aspect-ratio: 4 / 1; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); transition: transform 0.35s var(--ease), border-color 0.35s; }
.ticker-item:hover { transform: translateY(-3px) scale(1.01); border-color: var(--accent); }
.ticker-item > img { width: 100%; height: 100%; object-fit: cover; }
.ticker-label { position: absolute; left: 10px; bottom: 8px; display: flex; align-items: center; gap: 8px; padding: 6px 10px 6px 6px; border-radius: 999px; background: rgba(8, 10, 20, 0.72); backdrop-filter: blur(6px); font-size: 12px; color: #fff; }
.ticker-label img { width: 22px; height: 22px; border-radius: 6px; }
.ticker-label b { font-weight: 700; }
.ticker-label span:last-child { color: var(--muted); display: none; }
@media (min-width: 720px) { .ticker-label span:last-child { display: inline; } }

/* ---------- sections ---------- */
.section-head { max-width: 640px; margin-bottom: 28px; }
.section-head h2 { margin-top: 8px; font-size: clamp(28px, 4vw, 42px); line-height: 1.15; letter-spacing: -0.025em; font-weight: 800; }
.section-sub { margin-top: 12px; color: var(--muted); }
.games { padding: clamp(64px, 8vw, 110px) 0 clamp(48px, 6vw, 80px); background: linear-gradient(180deg, var(--bg-3), var(--bg) 30%); }

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); font-weight: 600; font-size: 14px; background: rgba(255, 255, 255, 0.03); transition: 0.25s var(--ease); }
.chip .count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(255, 255, 255, 0.08); color: var(--text); }
.chip:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.3); transform: translateY(-1px); }
.chip.is-active { color: #0a0c16; border-color: transparent; background: var(--grad); box-shadow: 0 10px 28px -14px var(--cyan); }
.chip.is-active .count { background: rgba(0, 0, 0, 0.22); color: #0a0c16; }
.filter-status { margin-top: 14px; font-size: 13px; color: var(--muted-2); }

/* grid + cards */
.grid { display: grid; grid-template-columns: 1fr; gap: 22px; margin-top: 22px; }
@media (min-width: 680px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 26px; } }
.card { transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); }
.card.is-leaving { opacity: 0; transform: scale(0.96); pointer-events: none; }
.card[hidden] { display: none; }
.card article {
  position: relative; height: 100%; display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s var(--ease);
}
.card article::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, var(--accent), transparent 40%, transparent 60%, var(--accent2)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.45s; pointer-events: none; }
@media (hover: hover) {
  .card article:hover { transform: translateY(-6px); box-shadow: 0 30px 70px -26px color-mix(in srgb, var(--accent) 55%, #000); }
  .card article:hover::before { opacity: 1; }
  .card article:hover .card-media img { transform: scale(1.04); }
  .card article:hover .motif-shuriken { animation-duration: 1.6s; }
  .card article:hover .motif-crystal .gem { animation-duration: 1.2s; }
  .card article:hover .motif-core .orbit-ring { animation-duration: 2.5s; }
}
.card-media { position: relative; margin: 0; aspect-ratio: 2 / 1; overflow: hidden; background: var(--surface-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.card-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(14, 18, 34, 0.9)); pointer-events: none; }
.media-tag { position: absolute; left: 12px; top: 12px; z-index: 1; padding: 4px 9px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: 0.02em; color: #fff; background: rgba(8, 10, 20, 0.6); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, 0.14); }
.media-badge { position: absolute; right: 12px; top: 12px; z-index: 1; padding: 4px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: 0.02em; color: #0a0c16; background: var(--accent); box-shadow: 0 6px 16px -8px var(--accent); }
.motif { position: absolute; right: 14px; bottom: 10px; width: 48px; height: 48px; z-index: 1; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.5)); }
.motif-core .orbit-ring { transform-box: fill-box; transform-origin: center; animation: spin 9s linear infinite; }
.motif-core .inner-ring { transform-box: fill-box; transform-origin: center; animation: spin 6s linear infinite reverse; }
.motif-core .core-dot { transform-box: fill-box; transform-origin: center; animation: pulse 2.2s ease-in-out infinite; }
.motif-shuriken { transform-box: fill-box; transform-origin: center; animation: spin 7s linear infinite; }
.motif-pillars .p { transform-box: fill-box; transform-origin: bottom center; animation: pillar 2.2s ease-in-out infinite; }
.motif-pillars .p2 { animation-delay: 0.25s; }
.motif-pillars .p3 { animation-delay: 0.5s; }
.motif-pillars .star { transform-box: fill-box; transform-origin: center; animation: twinkle 2.2s ease-in-out infinite; }
.motif-crystal .gem { transform-box: fill-box; transform-origin: center; animation: gem 3s ease-in-out infinite; }
.motif-crystal .halo { transform-box: fill-box; transform-origin: center; animation: halo 3s ease-in-out infinite; }
.motif-crystal .ring { transform-box: fill-box; transform-origin: center; animation: spin 12s linear infinite; }

.card-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.card-id { display: flex; align-items: center; gap: 12px; margin-top: -40px; position: relative; z-index: 2; }
.card-id .icon { width: 56px; height: 56px; border-radius: 16px; border: 2px solid var(--bg-2); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.7); background: var(--surface); }
.card-id h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
.series { font-size: 13px; color: var(--muted-2); margin-top: 2px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tag { padding: 4px 9px; border-radius: 8px; font-size: 12px; font-weight: 600; color: var(--muted); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }
.tag-genre { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 40%, transparent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.headline { margin-top: 14px; font-size: 17px; font-weight: 700; }
.summary { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 18px; }
.more .ic-chev { transition: transform 0.35s var(--ease); }
.more[aria-expanded='true'] .ic-chev { transform: rotate(180deg); }

.details { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.details.is-open { grid-template-rows: 1fr; }
.details-inner { overflow: hidden; min-height: 0; }
.details-inner > :first-child { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line-2); }
.details h4 { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin-top: 14px; }
.details h4:first-child { margin-top: 18px; }
.details ul { margin-top: 6px; display: grid; gap: 4px; }
.details li { position: relative; padding-left: 16px; font-size: 14px; color: var(--muted); }
.details li::before { content: ''; position: absolute; left: 0; top: 0.65em; width: 7px; height: 7px; border-radius: 2px; transform: rotate(45deg); background: var(--accent2); }
.source { margin-top: 14px; font-size: 12.5px; color: var(--muted-2); }
.source a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.source .sep { margin: 0 4px; }
.empty { margin-top: 28px; padding: 28px; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--muted); }

/* ---------- about ---------- */
.about { padding: clamp(48px, 6vw, 90px) 0 clamp(64px, 8vw, 110px); }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 760px) { .about-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.about-item { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform 0.4s var(--ease), border-color 0.4s; }
.about-item:hover { transform: translateY(-4px); border-color: var(--line-2); }
.about-ic { width: 64px; height: 64px; margin-bottom: 16px; }
.about-item h3 { font-size: 18px; font-weight: 800; }
.about-item p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.a-pulse { stroke-dasharray: 80; stroke-dashoffset: 80; animation: draw 2.4s ease-in-out infinite; }
.a-sun { transform-box: fill-box; transform-origin: center; animation: pulse 3s ease-in-out infinite; }
.a-hill { stroke-dasharray: 90; stroke-dashoffset: 90; animation: draw 3s var(--ease) 0.4s infinite; }
.a-spin { transform-box: fill-box; transform-origin: center; animation: spin 14s linear infinite; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); background: var(--bg-2); padding: 40px 0 48px; }
.foot-inner { display: grid; gap: 16px; }
.foot-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 0.02em; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--muted); }
.foot-links a { display: inline-flex; align-items: center; gap: 4px; }
.foot-links a:hover { color: var(--text); }
.foot-links .ic { width: 14px; height: 14px; }
.foot-note { font-size: 13px; color: var(--muted-2); max-width: 640px; }
.foot-copy { font-size: 12.5px; color: var(--muted-2); }

/* ---------- 404 ---------- */
.page-404 { min-height: 100svh; display: grid; place-items: center; }
.err { text-align: center; padding: 60px 0; }
.err h1 { font-size: clamp(32px, 6vw, 56px); letter-spacing: -0.03em; }
.err .lead { margin-inline: auto; }
.err .btn { margin-top: 28px; --accent: var(--cyan); --accent2: var(--violet); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- keyframes ---------- */
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { transform: scale(0.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.35); opacity: 0.7; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(163, 230, 53, 0.6); } 100% { box-shadow: 0 0 0 10px rgba(163, 230, 53, 0); } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes glyph-float {
  0%, 100% { transform: translate(var(--x), var(--y)) rotate(0deg); }
  50% { transform: translate(calc(var(--x) + 18px), calc(var(--y) - 34px)) rotate(28deg); }
}
@keyframes streak {
  0% { transform: translate(-200px, var(--y)); opacity: 0; }
  10% { opacity: 1; }
  60% { opacity: 1; }
  100% { transform: translate(1700px, calc(var(--y) - 640px)); opacity: 0; }
}
@keyframes stage-float {
  0%, 100% { transform: translate3d(var(--tx), var(--ty), var(--tz)) rotate(var(--rot)); }
  50% { transform: translate3d(var(--tx), calc(var(--ty) - 14px), var(--tz)) rotate(calc(var(--rot) + 1.5deg)); }
}
@keyframes wave { to { transform: translateX(-50%); } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes pillar { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(1.18); } }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(1.3) rotate(20deg); opacity: 0.8; } }
@keyframes gem { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes halo { 0%, 100% { transform: scale(1); opacity: 0.18; } 50% { transform: scale(1.25); opacity: 0.32; } }

.site-ad { padding-top: 36px; padding-bottom: 36px; overflow: hidden; }
.site-ad[hidden] { display: none; }
.ad-label { color: var(--muted); font-size: 12px; margin: 0 0 12px; text-align: center; }
.privacy { max-width: 820px; padding-top: 48px; padding-bottom: 80px; }
.privacy h1 { font-size: clamp(28px, 6vw, 44px); margin: 32px 0 20px; }
.privacy h2 { font-size: 22px; margin-top: 36px; }
.privacy p { color: var(--muted); line-height: 1.85; margin-top: 16px; }
.privacy a { text-decoration: underline; text-underline-offset: 4px; }

/* Search landing pages and crawlable navigation */
.search-brand { font-weight: 850; font-size: 18px; letter-spacing: .04em; }
.search-brand span { color: var(--cyan); }
.genre-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 20px 0; color: var(--muted); font-size: 14px; }
.genre-links a:hover, .card-id h3 a:hover { color: var(--cyan); }
.search-link { color: var(--cyan); text-decoration: underline; text-underline-offset: 4px; font-size: 14px; }
.card-actions > .search-link { align-self: center; padding: 8px 0; }
.search-page { max-width: 1040px; padding-top: 30px; padding-bottom: 72px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 14px; margin-bottom: 32px; }
.breadcrumbs a { text-decoration: underline; text-underline-offset: 4px; }
.search-heading { margin-bottom: 28px; }
.search-heading h1 { font-size: clamp(30px, 5vw, 52px); line-height: 1.25; letter-spacing: -.035em; margin: 12px 0 16px; overflow-wrap: anywhere; }
.search-heading .tags { margin-top: 20px; }
.search-headline { color: var(--muted); font-size: clamp(18px, 2.4vw, 24px); }
.search-cover { margin: 0 0 30px; }
.search-cover img { width: 100%; height: auto; border-radius: var(--radius); }
.search-cover figcaption { color: var(--muted-2); font-size: 12px; margin-top: 8px; }
.search-copy { max-width: 780px; }
.search-summary { font-size: 18px; line-height: 1.85; color: var(--muted); max-width: 780px; }
.search-notice { color: var(--gold); margin-top: 16px; }
.search-copy section { margin-top: 36px; }
.search-copy h2, .search-related > h2 { font-size: clamp(22px, 3vw, 28px); margin-bottom: 16px; }
.search-copy ul, .search-copy ol { list-style: initial; padding-left: 24px; color: var(--muted); }
.search-copy ol { list-style: decimal; }
.search-copy li + li { margin-top: 10px; }
.search-copy .source { margin-top: 32px; line-height: 1.9; }
.search-related { margin-top: 56px; }
.search-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.search-card { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); overflow: hidden; height: 100%; }
.search-card img { width: 100%; height: auto; }
.search-card a { display: block; height: 100%; }
.search-card a > div { padding: 22px; }
.search-card h3 { font-size: 22px; margin-bottom: 12px; }
.search-card p { font-size: 15px; color: var(--muted); margin-bottom: 18px; }
.search-card a:hover h3 { color: var(--cyan); }
@media (max-width: 620px) { .search-grid { grid-template-columns: minmax(0, 1fr); } .search-brand { font-size: 15px; } }

/* Game introductions: real screenshots and an explicit service launch step. */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.game-guide { min-width: 0; }
.guide-header { display: grid; grid-template-columns: minmax(0, 1fr) 292px; gap: 36px; align-items: start; }
.guide-title { display: flex; align-items: center; gap: 16px; margin: 16px 0 20px; }
.guide-title > img { width: 58px; height: 58px; flex: none; border-radius: 16px; }
.guide-title h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.18; letter-spacing: -.04em; overflow-wrap: anywhere; }
.guide-headline { font-size: clamp(20px, 2.5vw, 25px); line-height: 1.5; font-weight: 700; margin-bottom: 16px; }
.guide-summary { color: var(--muted); line-height: 1.9; }
.guide-heading .tags { margin-top: 24px; }
.guide-reviewed { margin-top: 22px; font-size: 12px; color: var(--muted-2); }
.guide-launch { border: 1px solid var(--line-2); background: var(--surface); border-radius: var(--radius); padding: 24px; }
.guide-launch dl { margin: 18px 0 22px; }
.guide-launch dl > div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.guide-launch dt { color: var(--muted-2); font-size: 12px; margin-bottom: 5px; }
.guide-launch dd { margin: 0; font-size: 15px; font-weight: 650; }
.guide-launch .btn { width: 100%; justify-content: center; line-height: 1.4; padding-inline: 14px; }
.guide-launch-domain { text-align: center; color: var(--muted-2); font-size: 11px; margin-top: 12px; overflow-wrap: anywhere; }
.guide-badge { display: inline-block; font-size: 12px; color: var(--accent); margin-bottom: 18px; }
.guide-nav { display: flex; flex-wrap: wrap; gap: 10px; padding: 28px 0; border-bottom: 1px solid var(--line); margin-bottom: 42px; }
.guide-nav a { border: 1px solid var(--line-2); padding: 9px 16px; border-radius: 999px; font-size: 14px; color: var(--muted); }
.guide-nav a:hover { border-color: var(--accent); color: var(--text); }
.guide-section { scroll-margin-top: 90px; }
.guide-section > .eyebrow { font-size: 11px; color: var(--accent); margin-bottom: 10px; }
.guide-section h2 { font-size: clamp(23px, 3vw, 31px); letter-spacing: -.025em; line-height: 1.4; margin-bottom: 20px; }
.guide-intro { color: var(--muted); font-size: 17px; line-height: 1.95; max-width: 870px; margin-bottom: 30px; }
.guide-shot { margin: 0 0 36px; }
.guide-shot-link { display: block; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; }
.guide-shot-link > img { width: 100%; height: auto; }
.guide-zoom { display: block; text-align: right; padding: 8px 14px; font-size: 11px; color: var(--muted); }
.guide-shot-link:hover { border-color: var(--accent); }
.guide-shot figcaption { display: flex; gap: 18px; padding: 20px 2px 0; }
.guide-shot-number { font-size: 27px; color: var(--accent); font-variant-numeric: tabular-nums; line-height: 1.3; }
.guide-shot h3 { font-size: 20px; margin-bottom: 10px; }
.guide-shot figcaption p { color: var(--muted); font-size: 15px; line-height: 1.85; max-width: 820px; }
.guide-capture-label { color: var(--muted-2); font-size: 11px; display: block; margin-top: 10px; }
.guide-version-note { font-size: 12px; color: var(--muted-2); margin-bottom: 48px; }
.guide-ad { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 48px 0; padding-block: 32px; }
.guide-ad + .guide-section { margin-top: 48px; }
.guide-steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.guide-steps li { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.guide-steps li > span { display: block; color: var(--accent); font-size: 12px; letter-spacing: .08em; margin-bottom: 18px; }
.guide-steps h3 { font-size: 18px; margin-bottom: 12px; }
.guide-steps p { color: var(--muted); font-size: 14px; line-height: 1.9; }
.guide-practical { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 56px; }
.guide-controls { border-collapse: collapse; width: 100%; table-layout: fixed; font-size: 14px; }
.guide-controls th, .guide-controls td { border-bottom: 1px solid var(--line); text-align: left; padding: 14px 10px; vertical-align: top; overflow-wrap: anywhere; }
.guide-controls thead th { color: var(--muted-2); font-size: 12px; font-weight: 500; }
.guide-controls th { width: 48%; font-weight: 650; }
.guide-controls td { color: var(--muted); }
.guide-before { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 25px; }
.guide-before h2 { font-size: 23px; }
.guide-before ul { list-style: disc; padding-left: 18px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.guide-before li + li { margin-top: 14px; }
.guide-source { font-size: 12px; color: var(--muted-2); line-height: 1.9; margin-top: 24px; }
.guide-source a { color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.guide-final { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--surface); padding: 30px; margin-top: 52px; }
.guide-final h2 { font-size: clamp(22px, 3vw, 29px); margin: 10px 0; }
.guide-final p:last-child { font-size: 14px; color: var(--muted); }
.game-guide ~ .search-related { border-top: 1px solid var(--line); padding-top: 42px; }
@media (max-width: 800px) { .guide-header { grid-template-columns: minmax(0, 1fr); gap: 26px; } .guide-launch { display: grid; grid-template-columns: minmax(0, 1fr); } .guide-launch dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; } .guide-launch .btn { width: fit-content; min-width: 190px; } .guide-launch-domain { text-align: left; } .guide-steps { grid-template-columns: minmax(0, 1fr); } .guide-steps li { display: flex; gap: 18px; } .guide-steps li > span { margin-top: 4px; flex: none; } .guide-practical { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .guide-title { gap: 12px; } .guide-title > img { width: 46px; height: 46px; border-radius: 12px; } .guide-launch { padding: 20px; } .guide-launch dl { grid-template-columns: minmax(0, 1fr); gap: 0; } .guide-launch dl > div { display: flex; gap: 18px; align-items: baseline; } .guide-launch dt { width: 64px; flex: none; } .guide-launch .btn { width: 100%; } .guide-shot figcaption { gap: 12px; } .guide-shot h3 { font-size: 18px; } .guide-nav { gap: 8px; } .guide-nav a { padding: 8px 12px; font-size: 13px; } .guide-final { padding: 24px; } }

/* Channel art keeps its native aspect ratio at every viewport. */
.channels { padding-block: 36px 72px; scroll-margin-top: 85px; }
.channel-card { border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.channel-banner { display: block; }
.channel-banner img { display: block; width: 100%; height: auto; }
.channel-body { display: flex; gap: 24px; align-items: center; padding: 28px; }
.channel-avatar { width: 80px; height: auto; flex: none; border-radius: 50%; }
.channel-copy { flex: 1; min-width: 0; }
.channel-copy h3 { font-size: 26px; margin: 8px 0 12px; }
.channel-copy > p:not(.eyebrow) { color: var(--muted); line-height: 1.8; }
.channel-related { margin-top: 12px; font-size: 14px; }
.channel-related a { color: var(--cyan); }
.channel-profile { display: flex; align-items: center; gap: 24px; }
.channel-launch { margin-top: 28px; }
@media (max-width: 620px) { .channel-body { flex-wrap: wrap; gap: 18px; padding: 22px; } .channel-body .channel-avatar { width: 56px; } .channel-copy { flex-basis: calc(100% - 80px); } .channel-body > .btn { width: 100%; justify-content: center; } .channel-profile { align-items: flex-start; gap: 16px; } .channel-profile .channel-avatar { width: 56px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  .glyph { opacity: var(--op); }
  .ticker-track { animation: none; overflow-x: auto; }
  .reveal { opacity: 1; transform: none; }
}
