/* ═══════════════════════════════════════════════════════════════
   PetLink — promo landing
   ═══════════════════════════════════════════════════════════════ */

/* ── Fonts ───────────────────────────────────────────────────── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/manrope-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Tokens ──────────────────────────────────────────────────── */
:root {
  --bg: #071326;
  --bg-2: #0a1b33;
  --bg-3: #0d2342;
  --surface: #0f203a;
  --surface-2: rgba(255, 255, 255, 0.06);
  --surface-3: rgba(255, 255, 255, 0.1);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #f5f8ff;
  --text-2: #a9b8d0;
  --text-3: #71829c;

  --blue: #3b82f6;
  --blue-2: #60a5fa;
  --blue-3: #3183f9;
  --cyan: #67e8f9;
  --pink: #f9a8b8;
  --mint: #34d399;
  --amber: #fbbf24;
  --purple: #a78bfa;

  --light-bg: #f6f9ff;
  --light-surface: #ffffff;
  --light-text: #0d1b33;
  --light-text-2: #5a6b84;
  --light-text-3: #8b9ab0;
  --light-line: #e3ecf7;

  --radius: 28px;
  --radius-sm: 18px;
  --radius-xs: 12px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.5);

  --font-head: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.modal-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(59, 130, 246, 0.4); color: #fff; }
:focus-visible { outline: 2px solid #7db6ff; outline-offset: 3px; border-radius: 6px; }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link {
  position: fixed; top: -90px; left: 16px; z-index: 200;
  padding: 12px 18px; border-radius: 12px;
  background: #fff; color: #0d1b33; font-size: 13px; font-weight: 600;
  box-shadow: 0 14px 30px -16px rgba(0, 0, 0, 0.5);
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 14px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ── Typography & utilities ──────────────────────────────────── */
.container { width: min(1220px, calc(100% - 48px)); margin-inline: auto; }
.section { position: relative; padding: clamp(74px, 9vw, 140px) 0; }
.section--light {
  --text: var(--light-text);
  --text-2: var(--light-text-2);
  --text-3: var(--light-text-3);
  --line: var(--light-line);
  --surface: var(--light-surface);
  --surface-2: #f2f7fe;
  --surface-3: #eaf2ff;
  background: var(--light-bg);
  color: var(--text);
}
.section--dark { background: var(--bg); color: var(--text); }
.section-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center .lead { margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: #2f6fe0; font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 20px;
}
.eyebrow::before {
  content: ''; width: 24px; height: 1px; background: currentColor; opacity: 0.55;
}
.eyebrow--light { color: #8fc2ff; }
.section-head--center .eyebrow { justify-content: center; }

.h2 {
  font-family: var(--font-head);
  font-size: clamp(38px, 4.8vw, 68px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: var(--text);
}
.lead {
  max-width: 62ch;
  margin-top: 22px;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.65;
  color: var(--text-2);
}
.lead--dark { color: var(--text-2); }
.grad-text {
  background: linear-gradient(108deg, #ffffff 0%, #a9d0ff 38%, #6ea8ff 66%, #b49bff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section--light .grad-text {
  background: linear-gradient(108deg, #1d4ed8 0%, #0ea5e9 55%, #7c3aed 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.icon { width: 20px; height: 20px; fill: currentColor; flex: none; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  line-height: 1; white-space: nowrap; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s;
}
.btn .icon { width: 18px; height: 18px; }
.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #5aa2ff 0%, #2563eb 55%, #1d4ed8 100%);
  box-shadow: 0 14px 34px -10px rgba(37, 99, 235, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 20px 42px -12px rgba(37, 99, 235, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.btn--ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.11); transform: translateY(-2px); }
.btn--ghost-dark {
  color: var(--light-text);
  background: #fff;
  border: 1px solid var(--light-line);
  box-shadow: 0 12px 30px -20px rgba(13, 27, 51, 0.35);
}
.btn--ghost-dark:hover { transform: translateY(-2px); border-color: #bcd7ff; }
.btn--store {
  color: #0b1628;
  background: #fff;
  font-weight: 700;
  box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.btn--store:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -18px rgba(0, 0, 0, 0.8); }
.btn--sm { padding: 10px 16px; font-size: 12.5px; }
.btn--sm .icon { width: 16px; height: 16px; }
.btn--lg { padding: 17px 27px; font-size: 16px; }
.btn--lg .icon { width: 20px; height: 20px; }
.btn--wide { width: 100%; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: #8fc2ff; font-size: 14px; font-weight: 600;
  margin-top: 26px; border-bottom: 1px solid transparent;
  transition: border-color 0.25s, color 0.25s;
}
.text-link .icon { width: 16px; height: 16px; }
.text-link:hover { color: #b9d8ff; border-color: currentColor; }

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgba(120, 170, 255, 0.24);
  background: rgba(59, 130, 246, 0.08);
  color: #b9d6ff; font-size: 11.5px; font-weight: 500; letter-spacing: 0.02em;
  backdrop-filter: blur(10px);
}
.badge__dot {
  width: 6px; height: 6px; border-radius: 50%; background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.12);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 999px;
  background: #fff; border: 1px solid var(--light-line);
  color: var(--light-text-2); font-size: 11px; font-weight: 600;
  box-shadow: 0 6px 18px -12px rgba(13, 27, 51, 0.3);
}
.pill .icon { width: 14px; height: 14px; color: #2563eb; }
.pill--glass {
  background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.18);
  color: #fff; backdrop-filter: blur(12px);
}
.pill--glass .icon { color: #fff; }

/* ── Reveal ──────────────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: calc(var(--delay, 0) * 80ms);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { --delay: 1; }
.reveal[data-delay="2"] { --delay: 2; }
.reveal[data-delay="3"] { --delay: 3; }
.reveal[data-delay="4"] { --delay: 4; }
.reveal[data-delay="5"] { --delay: 5; }

/* ── Decorative glows ────────────────────────────────────────── */
.page-glow {
  position: fixed; pointer-events: none; z-index: 0;
  width: 50vw; height: 50vw; border-radius: 50%;
  filter: blur(100px); opacity: 0.12; display: none;
}
.page-glow--one { top: -20vw; left: -20vw; background: #2563eb; }
.page-glow--two { bottom: -25vw; right: -20vw; background: #7c3aed; }

/* ═══════════════════════════ HEADER ═══════════════════════════ */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 16px 0;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s, padding 0.3s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  padding: 10px 0;
  background: rgba(7, 19, 38, 0.78);
  backdrop-filter: blur(20px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.header__inner { position: relative; z-index: 101; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 44px; height: 44px; border-radius: 14px; overflow: hidden;
  background: #e8f3ff; flex: none;
  box-shadow: 0 8px 24px -8px rgba(59, 130, 246, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}
.brand__mark img { width: 100%; height: 100%; object-fit: cover; }
.brand__word {
  font-family: var(--font-head); font-size: 22px; font-weight: 800;
  letter-spacing: -0.045em; color: #fff;
}
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-size: 12.5px; color: rgba(255, 255, 255, 0.6);
  transition: color 0.25s; position: relative;
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px;
  background: #8fc2ff; transition: right 0.25s var(--ease);
}
.nav a:hover { color: #fff; }
.nav a:hover::after { right: 0; }
.header__actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line);
  color: #fff; place-items: center;
}
.menu-toggle .icon { width: 22px; height: 22px; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(7, 19, 38, 0.98);
  backdrop-filter: blur(24px);
  padding: 110px 24px 36px;
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s var(--ease);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu__nav { display: grid; gap: 4px; }
.mobile-menu__nav a {
  font-family: var(--font-head); font-size: 30px; font-weight: 700;
  letter-spacing: -0.03em; padding: 10px 0; color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.mobile-menu__nav a:hover { color: #8fc2ff; }
.mobile-menu__bottom { display: grid; gap: 16px; padding-top: 24px; }
.mobile-menu__mail { font-size: 13px; color: var(--text-3); text-align: center; }

/* ═══════════════════════════ HERO ═════════════════════════════ */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  padding: 142px 0 80px;
  background:
    radial-gradient(ellipse 60% 50% at 75% 20%, rgba(37, 99, 235, 0.22), transparent 65%),
    radial-gradient(ellipse 45% 45% at 10% 80%, rgba(124, 58, 237, 0.12), transparent 65%),
    linear-gradient(180deg, #071326 0%, #08162c 60%, #071326 100%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.hero__aurora {
  position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none;
  opacity: 0.45; will-change: transform;
}
.hero__aurora--one {
  width: 560px; height: 560px; top: -220px; right: 4%;
  background: radial-gradient(circle, #2563eb, transparent 65%);
  animation: aurora-one 16s ease-in-out infinite alternate;
}
.hero__aurora--two {
  width: 480px; height: 480px; bottom: -240px; left: -120px;
  background: radial-gradient(circle, #7c3aed, transparent 65%);
  animation: aurora-two 19s ease-in-out infinite alternate;
}
.hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(140, 190, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 190, 255, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 65% 60% at 65% 40%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 65% 60% at 65% 40%, #000 0%, transparent 75%);
}
.hero__particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero__particles i {
  position: absolute; width: 2px; height: 2px; border-radius: 50%;
  background: rgba(160, 210, 255, 0.75);
  box-shadow: 0 0 10px rgba(120, 180, 255, 0.8);
  animation: sparkle 5s ease-in-out infinite;
}
.hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center; gap: clamp(24px, 4vw, 56px);
  min-height: calc(100svh - 222px);
}
.hero__content { position: relative; z-index: 3; max-width: 660px; }
.hero__title {
  margin: 22px 0 24px;
  font-family: var(--font-head);
  font-size: clamp(48px, 6.4vw, 96px);
  font-weight: 800; line-height: 0.94; letter-spacing: -0.055em;
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(108deg, #9acbff 0%, #4f9bff 45%, #b49bff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { max-width: 560px; font-size: clamp(16px, 1.45vw, 19px); line-height: 1.65; color: var(--text-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px;
  margin-top: 20px; font-size: 11.5px; color: var(--text-3); letter-spacing: 0.02em;
}
.hero__meta i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: 0.5; }
.hero__stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  max-width: 580px; margin-top: 46px; padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero-stat strong {
  display: block; font-family: var(--font-head);
  font-size: clamp(24px, 2.5vw, 34px); font-weight: 800; letter-spacing: -0.045em; line-height: 1.1;
}
.hero-stat span {
  display: block; margin-top: 4px; font-size: 10px; color: var(--text-3);
  text-transform: uppercase; letter-spacing: 0.13em;
}

/* Hero visual */
.hero__visual {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  min-height: 690px;
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
  transition: transform 0.25s ease-out;
}
.hero__halo {
  position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.38), transparent 66%);
  filter: blur(24px); pointer-events: none;
}
.hero__orbit {
  position: absolute; border-radius: 50%; border: 1px dashed rgba(140, 190, 255, 0.16);
  pointer-events: none;
}
.hero__orbit--outer { width: 610px; height: 610px; animation: spin 70s linear infinite; }
.hero__orbit--inner { width: 480px; height: 480px; animation: spin 52s linear infinite reverse; }
.hero__orbit::before {
  content: ''; position: absolute; top: 50%; left: -3px; width: 6px; height: 6px;
  border-radius: 50%; background: #8fc2ff; box-shadow: 0 0 14px #4f9bff;
}

.phone {
  position: relative; width: 318px; border-radius: 52px; padding: 9px;
  background: linear-gradient(145deg, #2b3b55 0%, #0a1220 42%, #1b2b44 100%);
  box-shadow:
    0 55px 100px -35px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(255, 255, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.phone__frame { position: relative; border-radius: 44px; overflow: hidden; background: #081120; }
.phone__screen {
  position: relative; aspect-ratio: 9 / 19.3; overflow: hidden; border-radius: 44px;
  background: #dff1ff;
}
.phone--hero { transform: rotate(-2.5deg); animation: float 8s ease-in-out infinite; }
.phone__notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 102px; height: 26px; border-radius: 20px; background: #070d18; z-index: 10;
  display: flex; align-items: center; justify-content: center;
}
.phone__notch span { width: 34px; height: 5px; border-radius: 99px; background: #1f2a3a; }
.phone__glare {
  position: absolute; inset: 0; border-radius: 44px; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.18), transparent 23%, transparent 68%, rgba(255, 255, 255, 0.06));
}

/* App screen mock */
.app-screen { position: absolute; inset: 0; overflow: hidden; background: linear-gradient(180deg, #e7f4ff, #f4fbff); }
.app-wall {
  position: absolute; inset: 0 0 34% 0;
  background: linear-gradient(180deg, #d9eeff 0%, #eef8ff 68%, #f7fbff 100%);
}
.app-wall::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(70, 130, 200, 0.09) 1px, transparent 1px);
  background-size: 16px 16px; opacity: 0.5;
}
.app-window {
  position: absolute; top: 13%; left: 9%; width: 48%; height: 30%;
  border-radius: 18px; overflow: hidden;
  background: linear-gradient(180deg, #9ed5ff, #e8f7ff);
  border: 6px solid #fff;
  box-shadow: inset 0 0 0 1px rgba(60, 120, 200, 0.12), 0 12px 30px -18px rgba(30, 80, 150, 0.35);
}
.app-window::before, .app-window::after {
  content: ''; position: absolute; background: #fff; opacity: 0.8;
}
.app-window::before { top: 0; bottom: 0; left: 50%; width: 3px; transform: translateX(-50%); }
.app-window::after { left: 0; right: 0; top: 52%; height: 3px; }
.app-window__sun {
  position: absolute; top: 10%; right: 12%; width: 26px; height: 26px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff7cc, #ffd166);
  box-shadow: 0 0 22px rgba(255, 209, 102, 0.65);
}
.app-window__cloud {
  position: absolute; left: 18%; top: 30%; width: 38px; height: 12px; border-radius: 99px;
  background: rgba(255, 255, 255, 0.9); box-shadow: 14px -6px 0 -1px rgba(255, 255, 255, 0.9);
}
.app-floor {
  position: absolute; left: 0; right: 0; bottom: 0; height: 38%;
  background: linear-gradient(180deg, #f4e6d4, #ead5bc 60%, #e6cfb3);
}
.app-floor::before {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(150, 110, 70, 0.09) 0 1px, transparent 1px 34px);
  transform: perspective(180px) rotateX(20deg); transform-origin: top;
}
.app-rug {
  position: absolute; bottom: 4.5%; left: 13%; width: 74%; height: 17%;
  border-radius: 50%; background: radial-gradient(ellipse, #b8d9ff, #d9ecff 58%, transparent 72%);
  opacity: 0.95;
}
.app-sofa {
  position: absolute; left: 4%; bottom: 23%; width: 29%; height: 17%;
  border-radius: 13px 13px 10px 10px;
  background: linear-gradient(145deg, #7fb8ff, #4f8fe8);
  box-shadow: 0 12px 20px -12px rgba(30, 70, 140, 0.5), inset 0 2px 0 rgba(255, 255, 255, 0.3);
}
.app-sofa i {
  position: absolute; top: -9px; width: 42%; height: 13px; border-radius: 8px;
  background: linear-gradient(145deg, #9ac8ff, #6aa6f5);
}
.app-sofa i:nth-child(1) { left: 3%; }
.app-sofa i:nth-child(2) { right: 3%; }
.app-sofa b { position: absolute; left: 8%; right: 8%; bottom: 12%; height: 5px; border-radius: 99px; background: rgba(255, 255, 255, 0.22); }
.app-plant { position: absolute; right: 5%; bottom: 21%; width: 18%; height: 28%; }
.app-plant b {
  position: absolute; bottom: 0; left: 26%; width: 48%; height: 34%; border-radius: 4px 4px 8px 8px;
  background: linear-gradient(145deg, #d8a274, #b97a4b);
}
.app-plant i {
  position: absolute; bottom: 28%; left: 42%; width: 16%; height: 32%; border-radius: 99px;
  background: linear-gradient(180deg, #4ecb8b, #1f9d68); transform-origin: bottom center;
}
.app-plant i:nth-child(2) { transform: rotate(-40deg); left: 26%; }
.app-plant i:nth-child(3) { transform: rotate(38deg); left: 56%; }
.app-plant i:nth-child(4) { transform: rotate(4deg); height: 38%; }
.app-pet-wrap { position: absolute; left: 50%; bottom: 9.5%; width: 72%; height: 60%; transform: translateX(-50%); z-index: 2; }
.app-pet-shadow {
  position: absolute; bottom: 4%; left: 18%; width: 64%; height: 10%; border-radius: 50%;
  background: rgba(35, 60, 100, 0.18); filter: blur(8px);
}
.app-pet {
  position: relative; width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 20px 24px rgba(40, 70, 120, 0.22));
  animation: pet-breathe 4.5s ease-in-out infinite;
}
.app-topbar {
  position: absolute; top: 17%; left: 6%; right: 6%; z-index: 4;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 9px; font-weight: 600; color: #24507f;
}
.app-level { padding: 4px 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.72); backdrop-filter: blur(8px); }
.app-level b { color: #2563eb; }
.app-coins { display: inline-flex; align-items: center; gap: 3px; padding: 4px 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.72); backdrop-filter: blur(8px); }
.app-coins .icon { width: 10px; height: 10px; color: #f59e0b; }
.app-namecard {
  position: absolute; bottom: 19.5%; left: 5%; right: 5%; z-index: 4;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 9px 11px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.74); border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 12px 24px -18px rgba(30, 70, 140, 0.5);
  backdrop-filter: blur(14px);
}
.app-namecard strong { display: block; font-family: var(--font-head); font-size: 15px; letter-spacing: -0.02em; color: #10233c; }
.app-namecard span:not(.app-heart) { display: block; font-size: 7.5px; color: #5b7798; margin-top: 1px; }
.app-heart {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: #ffe4ec; color: #f43f5e;
}
.app-heart .icon { width: 13px; height: 13px; }
.app-bars {
  position: absolute; bottom: 12.2%; left: 5%; right: 5%; z-index: 4;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px;
}
.app-bar { font-size: 6.5px; color: #5b7798; }
.app-bar span { display: block; margin-bottom: 3px; }
.app-bar i {
  display: block; width: var(--v, 50%); height: 4px; border-radius: 99px;
  background: linear-gradient(90deg, #4f9bff, #34d399);
  box-shadow: 0 0 8px rgba(79, 155, 255, 0.5);
}
.app-actions {
  position: absolute; bottom: 5.8%; left: 5%; right: 5%; z-index: 4;
  display: flex; align-items: center; justify-content: space-between;
  padding: 5px 9px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.58); border: 1px solid rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px); font-size: 13px;
}
.app-actions span { display: grid; place-items: center; }
.app-actions .icon { width: 13px; height: 13px; color: #5b7798; }
.app-actions span:nth-child(1) .icon { color: #f59e0b; }
.app-actions span:nth-child(2) .icon { color: #38bdf8; }
.app-actions span:nth-child(3) .icon { color: #34d399; }
.app-actions span:nth-child(4) .icon { color: #8b5cf6; }
.app-nav {
  position: absolute; bottom: 0; left: 0; right: 0; height: 4.4%; z-index: 4;
  display: flex; align-items: center; justify-content: space-around;
  background: rgba(255, 255, 255, 0.88); border-top: 1px solid rgba(120, 170, 230, 0.18);
  font-size: 9px; color: #7b92ad;
}
.app-nav span { display: grid; place-items: center; }
.app-nav .icon { width: 12px; height: 12px; }
.app-nav .is-active { color: #2563eb; }

/* Floating cards */
.float-card {
  position: absolute; z-index: 5;
  display: flex; align-items: center; gap: 9px;
  padding: 9px 12px; border-radius: 16px;
  background: rgba(15, 32, 58, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(18px);
  animation: float 7s ease-in-out infinite;
}
.float-card__icon {
  width: 32px; height: 32px; border-radius: 11px; display: grid; place-items: center;
}
.float-card__icon .icon { width: 15px; height: 15px; }
.float-card__icon--pink { background: rgba(244, 114, 182, 0.18); color: #f9a8d4; }
.float-card__icon--mint { background: rgba(52, 211, 153, 0.16); color: #6ee7b7; }
.float-card__icon--blue { background: rgba(96, 165, 250, 0.18); color: #93c5fd; }
.float-card__icon--amber { background: rgba(251, 191, 36, 0.16); color: #fcd34d; }
.float-card__body { display: grid; gap: 1px; }
.float-card__body b { font-size: 10.5px; font-weight: 600; color: #fff; }
.float-card__body small { font-size: 9px; color: var(--text-3); }
.float-card__value { font-size: 12px; font-weight: 700; color: #8ec5ff; margin-left: 4px; }
.float-card--mood { top: 13%; right: -3%; animation-delay: -1.5s; }
.float-card--food { bottom: 21%; left: -5%; animation-delay: -3.2s; }
.float-card--notify { top: 30%; left: -7%; animation-delay: -4.8s; }
.float-card--days { bottom: 7%; right: 1%; animation-delay: -2.1s; }

.hero-pet {
  position: absolute; z-index: 4; pointer-events: none;
  filter: drop-shadow(0 26px 34px rgba(0, 0, 0, 0.45));
  animation: float 9s ease-in-out infinite;
}
.hero-pet--cat { left: -9%; bottom: 1%; width: 185px; transform: rotate(-8deg); animation-delay: -2s; }
.hero-pet--fox { right: -10%; top: 7%; width: 150px; transform: rotate(8deg); animation-delay: -5s; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 4; width: 26px; height: 42px; border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.24); display: flex; justify-content: center;
  padding-top: 7px; opacity: 0.7; transition: opacity 0.25s;
}
.hero__scroll:hover { opacity: 1; }
.hero__scroll span { width: 3px; height: 8px; border-radius: 99px; background: #8fc2ff; animation: scroll-dot 1.8s ease-in-out infinite; }

/* ═══════════════════════════ MANIFESTO ═══════════════════════ */
.manifesto__head { max-width: 900px; margin-bottom: clamp(40px, 5vw, 64px); }
.manifesto__grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 24px; align-items: stretch; }

.quote-card {
  position: relative; overflow: hidden; min-height: 430px;
  display: flex; align-items: flex-start;
  padding: 30px; border-radius: 32px;
  background:
    radial-gradient(circle at 80% 20%, rgba(96, 165, 250, 0.28), transparent 55%),
    linear-gradient(145deg, #e7f4ff 0%, #f8fcff 55%, #ffffff 100%);
  border: 1px solid #dcecff;
  box-shadow: 0 30px 70px -45px rgba(13, 27, 51, 0.45);
}
.quote-card__bubble {
  position: relative; z-index: 3; max-width: 280px;
  padding: 18px 20px; border-radius: 22px 22px 22px 6px;
  background: #fff; border: 1px solid var(--light-line);
  box-shadow: 0 18px 40px -24px rgba(13, 27, 51, 0.35);
}
.quote-card__paw { display: block; margin-bottom: 8px; color: #2563eb; }
.quote-card__paw .icon { width: 18px; height: 18px; }
.quote-card__bubble p {
  font-family: var(--font-head); font-size: 21px; font-weight: 700;
  line-height: 1.25; letter-spacing: -0.025em; color: var(--light-text);
}
.quote-card__name { display: block; margin-top: 12px; font-size: 10px; color: var(--light-text-3); letter-spacing: 0.04em; }
.quote-card__pet {
  position: absolute; right: -2%; bottom: -3%; width: 68%; z-index: 2;
  filter: drop-shadow(0 24px 30px rgba(30, 70, 140, 0.18));
}
.quote-card__pet img { width: 100%; animation: pet-breathe 5s ease-in-out infinite; }
.quote-card__glow {
  position: absolute; right: 6%; bottom: 6%; width: 60%; height: 50%; border-radius: 50%;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.26), transparent 68%);
  filter: blur(24px);
}

.pillars { display: grid; gap: 14px; }
.pillar {
  padding: 24px; border-radius: 24px; background: #fff;
  border: 1px solid var(--light-line);
  box-shadow: 0 18px 44px -36px rgba(13, 27, 51, 0.4);
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
.pillar:hover { transform: translateY(-4px); border-color: #c9e0ff; box-shadow: 0 26px 50px -32px rgba(37, 99, 235, 0.35); }
.pillar__icon {
  width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center;
  margin-bottom: 16px; color: #fff;
}
.pillar__icon .icon { width: 22px; height: 22px; }
.pillar__icon--blue { background: linear-gradient(145deg, #60a5fa, #2563eb); box-shadow: 0 12px 24px -10px rgba(37, 99, 235, 0.6); }
.pillar__icon--purple { background: linear-gradient(145deg, #a78bfa, #7c3aed); box-shadow: 0 12px 24px -10px rgba(124, 58, 237, 0.55); }
.pillar__icon--mint { background: linear-gradient(145deg, #6ee7b7, #059669); box-shadow: 0 12px 24px -10px rgba(5, 150, 105, 0.5); }
.pillar h3 { font-family: var(--font-head); font-size: 18px; letter-spacing: -0.02em; }
.pillar p { margin-top: 7px; font-size: 13px; line-height: 1.6; color: var(--light-text-2); }

/* ═══════════════════════════ 3D HOME ═════════════════════════ */
.home-section { overflow: hidden; }
.home-section__glow {
  position: absolute; top: -200px; right: -160px; width: 620px; height: 620px;
  border-radius: 50%; background: radial-gradient(circle, rgba(37, 99, 235, 0.22), transparent 66%);
  filter: blur(60px); pointer-events: none;
}
.home-layout { position: relative; display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.home-copy .lead { max-width: 560px; }
.feature-list { display: grid; gap: 16px; margin-top: 34px; }
.feature-row { display: flex; gap: 14px; }
.feature-row__icon {
  width: 44px; height: 44px; border-radius: 13px; flex: none;
  display: grid; place-items: center;
  background: rgba(59, 130, 246, 0.12); color: #8fc2ff;
  border: 1px solid rgba(96, 165, 250, 0.16);
}
.feature-row__icon .icon { width: 20px; height: 20px; }
.feature-row h3 { font-family: var(--font-head); font-size: 16px; letter-spacing: -0.015em; }
.feature-row p { margin-top: 3px; font-size: 12.5px; line-height: 1.55; color: var(--text-2); }

.room-wrap { position: relative; }
.room-card {
  position: relative; overflow: hidden; aspect-ratio: 1.03 / 1;
  border-radius: 36px;
  background: linear-gradient(180deg, #dff1ff, #f8fcff);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.room-card__wall {
  position: absolute; inset: 0 0 34% 0;
  background: linear-gradient(180deg, #d7edff 0%, #eef8ff 68%, #f7fbff 100%);
}
.room-card__wall::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(70, 130, 200, 0.08) 1px, transparent 1px);
  background-size: 22px 22px; opacity: 0.55;
}
.room-card__window {
  position: absolute; top: 12%; left: 9%; width: 50%; height: 31%;
  border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, #8ecbff, #e8f7ff);
  border: 8px solid #fff;
  box-shadow: inset 0 0 0 1px rgba(60, 120, 200, 0.12), 0 18px 36px -24px rgba(30, 80, 150, 0.35);
}
.room-card__window::before, .room-card__window::after { content: ''; position: absolute; background: #fff; opacity: 0.85; }
.room-card__window::before { top: 0; bottom: 0; left: 50%; width: 4px; transform: translateX(-50%); }
.room-card__window::after { left: 0; right: 0; top: 52%; height: 4px; }
.room-card__sun {
  position: absolute; top: 10%; right: 12%; width: 44px; height: 44px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff7cc, #ffd166);
  box-shadow: 0 0 32px rgba(255, 209, 102, 0.7);
}
.room-card__cloud {
  position: absolute; left: 16%; top: 34%; width: 58px; height: 18px; border-radius: 99px;
  background: rgba(255, 255, 255, 0.92); box-shadow: 20px -8px 0 -1px rgba(255, 255, 255, 0.92);
}
.room-card__floor {
  position: absolute; left: 0; right: 0; bottom: 0; height: 38%;
  background: linear-gradient(180deg, #f4e6d4, #e8d2b8 60%, #e2c9ab);
}
.room-card__floor::before {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(150, 110, 70, 0.1) 0 1px, transparent 1px 52px);
  transform: perspective(240px) rotateX(22deg); transform-origin: top;
}
.room-card__rug {
  position: absolute; bottom: 4%; left: 12%; width: 76%; height: 17%;
  border-radius: 50%; background: radial-gradient(ellipse, #b8d9ff, #d9ecff 58%, transparent 72%);
  opacity: 0.95;
}
.room-card__sofa {
  position: absolute; left: 4%; bottom: 23%; width: 27%; height: 17%; border-radius: 14px 14px 11px 11px;
  background: linear-gradient(145deg, #7fb8ff, #4f8fe8);
  box-shadow: 0 14px 24px -14px rgba(30, 70, 140, 0.5), inset 0 2px 0 rgba(255, 255, 255, 0.3);
}
.room-card__sofa i { position: absolute; top: -10px; width: 42%; height: 14px; border-radius: 8px; background: linear-gradient(145deg, #9ac8ff, #6aa6f5); }
.room-card__sofa i:nth-child(1) { left: 3%; }
.room-card__sofa i:nth-child(2) { right: 3%; }
.room-card__sofa b { position: absolute; left: 8%; right: 8%; bottom: 12%; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.22); }
.room-card__lamp { position: absolute; right: 10%; top: 10%; width: 10%; height: 46%; }
.room-card__lamp span {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 54px; height: 34px; border-radius: 30px 30px 8px 8px;
  background: linear-gradient(145deg, #ffe7a3, #ffc44d);
  box-shadow: 0 14px 34px rgba(255, 196, 77, 0.4);
}
.room-card__lamp b { position: absolute; top: 10px; bottom: 0; left: 50%; width: 4px; transform: translateX(-50%); background: #c58b4b; border-radius: 99px; }
.room-card__plant { position: absolute; right: 5%; bottom: 21%; width: 17%; height: 29%; }
.room-card__plant b {
  position: absolute; bottom: 0; left: 26%; width: 48%; height: 34%; border-radius: 5px 5px 10px 10px;
  background: linear-gradient(145deg, #d8a274, #b97a4b);
}
.room-card__plant i {
  position: absolute; bottom: 28%; left: 42%; width: 15%; height: 34%; border-radius: 99px;
  background: linear-gradient(180deg, #4ecb8b, #1f9d68); transform-origin: bottom center;
}
.room-card__plant i:nth-child(2) { transform: rotate(-42deg); left: 24%; }
.room-card__plant i:nth-child(3) { transform: rotate(40deg); left: 58%; }
.room-card__plant i:nth-child(4) { transform: rotate(4deg); height: 40%; }
.room-card__pet {
  position: absolute; left: 50%; bottom: 8%; width: 60%; height: 66%;
  transform: translateX(-50%); z-index: 2;
}
.room-card__pet-shadow {
  position: absolute; bottom: 4%; left: 18%; width: 64%; height: 10%; border-radius: 50%;
  background: rgba(35, 60, 100, 0.2); filter: blur(10px);
}
.room-card__pet img {
  position: relative; width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 24px 28px rgba(40, 70, 120, 0.2));
  animation: pet-breathe 5s ease-in-out infinite;
}
.room-card__top {
  position: absolute; top: 4.5%; left: 4.5%; right: 4.5%; z-index: 4;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.room-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; border-radius: 99px;
  background: rgba(255, 255, 255, 0.72); border: 1px solid rgba(255, 255, 255, 0.85);
  font-size: 9.5px; font-weight: 700; color: #24507f;
  backdrop-filter: blur(10px);
}
.room-pill .icon { width: 12px; height: 12px; color: #f59e0b; }
.room-card__hint {
  position: absolute; bottom: 18%; left: 50%; transform: translateX(-50%);
  z-index: 4; padding: 6px 11px; border-radius: 99px;
  background: rgba(15, 32, 58, 0.62); color: #dbeaff;
  font-size: 9px; white-space: nowrap; backdrop-filter: blur(10px);
  animation: hint-pulse 3s ease-in-out infinite;
}
.room-toolbar {
  position: absolute; left: 50%; bottom: 5%; transform: translateX(-50%); z-index: 5;
  display: flex; align-items: center; gap: 6px;
  padding: 6px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.66); border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 30px -20px rgba(30, 70, 140, 0.6);
  backdrop-filter: blur(16px);
}
.room-toolbar span {
  width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center;
  color: #5b7798;
}
.room-toolbar span .icon { width: 15px; height: 15px; }
.room-toolbar__active { background: #2563eb; color: #fff !important; box-shadow: 0 8px 16px -8px rgba(37, 99, 235, 0.7); }
.room-card__spark { position: absolute; color: #fff; z-index: 4; animation: sparkle 4s ease-in-out infinite; }
.room-card__spark--1 { top: 28%; left: 18%; font-size: 12px; animation-delay: -1s; }
.room-card__spark--2 { top: 48%; right: 12%; font-size: 9px; animation-delay: -2.5s; }
.room-card__spark--3 { bottom: 30%; left: 10%; font-size: 8px; animation-delay: -3.4s; }

/* ═══════════════════════════ CHARACTER ═══════════════════════ */
.character { overflow: hidden; background: radial-gradient(ellipse 60% 55% at 70% 40%, rgba(37, 99, 235, 0.16), transparent 65%), var(--bg); }
.character__glow {
  position: absolute; top: 10%; left: -180px; width: 540px; height: 540px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.22), transparent 66%);
  filter: blur(60px); pointer-events: none;
}
.character-layout { position: relative; display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.radar-card {
  position: relative; padding: 24px; border-radius: 32px;
  background: linear-gradient(160deg, rgba(18, 38, 68, 0.92), rgba(7, 17, 32, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.radar-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.radar-card__head > div { display: grid; gap: 3px; }
.radar-card__head span { font-size: 9px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--text-3); }
.radar-card__head strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 17px; font-weight: 600; letter-spacing: 0.12em; color: #8ec5ff;
}
.copy-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 10px; border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.13); background: rgba(255, 255, 255, 0.04);
  font-size: 10px; color: var(--text-2); transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.copy-btn .icon { width: 13px; height: 13px; }
.copy-btn span { font-size: 10px; text-transform: none; letter-spacing: normal; color: inherit; }
.copy-btn:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.copy-btn.is-copied { color: #6ee7b7; border-color: rgba(110, 231, 183, 0.3); }

.radar-wrap { position: relative; width: min(100%, 440px); aspect-ratio: 1; margin: 10px auto 0; }
.radar { position: absolute; inset: 7%; width: 86%; height: 86%; overflow: visible; }
.radar__grid polygon { fill: none; stroke: rgba(140, 190, 255, 0.13); stroke-width: 1; }
.radar__grid line { stroke: rgba(140, 190, 255, 0.1); stroke-width: 1; }
.radar__shape {
  fill: rgba(59, 130, 246, 0.25);
  stroke: #6aa8ff; stroke-width: 2.5; stroke-linejoin: round;
  filter: drop-shadow(0 0 14px rgba(59, 130, 246, 0.55));
  transform-origin: 180px 180px;
  transform: scale(0.04); opacity: 0;
  transition: transform 1.25s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.8s;
}
.radar-card.is-visible .radar__shape { transform: scale(1); opacity: 1; }
.radar__center { fill: #8ec5ff; }
.radar-label { position: absolute; z-index: 2; font-size: 9.5px; color: var(--text-3); white-space: nowrap; }
.radar-label--top { top: 0; left: 50%; transform: translateX(-50%); }
.radar-label--tr { top: 8%; right: 0; }
.radar-label--right { top: 50%; right: 0; transform: translateY(-50%); }
.radar-label--br { bottom: 8%; right: 0; }
.radar-label--bottom { bottom: 0; left: 50%; transform: translateX(-50%); }
.radar-label--bl { bottom: 8%; left: 0; }
.radar-label--left { top: 50%; left: 0; transform: translateY(-50%); }
.radar-label--tl { top: 8%; left: 0; }
.radar-card__traits { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 16px; margin-top: 14px; }
.radar-card__traits span {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 10.5px; color: var(--text-2);
}
.radar-card__traits b { color: #8ec5ff; font-weight: 600; }

.character-quote p {
  font-family: var(--font-head); font-size: clamp(25px, 3vw, 38px);
  font-weight: 700; line-height: 1.2; letter-spacing: -0.035em; color: #fff;
}
.character-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0; }
.character-stats > div { padding: 16px 18px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); }
.character-stats strong { display: block; font-family: var(--font-head); font-size: 26px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; }
.character-stats span { display: block; margin-top: 3px; font-size: 10px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.12em; }
.archetypes__label { font-size: 10px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.12em; }
.archetypes__list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.archetypes__list span {
  padding: 6px 10px; border-radius: 99px; font-size: 10.5px; color: var(--text-2);
  border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.03);
}
.archetypes__list .is-rare {
  color: #e9d5ff; border-color: rgba(167, 139, 250, 0.4);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.22), rgba(59, 130, 246, 0.16));
}
.character-note { margin-top: 20px; font-size: 11.5px; line-height: 1.55; color: var(--text-3); }

/* ═══════════════════════════ CARE ════════════════════════════ */
.care-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.care-copy .lead { max-width: 520px; }
.care-points { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.care-points span {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 13px; border-radius: 99px; background: #fff;
  border: 1px solid var(--light-line); font-size: 12px; font-weight: 600; color: var(--light-text-2);
  box-shadow: 0 8px 20px -18px rgba(13, 27, 51, 0.35);
}
.care-points .icon { width: 14px; height: 14px; color: #2563eb; }
.care-points span:nth-child(2) .icon { color: #f59e0b; }
.care-points span:nth-child(3) .icon { color: #06b6d4; }
.care-points span:nth-child(4) .icon { color: #ec4899; }
.care-note { margin-top: 22px; font-size: 12.5px; color: var(--light-text-3); }
.care-card {
  position: relative; padding: 20px; border-radius: 32px; background: #fff;
  border: 1px solid var(--light-line);
  box-shadow: 0 30px 70px -45px rgba(13, 27, 51, 0.4);
}
.care-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.care-card__day { font-family: var(--font-head); font-size: 14px; font-weight: 700; letter-spacing: -0.02em; }
.care-card__streak {
  display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px;
  border-radius: 99px; background: #fff1f5; color: #e11d48; font-size: 10px; font-weight: 600;
}
.care-card__streak .icon { width: 12px; height: 12px; }
.care-card__scene {
  position: relative; display: flex; align-items: flex-end; justify-content: center;
  height: 250px; margin: 12px 0 18px; border-radius: 24px; overflow: hidden;
  background: radial-gradient(circle at 50% 62%, #eaf6ff, #f8fcff 70%);
}
.care-card__scene::after {
  content: ''; position: absolute; bottom: 7%; left: 22%; width: 56%; height: 10%;
  border-radius: 50%; background: rgba(35, 60, 100, 0.14); filter: blur(9px);
}
.care-card__scene img {
  position: relative; z-index: 2; width: 62%; height: 96%; object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(40, 70, 120, 0.18));
  animation: pet-breathe 4.5s ease-in-out infinite;
}
.care-bubble {
  position: absolute; top: 12%; left: 7%; z-index: 3;
  padding: 9px 13px; border-radius: 15px 15px 15px 4px;
  background: #fff; border: 1px solid var(--light-line);
  font-size: 11px; font-weight: 600; color: var(--light-text-2);
  box-shadow: 0 14px 30px -22px rgba(13, 27, 51, 0.4);
  animation: float 6s ease-in-out infinite;
}
.care-spark { position: absolute; color: #7db6ff; animation: sparkle 4s ease-in-out infinite; }
.care-spark--1 { top: 24%; right: 13%; font-size: 13px; animation-delay: -1s; }
.care-spark--2 { top: 50%; left: 10%; font-size: 9px; animation-delay: -2.4s; }
.care-spark--3 { bottom: 18%; right: 10%; font-size: 8px; animation-delay: -3.3s; }
.care-stats { display: grid; gap: 11px; }
.care-stat__line { display: flex; align-items: center; justify-content: space-between; margin-bottom: 5px; font-size: 11px; color: var(--light-text-2); }
.care-stat__line b { color: var(--light-text); font-weight: 600; }
.care-stat__track { height: 8px; border-radius: 99px; background: #eaf2fb; overflow: hidden; }
.care-stat__track i {
  display: block; width: 0; height: 100%; border-radius: inherit;
  background: linear-gradient(90deg, #4f9bff, #34d399);
  transition: width 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.care-card.is-visible .care-stat__track i { width: var(--v, 0%); }
.care-card .care-stat:nth-child(1) .care-stat__track i { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.care-card .care-stat:nth-child(2) .care-stat__track i { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
.care-card .care-stat:nth-child(3) .care-stat__track i { background: linear-gradient(90deg, #06b6d4, #67e8f9); }
.care-card .care-stat:nth-child(4) .care-stat__track i { background: linear-gradient(90deg, #ec4899, #f9a8d4); }
.care-actions { display: flex; gap: 8px; margin-top: 16px; }
.care-actions button {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 10px 6px; border-radius: 15px; background: #f3f8ff;
  border: 1px solid var(--light-line); font-size: 15px; transition: transform 0.25s, background 0.25s;
}
.care-actions button .icon { width: 18px; height: 18px; color: #2563eb; }
.care-actions button:nth-child(2) .icon { color: #059669; }
.care-actions button:nth-child(3) .icon { color: #06b6d4; }
.care-actions button span { font-size: 9px; color: var(--light-text-2); font-weight: 600; }
.care-actions button:hover { background: #e8f2ff; transform: translateY(-2px); }

/* ═══════════════════════════ CHAT ════════════════════════════ */
.chat-section { padding-top: clamp(40px, 6vw, 90px); }
.chat-layout { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.chat-visual { position: relative; display: grid; place-items: center; }
.chat-phone {
  width: min(100%, 360px); padding: 14px; border-radius: 32px;
  background: #fff; border: 1px solid var(--light-line);
  box-shadow: 0 30px 70px -45px rgba(13, 27, 51, 0.4);
}
.chat-phone__head { display: flex; align-items: center; gap: 10px; padding: 2px 2px 12px; }
.chat-avatar { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; background: #e8f3ff; flex: none; }
.chat-avatar img { width: 100%; height: 100%; object-fit: cover; }
.chat-phone__head > div { display: grid; gap: 1px; flex: 1; }
.chat-phone__head strong { font-size: 13px; font-weight: 700; }
.chat-phone__head span { font-size: 9px; color: var(--light-text-3); }
.chat-phone__more { color: var(--light-text-3); letter-spacing: 0.1em; font-size: 14px; }
.chat-body { display: flex; flex-direction: column; gap: 10px; min-height: 390px; padding: 14px; border-radius: 22px; background: #f6faff; }
.msg {
  position: relative; max-width: 84%; padding: 9px 12px; border-radius: 16px;
  font-size: 11.5px; line-height: 1.5; color: var(--light-text);
  opacity: 0; transform: translateY(8px);
  animation: msg-in 0.55s var(--d, 0s) both;
  animation-play-state: paused;
}
.chat-visual.is-visible .msg { animation-play-state: running; }
.msg p { margin: 0; }
.msg time { display: block; margin-top: 4px; font-size: 8px; opacity: 0.5; text-align: right; }
.msg--in { align-self: flex-start; background: #fff; border: 1px solid var(--light-line); border-bottom-left-radius: 5px; }
.msg--out { align-self: flex-end; color: #fff; background: linear-gradient(135deg, #5aa2ff, #2563eb); border-bottom-right-radius: 5px; }
.msg--out time { opacity: 0.7; }
.msg__avatar { position: absolute; left: -30px; bottom: 0; width: 22px; height: 22px; border-radius: 50%; overflow: hidden; background: #e8f3ff; }
.msg__avatar img { width: 100%; height: 100%; object-fit: cover; }
.chat-system {
  align-self: center; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; border-radius: 99px; font-size: 9px; font-weight: 600;
  color: #047857; background: #e7fbf2; border: 1px solid #c9f3e2;
  opacity: 0; animation: fade-in 0.5s var(--d, 0s) both; animation-play-state: paused;
}
.chat-visual.is-visible .chat-system { animation-play-state: running; }
.chat-system .icon { width: 11px; height: 11px; }
.typing {
  display: flex; align-items: center; gap: 4px; align-self: flex-start;
  padding: 10px 12px; border-radius: 14px; background: #fff; border: 1px solid var(--light-line);
  opacity: 0; animation: fade-in 0.4s 1.9s both; animation-play-state: paused;
}
.chat-visual.is-visible .typing { animation-play-state: running; }
.typing span { width: 5px; height: 5px; border-radius: 50%; background: #9bb3cc; animation: typing-dot 1.2s ease-in-out infinite; }
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }
.chat-input {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 12px; padding: 10px 12px; border-radius: 16px;
  background: #f2f8ff; border: 1px solid var(--light-line);
  font-size: 11px; color: var(--light-text-3);
}
.chat-input b {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue); color: #fff; font-size: 14px; flex: none;
}
.chat-badge {
  position: absolute; z-index: 3; padding: 8px 12px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.86); border: 1px solid var(--light-line);
  box-shadow: 0 14px 30px -24px rgba(13, 27, 51, 0.4);
  backdrop-filter: blur(10px); font-size: 10px; font-weight: 600; color: var(--blue);
  animation: float 6.5s ease-in-out infinite;
}
.chat-badge--one { top: 13%; left: -2%; animation-delay: -1.4s; }
.chat-badge--two { bottom: 11%; right: -3%; animation-delay: -3.6s; }
.chat-features { display: grid; gap: 16px; margin-top: 32px; }
.chat-feature { display: flex; gap: 13px; }
.chat-feature > span {
  width: 40px; height: 40px; border-radius: 13px; flex: none;
  display: grid; place-items: center; font-size: 18px;
  background: #fff; border: 1px solid var(--light-line);
  box-shadow: 0 10px 24px -20px rgba(13, 27, 51, 0.35);
}
.chat-feature > span .icon { width: 18px; height: 18px; color: #2563eb; }
.chat-feature:nth-child(2) > span .icon { color: #ec4899; }
.chat-feature:nth-child(3) > span .icon { color: #059669; }
.chat-feature b { display: block; font-family: var(--font-head); font-size: 14px; letter-spacing: -0.01em; }
.chat-feature p { margin-top: 2px; font-size: 11.5px; line-height: 1.55; color: var(--light-text-2); }

/* ═══════════════════════════ FRIENDS ═════════════════════════ */
.friends-section .section-head { max-width: 760px; }
.friends-layout { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 24px; align-items: stretch; }
.map-card {
  display: flex; flex-direction: column; overflow: hidden;
  min-height: 430px; border-radius: 28px; background: #fff;
  border: 1px solid var(--light-line); box-shadow: 0 26px 60px -45px rgba(13, 27, 51, 0.4);
}
.map-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--light-line); }
.map-card__title { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; }
.map-card__title .icon { width: 16px; height: 16px; color: #2563eb; }
.ghost-pill {
  display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 99px;
  background: #f2f5ff; border: 1px solid #dde7ff; color: #6d5bd0; font-size: 9.5px; font-weight: 600;
}
.ghost-pill .icon { width: 12px; height: 12px; }
.map-card__canvas {
  position: relative; flex: 1; overflow: hidden;
  background-color: #eaf4ff;
  background-image:
    linear-gradient(rgba(120, 170, 230, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 170, 230, 0.14) 1px, transparent 1px);
  background-size: 38px 38px;
}
.map-card__canvas::before {
  content: ''; position: absolute; left: 8%; top: 12%; width: 34%; height: 30%;
  border-radius: 22px; background: rgba(74, 222, 128, 0.18);
}
.map-card__canvas::after {
  content: ''; position: absolute; right: 10%; bottom: 12%; width: 26%; height: 24%;
  border-radius: 50%; background: rgba(96, 165, 250, 0.12);
}
.map-route {
  position: absolute; z-index: 2; width: 48%; height: 30%; left: 26%; top: 38%;
  border: 2px dashed rgba(37, 99, 235, 0.36); border-radius: 50%;
  transform: rotate(-16deg);
}
.map-pin {
  position: absolute; z-index: 4; width: 34px; height: 34px;
  border-radius: 50% 50% 50% 4px; transform: rotate(-45deg);
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 10px 18px -8px rgba(37, 99, 235, 0.7);
  border: 2px solid #fff;
}
.map-pin b, .map-pin { font-size: 10px; font-weight: 700; }
.map-pin b { transform: rotate(45deg); }
.map-pin--me { left: 44%; bottom: 17%; background: linear-gradient(145deg, #60a5fa, #2563eb); width: 40px; height: 40px; }
.map-pin--one { left: 26%; top: 25%; background: linear-gradient(145deg, #34d399, #059669); }
.map-pin--two { right: 18%; top: 38%; background: linear-gradient(145deg, #f472b6, #db2777); }
.map-pin--three { right: 30%; bottom: 26%; background: linear-gradient(145deg, #fbbf24, #d97706); }
.map-pin--one, .map-pin--two, .map-pin--three { font-size: 11px; }
.map-pulse {
  position: absolute; z-index: 3; width: 50px; height: 50px; border-radius: 50%;
  border: 1.5px solid rgba(37, 99, 235, 0.35);
  animation: map-pulse 2.8s ease-out infinite;
}
.map-pulse--one { left: 41%; bottom: 14%; }
.map-pulse--two { right: 15%; top: 35%; animation-delay: -1.4s; border-color: rgba(219, 39, 119, 0.3); }
.map-label {
  position: absolute; z-index: 5; padding: 5px 8px; border-radius: 8px;
  background: #fff; border: 1px solid var(--light-line);
  font-size: 9px; font-weight: 600; color: var(--light-text-2);
  box-shadow: 0 8px 18px -14px rgba(13, 27, 51, 0.4);
}
.map-label--one { left: 31%; top: 38%; }
.map-label--two { right: 8%; top: 51%; }
.map-card__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 18px; border-top: 1px solid var(--light-line);
  font-size: 9px; color: var(--light-text-3);
}
.map-card__online { display: inline-flex; align-items: center; gap: 5px; color: #059669; font-weight: 600; }
.map-card__online i { width: 5px; height: 5px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.14); }

.friends-side { display: flex; flex-direction: column; gap: 16px; }
.friend-card {
  padding: 20px; border-radius: 28px; background: #fff;
  border: 1px solid var(--light-line); box-shadow: 0 26px 60px -45px rgba(13, 27, 51, 0.4);
}
.friend-card__head { display: flex; align-items: center; gap: 10px; }
.friend-avatar {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(145deg, #f9a8d4, #db2777); color: #fff;
  font-family: var(--font-head); font-size: 17px; font-weight: 700; flex: none;
}
.friend-card__head > div { flex: 1; display: grid; gap: 1px; }
.friend-card__head strong { font-size: 14px; }
.friend-card__head span { font-size: 9.5px; color: #059669; }
.friend-card__head button {
  width: 34px; height: 34px; border-radius: 11px; background: #f2f8ff;
  border: 1px solid var(--light-line); display: grid; place-items: center; font-size: 14px;
}
.friend-card__head button .icon { width: 15px; height: 15px; color: #2563eb; }
.friend-card__shared {
  display: flex; align-items: center; gap: 10px; margin: 16px 0;
  padding: 10px; border-radius: 16px; background: #f5faff; border: 1px solid #e5f0ff;
}
.friend-card__shared img { width: 48px; height: 48px; object-fit: contain; flex: none; }
.friend-card__shared div { display: grid; gap: 1px; }
.friend-card__shared strong { font-size: 11.5px; }
.friend-card__shared span { font-size: 9px; color: var(--light-text-3); }
.friend-card__actions { display: flex; gap: 8px; }
.friend-card__actions button {
  flex: 1; padding: 10px; border-radius: 12px; font-size: 11px; font-weight: 600;
  background: #2563eb; color: #fff; transition: transform 0.25s, background 0.25s;
}
.friend-card__actions button:hover { transform: translateY(-2px); }
.friend-card__gift { background: #f2f8ff !important; color: var(--light-text) !important; border: 1px solid var(--light-line); display: inline-flex; align-items: center; justify-content: center; gap: 5px; }
.friend-card__gift .icon { width: 14px; height: 14px; color: #db2777; }
.friends-features { display: flex; flex-wrap: wrap; gap: 7px; }
.friends-features span {
  display: inline-flex; align-items: center; gap: 5px; padding: 7px 10px;
  border-radius: 99px; background: #fff; border: 1px solid var(--light-line);
  font-size: 10px; font-weight: 600; color: var(--light-text-2);
}
.friends-features .icon { width: 13px; height: 13px; color: #2563eb; }
.friends-note {
  display: flex; gap: 12px; padding: 16px; border-radius: 18px;
  background: linear-gradient(135deg, #eef6ff, #ffffff);
  border: 1px solid var(--light-line);
}
.friends-note__icon {
  width: 38px; height: 38px; border-radius: 12px; flex: none;
  display: grid; place-items: center; background: #e3f0ff; color: #2563eb;
}
.friends-note__icon .icon { width: 17px; height: 17px; }
.friends-note b { font-family: var(--font-head); font-size: 12.5px; }
.friends-note p { margin-top: 2px; font-size: 10.5px; line-height: 1.5; color: var(--light-text-2); }

/* ═══════════════════════════ GAMES ═══════════════════════════ */
.games-section { overflow: hidden; background: radial-gradient(ellipse 55% 60% at 20% 40%, rgba(37, 99, 235, 0.16), transparent 65%), var(--bg); }
.games-section__glow {
  position: absolute; right: -160px; bottom: -200px; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 168, 184, 0.14), transparent 66%);
  filter: blur(60px); pointer-events: none;
}
.games-layout { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(32px, 6vw, 70px); align-items: center; }
.games-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.game-card {
  position: relative; overflow: hidden; min-height: 128px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 15px 14px; border-radius: 20px; color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 16px 32px -20px rgba(0, 0, 0, 0.65);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.game-card::before {
  content: ''; position: absolute; top: -30%; right: -20%; width: 80%; height: 80%;
  border-radius: 50%; background: rgba(255, 255, 255, 0.16); filter: blur(18px);
}
.game-card__icon { position: relative; z-index: 2; width: 30px; height: 30px; margin-bottom: 8px; color: #fff; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.2)); }
.game-card h3 { position: relative; z-index: 2; font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: -0.01em; }
.game-card small { position: relative; z-index: 2; font-size: 9px; opacity: 0.72; }
.game-card:hover { transform: translateY(-5px) scale(1.015); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 24px 40px -20px rgba(0, 0, 0, 0.7); }
.game-card--orange { background: linear-gradient(145deg, #ff9a56, #ff5e62); }
.game-card--sky { background: linear-gradient(145deg, #38bdf8, #2563eb); }
.game-card--green { background: linear-gradient(145deg, #34d399, #059669); }
.game-card--purple { background: linear-gradient(145deg, #a78bfa, #7c3aed); }
.game-card--cyan { background: linear-gradient(145deg, #22d3ee, #0891b2); }
.game-card--blue { background: linear-gradient(145deg, #60a5fa, #1d4ed8); }
.game-card--yellow { background: linear-gradient(145deg, #fbbf24, #f97316); }
.game-card--pink { background: linear-gradient(145deg, #f472b6, #db2777); }
.game-card--dark { background: linear-gradient(145deg, #475569, #0f172a); }
.arcade-wrap { position: relative; display: grid; place-items: center; }
.arcade-wrap::before {
  content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.26), transparent 66%);
  filter: blur(24px);
}
.arcade-card {
  position: relative; width: 320px; aspect-ratio: 700 / 847;
  padding: 8px; border-radius: 32px;
  background: linear-gradient(145deg, #2b3b55, #0a1220 45%, #1b2b44);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: rotate(2deg); animation: float 9s ease-in-out infinite;
}
.arcade-card img { width: 100%; height: 100%; object-fit: cover; border-radius: 25px; display: block; }
.arcade-card::after {
  content: ''; position: absolute; inset: 8px; border-radius: 25px; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.14), transparent 22%, transparent 72%, rgba(255, 255, 255, 0.05));
}
.arcade-badge {
  position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: 12px;
  background: rgba(15, 32, 58, 0.82); border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px); font-size: 10px; font-weight: 600; color: #dbeaff;
  box-shadow: 0 16px 34px -20px rgba(0, 0, 0, 0.8);
  animation: float 6.5s ease-in-out infinite;
}
.arcade-badge .icon { width: 14px; height: 14px; color: #fbbf24; }
.arcade-badge--two { bottom: 14%; right: -2%; animation-delay: -2.8s; }
.arcade-badge:first-of-type { top: 12%; left: -2%; animation-delay: -1.2s; }

/* ═══════════════════════════ EXTRAS ══════════════════════════ */
.extras-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.masks-card {
  position: relative; overflow: hidden; min-height: 490px;
  border-radius: 32px; background: #0b1628; color: #fff;
  box-shadow: 0 30px 70px -50px rgba(13, 27, 51, 0.55);
}
.masks-card > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0.9; transition: transform 0.8s var(--ease);
}
.masks-card:hover > img { transform: scale(1.045); }
.masks-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7, 19, 38, 0.05) 30%, rgba(7, 19, 38, 0.82) 78%, #071326 100%);
}
.masks-card__content { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px; z-index: 2; }
.masks-card__content h3 { margin-top: 14px; font-family: var(--font-head); font-size: clamp(26px, 2.8vw, 38px); line-height: 1.05; letter-spacing: -0.04em; }
.masks-card__content p { max-width: 390px; margin-top: 12px; font-size: 12.5px; line-height: 1.6; color: #c6d6ea; }
.masks-card__spark { position: absolute; top: 10%; right: 10%; color: #fff; z-index: 2; font-size: 18px; animation: sparkle 4s ease-in-out infinite; }

.widgets-card {
  position: relative; overflow: hidden; min-height: 490px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
  padding: 30px; border-radius: 32px;
  background: linear-gradient(145deg, #eaf5ff 0%, #ffffff 60%, #f4f8ff 100%);
  border: 1px solid var(--light-line);
  box-shadow: 0 30px 70px -50px rgba(13, 27, 51, 0.4);
}
.widgets-card__copy h3 { margin-top: 14px; font-family: var(--font-head); font-size: clamp(26px, 2.8vw, 38px); line-height: 1.05; letter-spacing: -0.04em; }
.widgets-card__copy p { max-width: 390px; margin-top: 12px; font-size: 12.5px; line-height: 1.6; color: var(--light-text-2); }
.widget-scene {
  position: relative; height: 245px; margin: 0 -10px -10px;
  border-radius: 26px; overflow: hidden;
  background: linear-gradient(160deg, #24427a 0%, #101c34 60%, #0b1426 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.widget-scene::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 22% 18%, rgba(96, 165, 250, 0.35), transparent 45%),
    radial-gradient(circle at 82% 80%, rgba(244, 114, 182, 0.22), transparent 45%);
}
.widget-scene__wall {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 22px 22px; opacity: 0.5;
}
.widget-scene__clock {
  position: absolute; top: 15px; left: 18px; z-index: 2;
  font-family: var(--font-head); font-size: 24px; font-weight: 700; letter-spacing: -0.04em; color: #fff;
}
.widget {
  position: absolute; left: 8%; top: 23%; width: 84%; z-index: 3;
  padding: 12px; border-radius: 20px; color: #0d1b33;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 18px 34px -20px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(16px);
}
.widget__head { display: flex; align-items: center; gap: 9px; }
.widget__head img { width: 40px; height: 40px; object-fit: contain; flex: none; }
.widget__head div { flex: 1; display: grid; gap: 1px; }
.widget__head strong { font-size: 11.5px; }
.widget__head span { font-size: 8.5px; color: #6b7e99; }
.widget__heart { display: grid; place-items: center; color: #f43f5e; }
.widget__heart .icon { width: 12px; height: 12px; }
.widget__bars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: 9px; }
.widget__bars span { height: 5px; border-radius: 99px; background: #e7eff9; overflow: hidden; }
.widget__bars i { display: block; width: var(--v, 50%); height: 100%; border-radius: inherit; background: linear-gradient(90deg, #4f9bff, #34d399); }
.widget__foot { display: flex; justify-content: space-between; margin-top: 6px; font-size: 7.5px; color: #6b7e99; }
.widget__foot span { display: inline-flex; align-items: center; gap: 3px; }
.widget__foot .icon { width: 9px; height: 9px; color: #f59e0b; }
.widget__foot span:nth-child(2) .icon { color: #3b82f6; }
.widget__foot span:nth-child(3) .icon { color: #06b6d4; }
.widget--distance {
  top: auto; bottom: 8%; left: 6%; width: 57%; padding: 10px 12px;
  transform: rotate(-3deg); background: rgba(255, 255, 255, 0.9);
}
.widget__distance { display: flex; align-items: center; gap: 5px; }
.widget__avatar {
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(145deg, #60a5fa, #2563eb); color: #fff; font-size: 7.5px; font-weight: 700;
}
.widget__avatar--friend { background: linear-gradient(145deg, #f9a8d4, #db2777); }
.widget__line { flex: 1; border-top: 1.5px dashed #9bb3cc; }
.widget__distance-text { display: flex; align-items: baseline; gap: 5px; margin-top: 5px; }
.widget__distance-text strong { font-size: 14px; letter-spacing: -0.03em; }
.widget__distance-text span { font-size: 7.5px; color: #6b7e99; }

/* ═══════════════════════════ PRIVACY ═════════════════════════ */
.privacy-section { overflow: hidden; background: radial-gradient(ellipse 55% 60% at 70% 50%, rgba(37, 99, 235, 0.16), transparent 65%), var(--bg); }
.privacy-section__glow {
  position: absolute; left: -180px; bottom: -180px; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.14), transparent 66%);
  filter: blur(60px); pointer-events: none;
}
.privacy-layout { position: relative; display: grid; grid-template-columns: 0.86fr 1.14fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.privacy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.privacy-card {
  padding: 22px; border-radius: 22px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.035);
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.privacy-card:hover { background: rgba(255, 255, 255, 0.055); border-color: rgba(140, 190, 255, 0.24); transform: translateY(-3px); }
.privacy-card__icon {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(59, 130, 246, 0.12); color: #8fc2ff; margin-bottom: 14px;
}
.privacy-card__icon .icon { width: 19px; height: 19px; }
.privacy-card h3 { font-family: var(--font-head); font-size: 15px; letter-spacing: -0.01em; }
.privacy-card p { margin-top: 5px; font-size: 11.5px; line-height: 1.55; color: var(--text-2); }

/* ═══════════════════════════ PETS ════════════════════════════ */
.pets-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.pet-card {
  position: relative; overflow: hidden; padding: 14px 14px 18px;
  border-radius: 24px; background: #fff; border: 1px solid var(--light-line);
  text-align: center;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
  transform-style: preserve-3d;
}
.pet-card::before {
  content: ''; position: absolute; inset: 0 0 auto; height: 170px;
  background: linear-gradient(180deg, var(--rarity-soft, #eef6ff), transparent);
  pointer-events: none;
}
.pet-card:hover { transform: translateY(-5px); border-color: #c9e0ff; box-shadow: 0 26px 50px -34px rgba(37, 99, 235, 0.35); }
.pet-card__rarity {
  position: absolute; z-index: 2; top: 12px; right: 12px;
  padding: 4px 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--light-line); color: var(--rarity, #16a34a);
  font-size: 8px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.pet-card__image { position: relative; z-index: 1; height: 170px; display: grid; place-items: center; }
.pet-card__image img {
  width: auto; height: 100%; object-fit: contain;
  filter: drop-shadow(0 16px 18px rgba(13, 27, 51, 0.16));
  transition: transform 0.45s var(--ease);
}
.pet-card:hover .pet-card__image img { transform: scale(1.06) translateY(-4px); }
.pet-card h3 { position: relative; z-index: 1; margin-top: 10px; font-family: var(--font-head); font-size: 15px; font-weight: 700; letter-spacing: -0.015em; }
.pet-card p { position: relative; z-index: 1; margin-top: 3px; font-size: 10px; line-height: 1.45; color: var(--light-text-2); }
.pet-card--rare { --rarity: #16a34a; --rarity-soft: #eafbf1; }
.pet-card--epic { --rarity: #7c3aed; --rarity-soft: #f1edff; }
.pet-card--leg { --rarity: #d97706; --rarity-soft: #fff7e6; }
.pet-card--myth { --rarity: #db2777; --rarity-soft: #fff0f7; }
.pet-card--ultra { --rarity: #c026d3; --rarity-soft: #fbefff; }
.pets-note { margin-top: 26px; text-align: center; font-size: 11.5px; color: var(--light-text-3); }

/* ═══════════════════════════ STEPS ═══════════════════════════ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step {
  position: relative; overflow: hidden; padding: 26px;
  border-radius: 24px; background: #fff; border: 1px solid var(--light-line);
  box-shadow: 0 20px 50px -40px rgba(13, 27, 51, 0.4);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.step:hover { transform: translateY(-4px); box-shadow: 0 28px 56px -40px rgba(37, 99, 235, 0.3); }
.step__num {
  position: absolute; top: 18px; right: 20px;
  font-family: var(--font-head); font-size: 42px; font-weight: 800;
  line-height: 1; letter-spacing: -0.06em; color: #eaf2ff;
}
.step__icon {
  width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center;
  background: #eaf4ff; color: #2563eb; margin-bottom: 20px;
}
.step__icon .icon { width: 22px; height: 22px; }
.step h3 { font-family: var(--font-head); font-size: 18px; letter-spacing: -0.02em; }
.step p { margin-top: 8px; font-size: 12px; line-height: 1.6; color: var(--light-text-2); }
.start-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 36px; }
.start-cta span { font-size: 11px; color: var(--light-text-3); letter-spacing: 0.03em; }

/* ═══════════════════════════ FAQ ═════════════════════════════ */
.faq-layout { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-copy .lead { max-width: 360px; }
.faq-copy .btn { margin-top: 24px; }
.faq-list { display: grid; gap: 10px; }
.faq-item {
  border-radius: 18px; background: #fff; border: 1px solid var(--light-line);
  overflow: hidden; transition: border-color 0.3s, box-shadow 0.3s;
}
.faq-item.is-open { border-color: #bcd7ff; box-shadow: 0 14px 34px -28px rgba(37, 99, 235, 0.45); }
.faq-item__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 17px 20px; text-align: left;
  font-size: 13.5px; font-weight: 600; color: var(--light-text);
}
.faq-item__q i {
  width: 28px; height: 28px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: #f2f7ff; color: #2563eb;
  transition: transform 0.3s var(--ease), background 0.3s;
}
.faq-item__q i .icon { width: 14px; height: 14px; }
.faq-item.is-open .faq-item__q i { transform: rotate(45deg); background: #e6f1ff; }
.faq-item__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--ease); }
.faq-item.is-open .faq-item__panel { grid-template-rows: 1fr; }
.faq-item__inner { overflow: hidden; }
.faq-item__inner p { padding: 0 20px 18px; font-size: 12px; line-height: 1.65; color: var(--light-text-2); }
.faq-item__inner a { color: #2563eb; text-decoration: underline; text-decoration-color: rgba(37, 99, 235, 0.3); }

/* ═══════════════════════════ FINAL CTA ═══════════════════════ */
.final-cta { overflow: hidden; padding-bottom: clamp(80px, 10vw, 140px); }
.final-cta__glow {
  position: absolute; left: 50%; top: 10%; transform: translateX(-50%);
  width: 700px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.22), transparent 66%);
  filter: blur(70px); pointer-events: none;
}
.cta-card {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(40px, 6.5vw, 86px) 24px;
  border-radius: 40px; border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.3), transparent 55%),
    linear-gradient(160deg, #0d2342, #071326);
  box-shadow: 0 50px 110px -60px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.cta-card::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.04;
  background-image: radial-gradient(rgba(160, 210, 255, 0.7) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, #000, transparent 75%);
}
.cta-card__logo {
  position: relative; z-index: 2; width: 170px; height: 170px;
  margin: 0 auto 20px; padding: 14px; border-radius: 38px;
  background: linear-gradient(180deg, #ffffff, #eaf4ff);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.6), 0 0 70px rgba(59, 130, 246, 0.28), inset 0 1px 0 #fff;
}
.cta-card__logo img { width: 100%; height: 100%; object-fit: contain; }
.cta-card h2 {
  position: relative; z-index: 2;
  font-family: var(--font-head); font-size: clamp(44px, 6vw, 82px);
  font-weight: 800; line-height: 0.98; letter-spacing: -0.055em;
}
.cta-card > p { position: relative; z-index: 2; margin-top: 16px; font-size: 16px; color: var(--text-2); }
.cta-card__actions { position: relative; z-index: 2; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cta-card__note { position: relative; z-index: 2; display: block; margin-top: 18px; font-size: 10px; letter-spacing: 0.09em; color: var(--text-3); text-transform: uppercase; }
.cta-card__spark { position: absolute; z-index: 3; color: #9cc8ff; animation: sparkle 4.5s ease-in-out infinite; }
.cta-card__spark--1 { top: 12%; left: 16%; font-size: 12px; animation-delay: -1s; }
.cta-card__spark--2 { top: 24%; right: 14%; font-size: 9px; animation-delay: -2.2s; }
.cta-card__spark--3 { bottom: 20%; left: 10%; font-size: 8px; animation-delay: -3.1s; }
.cta-card__spark--4 { bottom: 30%; right: 9%; font-size: 11px; animation-delay: -1.7s; }
.cta-pet { position: absolute; z-index: 1; width: 140px; pointer-events: none; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.45)); opacity: 0.9; animation: float 8s ease-in-out infinite; }
.cta-pet--cat { left: 4%; bottom: 6%; transform: rotate(-8deg); animation-delay: -2s; }
.cta-pet--hamster { right: 5%; bottom: 8%; transform: rotate(8deg); animation-delay: -4s; }
.cta-pet--fox { right: 13%; top: 10%; width: 110px; transform: rotate(10deg); opacity: 0.55; animation-delay: -6s; }

/* ═══════════════════════════ FOOTER ══════════════════════════ */
.footer { background: #050d1b; border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 56px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.9fr 1fr; gap: 32px; }
.brand--footer { margin-bottom: 16px; }
.footer__brand p { max-width: 320px; font-size: 12px; line-height: 1.65; color: var(--text-3); }
.footer__mail { display: inline-block; margin-top: 14px; font-size: 12px; color: #8ec5ff; }
.footer__mail:hover { text-decoration: underline; }
.footer__col h3 { margin-bottom: 14px; font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.footer__col a { display: block; margin-bottom: 9px; font-size: 12px; color: var(--text-2); transition: color 0.25s; }
.footer__col a:hover { color: #fff; }
.footer__col--cta p { margin-bottom: 12px; font-size: 11.5px; color: var(--text-3); }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 38px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 10.5px; color: var(--text-3);
}
.footer__made { color: var(--text-3); }

/* ═══════════════════════════ MODALS ══════════════════════════ */
dialog.modal {
  border: 0; padding: 0; margin: auto;
  background: transparent; color: var(--text);
  width: min(94vw, 900px); max-width: 900px;
}
dialog.modal::backdrop { background: rgba(3, 8, 18, 0.82); backdrop-filter: blur(10px); }
.modal__inner {
  position: relative; padding: 22px;
  border-radius: 28px; border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(160deg, #0e203a, #071326);
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, 0.9);
}
.modal--video .modal__inner { padding: 10px; }
.modal__close {
  position: absolute; top: 12px; right: 12px; z-index: 4;
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(7, 19, 38, 0.72); border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff; backdrop-filter: blur(12px); transition: background 0.25s;
}
.modal__close:hover { background: rgba(255, 255, 255, 0.14); }
.modal__close .icon { width: 17px; height: 17px; }
.trailer { width: 100%; max-height: 78vh; border-radius: 20px; background: #000; display: block; }
.modal--release { max-width: 430px; }
.modal--release .modal__inner { max-width: 430px; margin: auto; padding: 38px 28px 28px; text-align: center; }
.modal__icon {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 20px;
  display: grid; place-items: center; background: #eaf4ff; color: #2563eb;
}
.modal__icon .icon { width: 30px; height: 30px; }
.modal--release h2 { font-family: var(--font-head); font-size: 30px; line-height: 1.08; letter-spacing: -0.04em; margin-bottom: 12px; }
.modal--release p { margin-bottom: 20px; font-size: 12.5px; line-height: 1.65; color: var(--text-2); }
.modal__later { display: block; margin: 14px auto 0; font-size: 11.5px; color: var(--text-3); }
.modal__later:hover { color: #fff; text-decoration: underline; }
.modal__note { display: block; margin-top: 16px; font-size: 9.5px; letter-spacing: 0.06em; color: var(--text-3); text-transform: uppercase; }

/* ═══════════════════════════ ANIMATIONS ══════════════════════ */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes pet-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.018); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.12); }
  50% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0.02); }
}
@keyframes sparkle {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.15); }
}
@keyframes scroll-dot {
  0% { opacity: 0; transform: translateY(0); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: translateY(13px); }
}
@keyframes aurora-one {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-60px, 50px, 0) scale(1.12); }
}
@keyframes aurora-two {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(70px, -40px, 0) scale(1.08); }
}
@keyframes hint-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
@keyframes msg-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes typing-dot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-3px); opacity: 1; }
}
@keyframes map-pulse {
  0% { transform: scale(0.7); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ═══════════════════════════ SHOP / WARDROBE / REPAIR ═══════════ */
.custom-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.92fr 0.96fr;
  gap: 16px;
  align-items: stretch;
}
.shop-card, .wardrobe-card, .repair-card {
  position: relative;
  overflow: hidden;
  min-height: 470px;
  border-radius: 28px;
  border: 1px solid var(--light-line);
  box-shadow: 0 26px 60px -45px rgba(13, 27, 51, 0.4);
}
.shop-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  background: linear-gradient(145deg, #f4f9ff, #ffffff 62%);
}
.shop-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.shop-card__balance {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 10px; border-radius: 99px; background: #fff;
  border: 1px solid var(--light-line); font-size: 10.5px; font-weight: 700;
  color: var(--light-text);
}
.shop-card__balance .icon { width: 14px; height: 14px; color: #f59e0b; }
.shop-tabs { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 16px; }
.shop-tabs span {
  padding: 6px 10px; border-radius: 99px; background: #fff;
  border: 1px solid var(--light-line); font-size: 9px; color: var(--light-text-2);
}
.shop-tabs .is-active { background: #2563eb; border-color: #2563eb; color: #fff; }
.shop-products { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.shop-product {
  display: flex; align-items: center; gap: 8px; min-width: 0;
  padding: 9px; border-radius: 14px; background: #fff; border: 1px solid var(--light-line);
}
.shop-product__icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.shop-product__icon .icon { width: 16px; height: 16px; }
.shop-product__icon--blue { background: #e8f2ff; color: #2563eb; }
.shop-product__icon--amber { background: #fff4e5; color: #f59e0b; }
.shop-product__icon--pink { background: #ffeaf2; color: #db2777; }
.shop-product__icon--purple { background: #f1edff; color: #7c3aed; }
.shop-product__icon--green { background: #e9fbf2; color: #059669; }
.shop-product__body { flex: 1; min-width: 0; }
.shop-product__body strong {
  display: block; font-size: 10px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.shop-product__body small { display: block; margin-top: 1px; font-size: 8px; color: var(--light-text-3); }
.shop-product__price { display: inline-flex; align-items: center; gap: 2px; font-size: 9px; font-weight: 700; color: #b45309; flex: none; }
.shop-product__price .icon { width: 11px; height: 11px; color: #f59e0b; }
.shop-card__foot {
  display: flex; flex-direction: column; gap: 7px;
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--light-line);
  font-size: 9px; line-height: 1.45; color: var(--light-text-3);
}
.shop-card__tag {
  display: inline-flex; align-items: center; gap: 4px; align-self: flex-start;
  padding: 4px 8px; border-radius: 99px; background: #fff7e6;
  color: #b45309; font-size: 8px; font-weight: 600;
}
.shop-card__tag .icon { width: 10px; height: 10px; }

.wardrobe-card {
  display: flex; flex-direction: column;
  padding: 22px;
  background:
    radial-gradient(circle at 82% 18%, rgba(244, 114, 182, 0.18), transparent 55%),
    linear-gradient(160deg, #fff5f9, #ffffff 62%);
}
.wardrobe-card__copy h3 {
  margin-top: 13px; font-family: var(--font-head); font-size: 23px;
  font-weight: 800; line-height: 1.08; letter-spacing: -0.035em;
}
.wardrobe-card__copy p { margin-top: 6px; font-size: 10.5px; line-height: 1.5; color: var(--light-text-2); }
.wardrobe-card__pet {
  position: relative; flex: 1; min-height: 235px;
  display: flex; align-items: flex-end; justify-content: center;
}
.wardrobe-card__pet > img {
  width: 82%; max-width: 265px; height: 100%; object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(120, 50, 80, 0.18));
  animation: pet-breathe 5s ease-in-out infinite;
}
.wardrobe-chip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 8px; border-radius: 99px; background: #fff;
  border: 1px solid #ffe0ec; box-shadow: 0 8px 18px -14px rgba(190, 24, 93, 0.45);
  font-size: 8.5px; font-weight: 600; color: #be185d; white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.wardrobe-chip .icon { width: 11px; height: 11px; }
.wardrobe-chip--hat { top: 20%; left: 1%; animation-delay: -1.2s; }
.wardrobe-chip--glasses { top: 40%; right: 0; animation-delay: -2.8s; }
.wardrobe-chip--vest { bottom: 16%; left: 5%; animation-delay: -4.1s; }
.wardrobe-card__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding-top: 12px; border-top: 1px solid #ffe4ee;
  font-size: 9px; color: var(--light-text-3);
}
.wardrobe-card__saved { display: inline-flex; align-items: center; gap: 4px; color: #059669; font-weight: 600; }
.wardrobe-card__saved .icon { width: 12px; height: 12px; }

.repair-card { display: flex; flex-direction: column; padding: 22px; background: #fff; }
.repair-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.edit-switch {
  width: 42px; height: 24px; flex: none; padding: 2px; border-radius: 99px;
  background: linear-gradient(135deg, #5aa2ff, #2563eb);
  border: 1px solid rgba(37, 99, 235, 0.25);
  transition: background 0.3s, border-color 0.3s;
}
.edit-switch span {
  display: block; width: 18px; height: 18px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s var(--ease);
}
.is-editing-off .edit-switch { background: #cbd5e1; border-color: #cbd5e1; }
.is-editing-off .edit-switch span { transform: translateX(18px); }

.repair-room {
  position: relative; flex: 1; min-height: 260px; margin: 14px 0 12px;
  border-radius: 20px; overflow: hidden;
  background: linear-gradient(180deg, #dff1ff, #f8fcff);
}
.repair-room__wall {
  position: absolute; inset: 0 0 32% 0;
  background: linear-gradient(180deg, #d9eeff, #eef8ff 70%, #f7fbff);
}
.repair-room__wall::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(70, 130, 200, 0.1) 1px, transparent 1px);
  background-size: 17px 17px; opacity: 0.5;
}
.repair-room__window {
  position: absolute; top: 10%; left: 8%; width: 42%; height: 30%;
  border-radius: 14px; overflow: hidden;
  background: linear-gradient(180deg, #8ecbff, #e8f7ff);
  border: 5px solid #fff;
  box-shadow: inset 0 0 0 1px rgba(60, 120, 200, 0.12), 0 12px 26px -18px rgba(30, 80, 150, 0.4);
}
.repair-room__window::before, .repair-room__window::after { content: ''; position: absolute; background: #fff; opacity: 0.85; }
.repair-room__window::before { top: 0; bottom: 0; left: 50%; width: 3px; transform: translateX(-50%); }
.repair-room__window::after { left: 0; right: 0; top: 52%; height: 3px; }
.repair-room__sun {
  position: absolute; top: 10%; right: 12%; width: 22px; height: 22px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff7cc, #ffd166);
  box-shadow: 0 0 18px rgba(255, 209, 102, 0.65);
}
.repair-room__cloud {
  position: absolute; left: 16%; top: 35%; width: 30px; height: 10px; border-radius: 99px;
  background: rgba(255, 255, 255, 0.9); box-shadow: 10px -5px 0 -1px rgba(255, 255, 255, 0.9);
}
.repair-room__floor {
  position: absolute; left: 0; right: 0; bottom: 0; height: 34%;
  background: linear-gradient(180deg, #f4e6d4, #e8d2b8 60%, #e2c9ab);
}
.repair-room__floor::before {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(150, 110, 70, 0.1) 0 1px, transparent 1px 30px);
  transform: perspective(160px) rotateX(22deg); transform-origin: top;
}
.repair-room__rug {
  position: absolute; bottom: 4%; left: 14%; width: 72%; height: 15%;
  border-radius: 50%; background: radial-gradient(ellipse, #b8d9ff, #d9ecff 58%, transparent 72%);
  opacity: 0.95;
}
.repair-room__lamp { position: absolute; right: 8%; top: 10%; width: 11%; height: 44%; }
.repair-room__lamp span {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 34px; height: 23px; border-radius: 22px 22px 6px 6px;
  background: linear-gradient(145deg, #ffe7a3, #ffc44d);
  box-shadow: 0 10px 24px rgba(255, 196, 77, 0.38);
}
.repair-room__lamp b {
  position: absolute; top: 8px; bottom: 0; left: 50%; width: 3px;
  transform: translateX(-50%); background: #c58b4b; border-radius: 99px;
}
.repair-room__sofa {
  position: absolute; left: 5%; bottom: 22%; width: 32%; height: 20%;
  border-radius: 11px 11px 9px 9px;
  background: linear-gradient(145deg, #7fb8ff, #4f8fe8);
  box-shadow: 0 12px 22px -14px rgba(30, 70, 140, 0.5), inset 0 2px 0 rgba(255, 255, 255, 0.3);
}
.repair-room__sofa i { position: absolute; top: -7px; width: 42%; height: 10px; border-radius: 7px; background: linear-gradient(145deg, #9ac8ff, #6aa6f5); }
.repair-room__sofa i:nth-child(1) { left: 3%; }
.repair-room__sofa i:nth-child(2) { right: 3%; }
.repair-room__sofa b { position: absolute; left: 8%; right: 8%; bottom: 12%; height: 5px; border-radius: 99px; background: rgba(255, 255, 255, 0.22); }
.repair-room__plant { position: absolute; right: 5%; bottom: 22%; width: 14%; height: 24%; }
.repair-room__plant b {
  position: absolute; bottom: 0; left: 25%; width: 50%; height: 34%; border-radius: 4px 4px 8px 8px;
  background: linear-gradient(145deg, #d8a274, #b97a4b);
}
.repair-room__plant i {
  position: absolute; bottom: 28%; left: 42%; width: 15%; height: 34%; border-radius: 99px;
  background: linear-gradient(180deg, #4ecb8b, #1f9d68); transform-origin: bottom center;
}
.repair-room__plant i:nth-child(2) { transform: rotate(-42deg); left: 24%; }
.repair-room__plant i:nth-child(3) { transform: rotate(40deg); left: 58%; }
.repair-room__plant i:nth-child(4) { transform: rotate(4deg); height: 40%; }
.repair-room__pet { position: absolute; left: 56%; bottom: 7%; width: 27%; height: 48%; z-index: 2; }
.repair-room__pet img {
  width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 14px 18px rgba(40, 70, 120, 0.2));
  animation: pet-breathe 5s ease-in-out infinite;
}
.repair-room::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.1) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.7;
  transition: opacity 0.3s;
}
.is-editing-off .repair-room::after { opacity: 0; }
.edit-outline {
  position: absolute; inset: -7px; z-index: 2;
  border: 2px dashed #2563eb; border-radius: 12px;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
  pointer-events: none;
  transition: opacity 0.3s, visibility 0.3s;
}
.edit-handle {
  position: absolute; z-index: 4; width: 9px; height: 9px; border-radius: 50%;
  background: #fff; border: 2px solid #2563eb;
  transition: opacity 0.3s, visibility 0.3s;
}
.edit-handle--tl { left: -12px; top: -12px; }
.edit-handle--tr { right: -12px; top: -12px; }
.edit-handle--bl { left: -12px; bottom: -12px; }
.edit-handle--br { right: -12px; bottom: -12px; }
.edit-toolbar {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 6;
  display: flex; gap: 4px; padding: 4px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.76); border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 26px -18px rgba(30, 70, 140, 0.6);
  backdrop-filter: blur(14px);
  transition: opacity 0.3s, visibility 0.3s;
}
.edit-toolbar span { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; color: #64748b; }
.edit-toolbar .icon { width: 13px; height: 13px; }
.edit-toolbar .is-active, .edit-toolbar__done { background: #2563eb; color: #fff; }
.edit-hint {
  position: absolute; left: 50%; bottom: 54px; transform: translateX(-50%); z-index: 6;
  padding: 5px 8px; border-radius: 99px; white-space: nowrap;
  background: rgba(15, 32, 58, 0.66); color: #e6f0ff; font-size: 7.5px;
  backdrop-filter: blur(8px);
  transition: opacity 0.3s, visibility 0.3s;
}
.is-editing-off .edit-outline, .is-editing-off .edit-handle,
.is-editing-off .edit-toolbar, .is-editing-off .edit-hint {
  opacity: 0; visibility: hidden;
}
.repair-card__note { margin-top: 2px; font-size: 10px; line-height: 1.55; color: var(--light-text-2); }

/* ═══════════════════════════ FRIEND CHAT ══════════════════════ */
.friend-chat {
  overflow: hidden; border-radius: 24px; background: #fff;
  border: 1px solid var(--light-line);
  box-shadow: 0 26px 60px -45px rgba(13, 27, 51, 0.4);
}
.friend-chat__head { display: flex; align-items: center; gap: 9px; padding: 12px 14px; border-bottom: 1px solid var(--light-line); }
.friend-chat__head .friend-avatar { width: 34px; height: 34px; font-size: 13px; }
.friend-chat__head > div { flex: 1; display: grid; gap: 1px; }
.friend-chat__head strong { font-size: 12px; }
.friend-chat__head > div span { font-size: 8.5px; color: #059669; }
.friend-chat__tools { display: flex; gap: 8px; color: var(--light-text-3); }
.friend-chat__tools .icon { width: 15px; height: 15px; }
.friend-chat__body { display: flex; flex-direction: column; gap: 7px; padding: 12px 14px; background: #f7fbff; }
.fmsg { max-width: 84%; padding: 7px 10px; border-radius: 13px; font-size: 10px; line-height: 1.45; }
.fmsg--in { align-self: flex-start; background: #fff; border: 1px solid var(--light-line); border-bottom-left-radius: 4px; }
.fmsg--out { align-self: flex-end; background: linear-gradient(135deg, #5aa2ff, #2563eb); color: #fff; border-bottom-right-radius: 4px; }
.fphoto {
  position: relative; align-self: flex-start; width: 42%; aspect-ratio: 1.5 / 1;
  overflow: hidden; border-radius: 12px; border: 2px solid #fff;
  background: linear-gradient(180deg, #ffb56b 0%, #ff6b8a 55%, #7c3aed 100%);
  box-shadow: 0 8px 18px -12px rgba(13, 27, 51, 0.4);
}
.fphoto::before {
  content: ''; position: absolute; left: -12%; bottom: -34%; width: 82%; height: 76%;
  border-radius: 50%; background: #3b2a6b; opacity: 0.5;
}
.fphoto::after {
  content: ''; position: absolute; right: -12%; bottom: -26%; width: 72%; height: 64%;
  border-radius: 50%; background: #1e1b4b; opacity: 0.45;
}
.fphoto span {
  position: absolute; left: 6px; bottom: 5px; z-index: 2;
  padding: 2px 5px; border-radius: 4px; background: rgba(0, 0, 0, 0.3);
  color: #fff; font-size: 7px;
}
.fvoice {
  align-self: flex-start; display: flex; align-items: center; gap: 7px;
  padding: 7px 9px; border-radius: 13px; background: #fff; border: 1px solid var(--light-line);
}
.fvoice__play { width: 24px; height: 24px; border-radius: 50%; background: #2563eb; color: #fff; display: grid; place-items: center; flex: none; }
.fvoice__play .icon { width: 9px; height: 9px; }
.fvoice i {
  width: 68px; height: 14px;
  background: repeating-linear-gradient(90deg, #8db8ff 0 2px, transparent 2px 5px);
  border-radius: 2px;
}
.fvoice em { font-style: normal; font-size: 8px; color: var(--light-text-3); }
.fsticker {
  align-self: flex-end; width: 56px; height: 56px; padding: 3px;
  border-radius: 14px; background: #fff; border: 2px solid #fff;
  box-shadow: 0 8px 16px -10px rgba(13, 27, 51, 0.3);
  transform: rotate(5deg);
}
.fsticker img { width: 100%; height: 100%; object-fit: contain; }
.friend-chat__input { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-top: 1px solid var(--light-line); background: #fff; }
.friend-chat__input > span:first-child { flex: 1; padding: 7px 10px; border-radius: 12px; background: #f2f8ff; color: var(--light-text-3); font-size: 9.5px; }
.friend-chat__attach { display: flex; gap: 5px; color: var(--light-text-3); }
.friend-chat__attach .icon { width: 14px; height: 14px; }
.friend-chat__input b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #2563eb; color: #fff; flex: none; }
.friend-chat__input b .icon { width: 13px; height: 13px; }

/* ═══════════════════════════ PETS BY RARITY ═══════════════════ */
.pets-collection {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px; align-items: start;
}
.rarity-group { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.rarity-group__head {
  display: flex; align-items: center; gap: 8px;
  padding: 0 2px 9px; border-bottom: 1px solid var(--light-line);
}
.rarity-group__dot {
  width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: var(--rarity, #16a34a);
  box-shadow: 0 0 0 4px var(--rarity-soft, #eafbf1);
}
.rarity-group__title {
  font-family: var(--font-head); font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--rarity, #16a34a); white-space: nowrap;
}
.rarity-group__head i { flex: 1; height: 1px; background: var(--light-line); }
.rarity-group__cards { display: grid; gap: 12px; }
.rarity-group--rare { --rarity: #16a34a; --rarity-soft: #eafbf1; }
.rarity-group--epic { --rarity: #7c3aed; --rarity-soft: #f1edff; }
.rarity-group--leg { --rarity: #d97706; --rarity-soft: #fff7e6; }
.rarity-group--myth { --rarity: #db2777; --rarity-soft: #fff0f7; }
.rarity-group--ultra { --rarity: #c026d3; --rarity-soft: #fbefff; }

/* ═══════════════════════════ RESPONSIVE ══════════════════════ */
@media (max-width: 1120px) {
  .nav { gap: 20px; }
  .hero__title { font-size: clamp(46px, 6vw, 78px); }
  .hero__visual { min-height: 620px; }
  .hero__orbit--outer { width: 540px; height: 540px; }
  .hero__orbit--inner { width: 430px; height: 430px; }
  .phone { width: 290px; }
  .float-card--notify { left: -2%; }
  .float-card--food { left: -2%; }
  .hero-pet--cat { width: 155px; left: -6%; }
  .hero-pet--fox { width: 130px; right: -7%; }
  .pets-grid { grid-template-columns: repeat(5, 1fr); gap: 12px; }
  .pet-card__image { height: 145px; }
}

@media (max-width: 960px) {
  .nav { display: none; }
  .menu-toggle { display: grid; }
  .hero { padding-top: 128px; }
  .hero__inner { grid-template-columns: 1fr; gap: 8px; min-height: 0; }
  .hero__content { max-width: 720px; }
  .hero__visual { width: 100%; max-width: 560px; min-height: 640px; margin: 8px auto 0; }
  .hero__stats { max-width: 640px; }
  .manifesto__grid { grid-template-columns: 1fr; }
  .quote-card { min-height: 380px; }
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .home-layout, .character-layout, .care-layout, .chat-layout, .friends-layout,
  .games-layout, .privacy-layout, .faq-layout { grid-template-columns: 1fr; }
  .room-wrap { width: 100%; max-width: 640px; margin-inline: auto; }
  .character-copy { max-width: 640px; }
  .care-card { max-width: 620px; margin-inline: auto; }
  .chat-visual { order: 2; }
  .chat-copy { max-width: 640px; }
  .friends-side { max-width: 640px; }
  .games-grid { max-width: 640px; }
  .arcade-wrap { margin-top: 20px; }
  .extras-grid { grid-template-columns: 1fr; }
  .masks-card, .widgets-card { min-height: 430px; }
  .privacy-grid { max-width: 640px; }
  .pets-grid { grid-template-columns: repeat(3, 1fr); }
  .pet-card__image { height: 180px; }
  .steps { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .faq-copy { max-width: 640px; }
  .faq-list { max-width: 720px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cta-pet--fox { display: none; }
}

@media (max-width: 720px) {
  .container { width: calc(100% - 40px); }
  .section { padding: 68px 0; }
  .header { padding: 12px 0; }
  .header__inner { gap: 12px; }
  .brand__mark { width: 40px; height: 40px; border-radius: 12px; }
  .brand__word { font-size: 20px; }
  .header .btn--store { display: none; }
  .hero { padding-top: 112px; padding-bottom: 64px; }
  .hero__title { font-size: clamp(42px, 12vw, 62px); }
  .hero__lead { font-size: 15.5px; }
  .hero__actions .btn { width: 100%; }
  .hero__stats { grid-template-columns: 1fr 1fr; gap: 18px 12px; margin-top: 34px; }
  .hero__visual { min-height: 560px; }
  .hero__orbit--outer { width: 390px; height: 390px; }
  .hero__orbit--inner { width: 320px; height: 320px; }
  .hero__halo { width: 380px; height: 380px; }
  .phone { width: 270px; }
  .float-card--notify { display: none; }
  .float-card--days { bottom: 4%; right: -1%; }
  .float-card--food { bottom: 17%; left: -1%; }
  .float-card--mood { top: 10%; right: -1%; }
  .hero-pet { display: none; }
  .hero__scroll { display: none; }
  .pillars { grid-template-columns: 1fr; }
  .quote-card { min-height: 360px; padding: 22px; }
  .quote-card__bubble { max-width: 240px; }
  .quote-card__bubble p { font-size: 18px; }
  .quote-card__pet { width: 62%; }
  .h2 { font-size: clamp(34px, 9vw, 48px); }
  .lead { font-size: 15px; }
  .room-card { aspect-ratio: 1 / 1.04; }
  .room-card__pet { width: 64%; height: 62%; }
  .room-card__sofa { width: 26%; }
  .room-card__lamp { right: 7%; }
  .radar-card { padding: 18px; }
  .radar-wrap { width: min(100%, 360px); }
  .radar-label { font-size: 8px; }
  .radar-label--left, .radar-label--right { display: none; }
  .character-stats { gap: 8px; }
  .character-stats > div { padding: 14px; }
  .character-stats strong { font-size: 22px; }
  .care-card { padding: 16px; }
  .care-card__scene { height: 210px; }
  .care-actions button span { font-size: 8.5px; }
  .chat-phone { max-width: 360px; }
  .chat-badge { display: none; }
  .map-card { min-height: 360px; }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .game-card { min-height: 120px; }
  .games-grid .game-card:last-child { grid-column: 1 / -1; }
  .arcade-wrap { display: none; }
  .masks-card, .widgets-card { min-height: 460px; }
  .widget-scene { height: 230px; }
  .pets-grid { grid-template-columns: repeat(2, 1fr); }
  .pet-card__image { height: 170px; }
  .pet-card__rarity { font-size: 7.5px; }
  .step { padding: 22px; }
  .faq-item__q { padding: 15px 16px; font-size: 12.5px; }
  .faq-item__inner p { padding: 0 16px 16px; }
  .cta-card { border-radius: 30px; padding: 50px 20px; }
  .cta-card__logo { width: 140px; height: 140px; border-radius: 30px; }
  .cta-card__actions .btn { width: 100%; }
  .cta-pet { width: 100px; opacity: 0.6; }
  .cta-pet--cat { left: 0; bottom: 2%; }
  .cta-pet--hamster { right: 0; bottom: 2%; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
  .modal__inner { padding: 16px; }
  .modal--release .modal__inner { padding: 30px 20px 22px; }
  .modal--release h2 { font-size: 26px; }
}

@media (max-width: 480px) {
  .container { width: calc(100% - 32px); }
  .hero { padding-top: 104px; }
  .hero__title { font-size: 42px; }
  .hero__visual { min-height: 500px; }
  .phone { width: 240px; border-radius: 42px; padding: 7px; }
  .phone__frame, .phone__screen, .phone__glare { border-radius: 36px; }
  .phone__notch { width: 84px; height: 22px; top: 8px; }
  .float-card { padding: 7px 9px; border-radius: 13px; }
  .float-card__icon { width: 27px; height: 27px; border-radius: 9px; }
  .float-card__body b { font-size: 9px; }
  .float-card__body small { font-size: 8px; }
  .float-card__value { font-size: 10px; }
  .float-card--food { left: -2%; }
  .float-card--days { right: -2%; }
  .hero__meta { gap: 8px; font-size: 10.5px; }
  .hero__stats { gap: 16px 10px; }
  .hero-stat strong { font-size: 25px; }
  .room-card__top { top: 3%; left: 3%; right: 3%; }
  .room-pill { padding: 5px 8px; font-size: 8px; }
  .room-card__hint { font-size: 8px; bottom: 19%; }
  .room-card__pet { width: 68%; height: 58%; }
  .room-card__sofa { height: 15%; bottom: 22%; }
  .room-card__lamp { display: none; }
  .room-card__plant { width: 15%; right: 3%; }
  .room-toolbar { bottom: 4%; }
  .room-toolbar span { width: 27px; height: 27px; }
  .radar-label { display: none; }
  .radar-card__traits { grid-template-columns: 1fr; }
  .character-quote p { font-size: 24px; }
  .character-stats { grid-template-columns: 1fr 1fr; }
  .care-card__scene { height: 190px; }
  .care-bubble { font-size: 10px; top: 10%; left: 5%; }
  .care-actions button { font-size: 13px; }
  .chat-body { min-height: 360px; padding: 12px; }
  .msg { font-size: 10.5px; }
  .map-card { min-height: 330px; }
  .map-card__bottom { flex-direction: column; align-items: flex-start; gap: 5px; }
  .friend-card__shared img { width: 40px; height: 40px; }
  .game-card { min-height: 108px; padding: 12px; }
  .game-card > span { font-size: 26px; }
  .game-card h3 { font-size: 12px; }
  .masks-card, .widgets-card { min-height: 430px; }
  .widget { left: 5%; width: 90%; }
  .widget--distance { width: 62%; left: 4%; }
  .pets-grid { gap: 10px; }
  .pet-card { padding: 10px 10px 14px; border-radius: 20px; }
  .pet-card__image { height: 145px; }
  .pet-card h3 { font-size: 14px; }
  .pet-card p { font-size: 9px; }
  .pet-card__rarity { top: 9px; right: 9px; padding: 3px 6px; font-size: 7px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__brand { grid-column: auto; }
  .cta-pet { display: none; }
  .cta-card h2 { font-size: 40px; }
  .modal--video .modal__inner { padding: 6px; }
}

/* ── Reduced motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .radar__shape { transform: scale(1); opacity: 1; }
  .msg, .chat-system, .typing { opacity: 1; transform: none; }
  .care-card .care-stat__track i { width: var(--v, 0%); }
}

/* ═══════════════════════════ LEGAL PAGES ═════════════════════ */
.legal-hero { position: relative; overflow: hidden; padding: 144px 0 30px; background: radial-gradient(ellipse 60% 50% at 70% 20%, rgba(37, 99, 235, 0.18), transparent 65%), var(--bg); }
.legal-hero__inner { position: relative; z-index: 2; max-width: 900px; }
.legal-hero h1 { margin: 16px 0 14px; font-family: var(--font-head); font-size: clamp(40px, 5vw, 64px); font-weight: 800; line-height: 1; letter-spacing: -0.05em; overflow-wrap: anywhere; }
.legal-hero p { max-width: 640px; font-size: 15px; line-height: 1.65; color: var(--text-2); }
.legal-meta { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 22px; font-size: 11px; color: var(--text-3); }
.legal-meta span { display: inline-flex; align-items: center; gap: 6px; }
.legal-meta i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.legal-wrap { padding: 56px 0 100px; background: var(--bg); }
.legal { max-width: 860px; margin: 0 auto; }
.legal__card { padding: 24px; border-radius: 20px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.035); }
.legal h2 { margin: 38px 0 12px; font-family: var(--font-head); font-size: 23px; font-weight: 700; letter-spacing: -0.025em; color: #fff; }
.legal h3 { margin: 24px 0 8px; font-family: var(--font-head); font-size: 16px; font-weight: 700; color: #fff; }
.legal p { margin: 10px 0; font-size: 13.5px; line-height: 1.75; color: var(--text-2); }
.legal ul, .legal ol { display: grid; gap: 7px; margin: 10px 0 10px 20px; font-size: 13.5px; line-height: 1.7; color: var(--text-2); }
.legal ul { list-style: disc; }
.legal ol { list-style: decimal; }
.legal li::marker { color: #6aa8ff; }
.legal a { color: #8fc5ff; text-decoration: underline; text-decoration-color: rgba(143, 197, 255, 0.35); }
.legal a:hover { color: #b9d8ff; }
.legal strong { color: #e8f1ff; font-weight: 600; }
.legal__back { display: inline-flex; align-items: center; gap: 8px; margin-top: 34px; padding: 11px 16px; border-radius: 99px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); font-size: 12px; color: var(--text-2); transition: background 0.25s, color 0.25s; }
.legal__back:hover { background: rgba(255, 255, 255, 0.09); color: #fff; }
.legal__back .icon { width: 15px; height: 15px; transform: rotate(180deg); }
.legal-toc { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.legal-toc a { padding: 6px 10px; border-radius: 99px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); font-size: 10.5px; color: var(--text-2); text-decoration: none; }
.legal-toc a:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.legal-delete-box { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 22px 0; padding: 18px; border-radius: 18px; background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(124, 58, 237, 0.1)); border: 1px solid rgba(110, 160, 255, 0.22); }
.legal-delete-box p { margin: 0; flex: 1 1 280px; font-size: 12.5px; color: var(--text-2); }
.legal-delete-box .btn { flex: none; }
@media (max-width: 720px) {
  .legal-hero { padding-top: 116px; }
  .legal-hero h1 { font-size: clamp(30px, 8.5vw, 40px); }
  .legal-wrap { padding: 38px 0 70px; }
  .legal h2 { font-size: 21px; }
  .legal p, .legal ul, .legal ol { font-size: 13px; }
}

/* ── New blocks: responsive ─────────────────────────────────── */
@media (max-width: 1120px) {
  .custom-grid { gap: 12px; }
  .shop-card, .wardrobe-card, .repair-card { min-height: 450px; }
  .shop-card, .wardrobe-card, .repair-card { padding: 19px; }
  .wardrobe-card__copy h3 { font-size: 21px; }
  .pet-card__image { height: 155px; }
}

@media (max-width: 960px) {
  .custom-grid { grid-template-columns: 1fr; gap: 16px; }
  .shop-card, .wardrobe-card, .repair-card { min-height: 430px; }
  .shop-products { grid-template-columns: 1fr 1fr; }
  .wardrobe-card__pet { min-height: 280px; }
  .wardrobe-card__pet > img { max-width: 300px; }
  .repair-room { min-height: 300px; }
  .pets-collection { grid-template-columns: 1fr; gap: 26px; }
  .rarity-group__cards { grid-template-columns: 1fr 1fr; }
  .pet-card__image { height: 200px; }
  .friend-chat { max-width: 640px; }
  .chat-badge { display: none; }
}

@media (max-width: 720px) {
  .custom-grid { gap: 14px; }
  .shop-card, .wardrobe-card, .repair-card { min-height: 0; padding: 17px; }
  .shop-products { gap: 7px; }
  .shop-product { padding: 8px; }
  .shop-product__icon { width: 30px; height: 30px; }
  .wardrobe-card__pet { min-height: 250px; }
  .wardrobe-card__pet > img { max-width: 250px; }
  .repair-room { min-height: 240px; }
  .edit-hint { bottom: 52px; font-size: 7px; }
  .edit-toolbar { bottom: 13px; }
  .pet-card__image { height: 170px; }
  .rarity-group__cards { gap: 10px; }
  .friend-chat { max-width: none; }
  .friend-chat__body { padding: 11px 12px; }
}

@media (max-width: 480px) {
  .shop-card, .wardrobe-card, .repair-card { padding: 15px; border-radius: 22px; }
  .shop-product { gap: 6px; }
  .shop-product__icon { width: 28px; height: 28px; }
  .shop-product__body strong { font-size: 9.5px; }
  .shop-product__body small { font-size: 7.5px; }
  .shop-product__price { font-size: 8.5px; }
  .wardrobe-card__copy h3 { font-size: 21px; }
  .wardrobe-card__pet { min-height: 230px; }
  .wardrobe-card__pet > img { max-width: 220px; }
  .wardrobe-chip { font-size: 7.5px; padding: 4px 7px; }
  .repair-room { min-height: 220px; }
  .repair-card__note { font-size: 9.5px; }
  .edit-toolbar span { width: 24px; height: 24px; }
  .edit-hint { bottom: 48px; }
  .pet-card__image { height: 145px; }
  .pets-collection { gap: 22px; }
  .rarity-group__title { font-size: 9px; }
  .friend-chat__head { padding: 10px 12px; }
  .friend-chat__body { gap: 6px; }
  .fmsg { font-size: 9.5px; }
  .fphoto { width: 52%; }
  .fsticker { width: 48px; height: 48px; }
}
