/* WaiWai — official site. Dark, neon violet, mobile first. */
:root {
  --bg: #07040f;
  --bg-2: #0e0820;
  --card: rgba(255, 255, 255, 0.045);
  --card-strong: rgba(255, 255, 255, 0.07);
  --stroke: rgba(196, 160, 255, 0.16);
  --stroke-strong: rgba(196, 160, 255, 0.32);
  --ink: #f5f0ff;
  --ink-2: #c9bde6;
  --ink-3: #9686bb;
  --violet: #8b5cf6;
  --violet-2: #a855f7;
  --pink: #ec4899;
  --cyan: #38d9f5;
  --gold: #fbbf24;
  --ok: #34d399;
  --warn: #fbbf24;
  --err: #fb7185;
  --grad: linear-gradient(120deg, #38d9f5 0%, #8b5cf6 38%, #d946ef 70%, #fbbf24 100%);
  --grad-btn: linear-gradient(120deg, #7c3aed 0%, #a855f7 50%, #db2777 100%);
  --radius: 22px;
  --radius-lg: 30px;
  --max: 1160px;
  --font: "Inter", "Noto Sans JP", system-ui, -apple-system, "Hiragino Sans", "Yu Gothic", sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }

/* Language: both texts live in the page; the inactive one is hidden. */
html[lang="ja"] [data-lang="en"],
html[lang="en"] [data-lang="ja"] { display: none !important; }

/* Ambient background */
.aurora {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(60vmax 50vmax at 10% -10%, rgba(124, 58, 237, 0.35), transparent 60%),
    radial-gradient(50vmax 45vmax at 100% 30%, rgba(219, 39, 119, 0.20), transparent 60%),
    radial-gradient(45vmax 40vmax at 30% 110%, rgba(56, 217, 245, 0.12), transparent 60%),
    var(--bg);
}
.aurora::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.35), transparent 70%);
  opacity: 0.25;
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: rgba(7, 4, 15, 0.72);
  border-bottom: 1px solid rgba(196, 160, 255, 0.08);
}
.nav { display: flex; align-items: center; gap: 14px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: 0.01em; }
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 0 18px rgba(168, 85, 247, 0.45); }
.brand small { display: block; font-size: 11px; font-weight: 600; color: var(--ink-3); line-height: 1; margin-top: 2px; }
.brand .brand-name { line-height: 1.1; }
.nav-links { display: none; gap: 22px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--ink-2); font-size: 14px; font-weight: 600; }
.nav-links a:hover { color: var(--ink); }
@media (min-width: 900px) { .nav-links { display: flex; } }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
@media (min-width: 900px) { .nav-right { margin-left: 18px; } }

.lang-switch {
  display: inline-flex; padding: 3px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--stroke);
}
.lang-switch button {
  border: 0; background: transparent; color: var(--ink-3); cursor: pointer;
  font-size: 12px; font-weight: 700; padding: 6px 11px; border-radius: 999px;
}
html[lang="ja"] .lang-switch [data-set-lang="ja"],
html[lang="en"] .lang-switch [data-set-lang="en"] { background: var(--grad-btn); color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--grad-btn); color: #fff; box-shadow: 0 10px 30px -8px rgba(168, 85, 247, 0.7); }
.btn-primary:hover { box-shadow: 0 14px 40px -6px rgba(168, 85, 247, 0.9); }
.btn-ghost { background: var(--card); color: var(--ink); border-color: var(--stroke); }
.btn-ghost:hover { border-color: var(--stroke-strong); background: var(--card-strong); }
.btn-store {
  background: #fff; color: #0b0614; min-height: 54px; padding: 0 20px; border-radius: 16px;
  box-shadow: 0 10px 34px -10px rgba(255,255,255,0.35);
}
.btn-store svg { width: 24px; height: 24px; }
.btn-store .store-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.btn-store .store-text small { font-size: 10px; font-weight: 600; opacity: .7; }
.btn-store .store-text span { font-size: 17px; font-weight: 800; }
.btn-store[aria-disabled="true"] { cursor: default; }
.soon-tag {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .04em;
  padding: 3px 9px; border-radius: 999px; background: rgba(251, 191, 36, 0.14); color: var(--gold);
  border: 1px solid rgba(251, 191, 36, 0.3);
}

/* Hero */
.hero { position: relative; padding: 48px 0 40px; }
@media (min-width: 960px) { .hero { padding: 80px 0 70px; } }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 700;
  background: rgba(139, 92, 246, 0.12); border: 1px solid var(--stroke); color: var(--ink-2);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.hero-brand { display: flex; align-items: center; gap: 14px; margin: 22px 0 6px; }
.hero-brand img { width: 120px; height: auto; filter: drop-shadow(0 0 24px rgba(217, 70, 239, .45)); }
/* The brand is always written «waiwai»: lowercase, rounded, soft. */
.wordmark {
  font-family: "Nunito", "Arial Rounded MT Bold", var(--font);
  font-weight: 900; letter-spacing: -0.01em; text-transform: lowercase;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 14px rgba(168, 85, 247, .45));
}
.hero-brand .wordmark { font-size: 54px; line-height: 1; }
.brand .wordmark { font-size: 22px; filter: none; }
h1.headline {
  font-size: clamp(32px, 7.4vw, 60px); line-height: 1.12; margin: 14px 0 16px; font-weight: 900; letter-spacing: -0.01em;
}
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(16px, 2.2vw, 19px); color: var(--ink-2); max-width: 560px; margin: 0 0 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-modes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.mode-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 700; background: var(--card); border: 1px solid var(--stroke); text-decoration: none;
}
.mode-chip i { width: 10px; height: 10px; border-radius: 50%; }

/* Phones */
.phones { position: relative; height: 560px; display: flex; justify-content: center; overflow-x: clip; overflow-y: visible; }
@media (max-width: 520px) { .phones { height: 470px; } }
.phone {
  position: absolute; width: 236px; height: 486px; border-radius: 40px; padding: 10px;
  background: linear-gradient(160deg, #2a1d48, #0e0a1a 60%);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(0,0,0,.6) inset, 0 0 60px -20px rgba(168,85,247,.6);
}
@media (max-width: 520px) { .phone { width: 196px; height: 404px; border-radius: 34px; } }
.phone .screen { position: relative; width: 100%; height: 100%; border-radius: 31px; overflow: hidden; background: #0b0716; }
@media (max-width: 520px) { .phone .screen { border-radius: 26px; } }
.phone .notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 76px; height: 22px; border-radius: 20px; background: #000; z-index: 3; }
.phone.center { z-index: 3; top: 0; animation: float 7s ease-in-out infinite; }
.phone.left { z-index: 2; top: 54px; transform: translateX(-62%) rotate(-8deg) scale(.9); opacity: .92; }
.phone.right { z-index: 2; top: 54px; transform: translateX(62%) rotate(8deg) scale(.9); opacity: .92; }
@media (max-width: 520px) {
  .phone.left { transform: translateX(-52%) rotate(-8deg) scale(.82); }
  .phone.right { transform: translateX(52%) rotate(8deg) scale(.82); }
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Mock screens (drawn in CSS) */
.scr-map {
  position: absolute; inset: 0;
  background:
    linear-gradient(transparent 0 48%, rgba(56,217,245,.18) 48% 50%, transparent 50%) 0 0/100% 64px,
    linear-gradient(90deg, transparent 0 48%, rgba(139,92,246,.18) 48% 50%, transparent 50%) 0 0/72px 100%,
    radial-gradient(120px 90px at 30% 30%, rgba(52,211,153,.18), transparent 70%),
    radial-gradient(160px 120px at 70% 70%, rgba(124,58,237,.35), transparent 70%),
    #0b0a1a;
}
.pin { position: absolute; width: 30px; height: 30px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 0 16px currentColor; }
.pin::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: #fff; }
.pulse { position: absolute; width: 16px; height: 16px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(56,217,245,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(56,217,245,.6); } 100% { box-shadow: 0 0 0 26px rgba(56,217,245,0); } }
.scr-card {
  position: absolute; left: 10px; right: 10px; bottom: 12px; padding: 12px; border-radius: 18px;
  background: rgba(20, 12, 38, .9); border: 1px solid var(--stroke); font-size: 11px;
}
.scr-card b { display: block; font-size: 13px; }
.scr-card .row { display: flex; gap: 6px; margin-top: 8px; }
.scr-card .tag { padding: 3px 8px; border-radius: 999px; background: rgba(139,92,246,.25); font-weight: 700; font-size: 10px; }

.scr-game { position: absolute; inset: 0; background: radial-gradient(circle at 50% 30%, #2a1450, #090512 70%); }
.hex-grid { position: absolute; inset: 40px 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 14px; }
.hex { aspect-ratio: 1; clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%); background: rgba(255,255,255,.06); }
.hex.a { background: rgba(139,92,246,.7); box-shadow: 0 0 20px #8b5cf6; }
.hex.b { background: rgba(236,72,153,.6); }
.hex.c { background: rgba(56,217,245,.55); }
.xp { position: absolute; left: 14px; right: 14px; top: 250px; }
@media (max-width: 520px) { .xp { top: 205px; } }
.xp .bar { height: 10px; border-radius: 10px; background: rgba(255,255,255,.08); overflow: hidden; }
.xp .bar i { display: block; height: 100%; width: 68%; background: var(--grad); animation: xp 4s ease-in-out infinite alternate; }
@keyframes xp { from { width: 42%; } to { width: 86%; } }
.xp small { font-size: 10px; color: var(--ink-3); font-weight: 700; }
.quest { margin-top: 12px; padding: 10px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid var(--stroke); font-size: 11px; display: flex; gap: 8px; align-items: center; }
.quest .ic { width: 28px; height: 28px; border-radius: 9px; background: var(--grad-btn); flex: none; }

.scr-social { position: absolute; inset: 0; background: #0b0716; padding: 40px 10px 10px; display: flex; flex-direction: column; gap: 10px; }
.post { border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid var(--stroke); padding: 8px; }
.post .who { display: flex; gap: 6px; align-items: center; font-size: 10px; font-weight: 700; }
.post .who i { width: 20px; height: 20px; border-radius: 50%; background: var(--grad-btn); }
.post .media { margin-top: 6px; height: 108px; border-radius: 12px; background: linear-gradient(135deg, #7c3aed, #db2777 60%, #fbbf24); position: relative; overflow: hidden; }
.post .media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60px 40px at 30% 40%, rgba(255,255,255,.4), transparent 70%); }
.circles { display: flex; gap: 8px; }
.circles span { width: 52px; height: 52px; border-radius: 50%; padding: 2px; background: var(--grad); }
.circles span::before { content: ""; display: block; width: 100%; height: 100%; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #c084fc, #3b0764); }

.mascot-float {
  position: absolute; z-index: 4; width: 128px; bottom: -6px; right: 4%;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.6)) drop-shadow(0 0 20px rgba(168,85,247,.35));
  animation: bob 5s ease-in-out infinite;
}
@media (max-width: 520px) { .mascot-float { width: 96px; right: 0; } }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(2deg); } }

/* Sections */
section { padding: 64px 0; }
@media (min-width: 960px) { section { padding: 96px 0; } }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.kicker { font-size: 13px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--violet-2); }
h2 { font-size: clamp(26px, 5vw, 42px); line-height: 1.2; margin: 10px 0 12px; font-weight: 900; }
.section-head p { color: var(--ink-2); margin: 0; }

.card {
  position: relative; border-radius: var(--radius); padding: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
  border: 1px solid var(--stroke);
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(168,85,247,.55), transparent 40%, transparent 60%, rgba(236,72,153,.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: .7;
}

.modes { display: grid; gap: 18px; }
@media (min-width: 860px) { .modes { grid-template-columns: repeat(3, 1fr); } }
.mode-card { padding: 28px; transition: transform .3s ease, box-shadow .3s ease; }
.mode-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(168,85,247,.7); }
.mode-icon {
  width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 18px;
  box-shadow: 0 0 30px -4px currentColor;
}
.mode-icon svg { width: 28px; height: 28px; color: #fff; }
.mode-card .label { font-size: 12px; font-weight: 800; letter-spacing: .2em; }
.mode-card h3 { font-size: 22px; margin: 6px 0 10px; }
.mode-card p { color: var(--ink-2); margin: 0; }
.mode-card ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.mode-card li { display: flex; gap: 10px; font-size: 14px; color: var(--ink-2); }
.mode-card li::before { content: "✦"; color: var(--violet-2); }

.about-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: .9fr 1.1fr; } }
.about-visual { display: flex; justify-content: center; position: relative; }
.about-visual .halo { position: absolute; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(168,85,247,.45), transparent 65%); filter: blur(10px); top: 50%; left: 50%; transform: translate(-50%, -50%); }
.about-visual img { position: relative; width: 200px; animation: bob 6s ease-in-out infinite; }
.about-text p { color: var(--ink-2); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.stat { text-align: center; padding: 16px 8px; }
.stat b { display: block; font-size: 22px; font-weight: 900; }
.stat span { font-size: 12px; color: var(--ink-3); font-weight: 600; }

.features { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .features { grid-template-columns: repeat(4, 1fr); } }
.feature { padding: 22px; }
.feature .fi { font-size: 26px; }
.feature h4 { margin: 10px 0 6px; font-size: 17px; }
.feature p { margin: 0; font-size: 14px; color: var(--ink-2); }

.shots { display: flex; gap: 16px; overflow-x: auto; padding: 8px 4px 24px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.shots::-webkit-scrollbar { height: 6px; }
.shots::-webkit-scrollbar-thumb { background: rgba(168,85,247,.4); border-radius: 6px; }
.shot { flex: none; width: 220px; scroll-snap-align: center; text-align: center; }
.shot .phone { position: relative; width: 220px; height: 452px; transform: none !important; opacity: 1 !important; animation: none; }
.shot figcaption { margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
@media (min-width: 980px) { .shots { justify-content: center; overflow: visible; } }

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: 18px; background: var(--card); border: 1px solid var(--stroke); padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--violet-2); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--ink-2); }

.contact { text-align: center; padding: 40px 24px; }
.contact .mail { font-size: clamp(18px, 4vw, 26px); font-weight: 800; text-decoration: none; }

.cta-band { text-align: center; padding: 48px 24px; }
.cta-band img { width: 110px; margin: 0 auto 10px; }

/* Footer */
.site-footer { border-top: 1px solid rgba(196,160,255,.08); padding: 40px 0 56px; margin-top: 40px; color: var(--ink-3); font-size: 14px; }
.footer-grid { display: grid; gap: 24px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h5 { color: var(--ink); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; color: var(--ink-2); }
.site-footer a:hover { color: var(--ink); }
.copyright { margin-top: 28px; font-size: 12px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Document pages (legal) */
.doc { max-width: 820px; margin: 0 auto; padding: 48px 0 24px; }
.doc h1 { font-size: clamp(28px, 6vw, 44px); line-height: 1.2; margin: 0 0 8px; font-weight: 900; }
.doc .meta { color: var(--ink-3); font-size: 14px; margin-bottom: 26px; }
.doc h2 { font-size: 22px; margin: 34px 0 10px; }
.doc h3 { font-size: 17px; margin: 22px 0 8px; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul, .doc ol { padding-left: 22px; }
.review-note {
  border-radius: 16px; padding: 14px 16px; margin: 0 0 24px;
  background: rgba(251,191,36,.08); border: 1px solid rgba(251,191,36,.35); color: #fde68a; font-size: 14px;
}
.review { background: rgba(251,191,36,.16); color: #fde68a; padding: 0 4px; border-radius: 4px; }

/* Auth status pages */
.status-page { min-height: calc(100vh - 64px); display: grid; place-items: center; padding: 32px 0 60px; }
.status-card { width: 100%; max-width: 520px; text-align: center; padding: 36px 24px 30px; }
@media (min-width: 560px) { .status-card { padding: 44px 40px 36px; } }
.status-card h1 { font-size: clamp(22px, 5.4vw, 30px); line-height: 1.3; margin: 18px 0 6px; font-weight: 900; }
.status-card .sub { color: var(--ink-2); margin: 0 0 6px; font-weight: 600; }
.status-card .note { color: var(--ink-3); font-size: 14px; margin: 12px 0 0; }
.status-actions { display: grid; gap: 10px; margin-top: 26px; }
.status-visual { position: relative; width: 170px; height: 170px; margin: 0 auto; }
.status-visual .ring {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, #38d9f5, #8b5cf6, #d946ef, #fbbf24, #38d9f5);
  filter: blur(1px); animation: spin 6s linear infinite;
  -webkit-mask: radial-gradient(circle, transparent 62%, #000 63%); mask: radial-gradient(circle, transparent 62%, #000 63%);
}
.status-visual .glow { position: absolute; inset: 10px; border-radius: 50%; background: radial-gradient(circle, rgba(168,85,247,.55), transparent 70%); animation: breathe 2.6s ease-in-out infinite; }
.status-visual img { position: absolute; inset: 18px; width: calc(100% - 36px); height: calc(100% - 36px); object-fit: contain; border-radius: 50%; }
.status-visual .badge {
  position: absolute; right: 6px; bottom: 6px; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; font-size: 22px; color: #fff; font-weight: 900;
  background: linear-gradient(135deg, #10b981, #34d399); box-shadow: 0 0 24px rgba(52,211,153,.8);
  transform: scale(0); animation: pop .5s .4s cubic-bezier(.2,1.6,.4,1) forwards;
}
.status-visual.error .ring { background: conic-gradient(from 0deg, #fb7185, #a855f7, #fb7185); }
.status-visual.error .badge { background: linear-gradient(135deg, #e11d48, #fb7185); box-shadow: 0 0 24px rgba(251,113,133,.8); }
.status-visual.loading .badge { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 0%,100% { opacity: .6; transform: scale(.94); } 50% { opacity: 1; transform: scale(1.04); } }
@keyframes pop { to { transform: scale(1); } }
.sparkles i { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #e9d5ff; box-shadow: 0 0 10px #c084fc; opacity: 0; animation: spark 2.4s ease-out infinite; }
@keyframes spark { 0% { opacity: 0; transform: translate(0,0) scale(.4); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1); } }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(255,255,255,.2); border-top-color: #fff; animation: spin .8s linear infinite; display: inline-block; vertical-align: middle; }

.form-row { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; text-align: left; }
.input {
  width: 100%; min-height: 48px; padding: 0 16px; border-radius: 14px; font: inherit; color: var(--ink);
  background: rgba(255,255,255,.05); border: 1px solid var(--stroke); outline: none;
}
.input:focus { border-color: var(--violet-2); box-shadow: 0 0 0 3px rgba(168,85,247,.25); }
.msg { font-size: 14px; margin-top: 8px; min-height: 1em; }
.msg.ok { color: var(--ok); }
.msg.err { color: var(--err); }
.divider { height: 1px; background: var(--stroke); margin: 26px 0 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
