/* ==========================================================
   maluonpaper — Frutiger Aero
   Índice: 1 base · 2 cenário · 3 decoração · 4 bolhas
           5 perfil · 6 botões de vidro · 7 rodapé · 8 movimento
   ========================================================== */

/* ---------- 1. base ---------- */
:root {
  --ink: #05336f;
  --ink-soft: #064684;
  --font: "Frutiger", "Segoe UI", "Trebuchet MS", "Helvetica Neue", system-ui, sans-serif;
  --water-h: 36svh;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: #1a8cff; }
body {
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; touch-action: manipulation;
  margin: 0;
  min-height: 100svh;
  font-family: var(--font);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  background: #1a8cff;
}
svg { display: block; }

/* ---------- 2. cenário ---------- */
.scene {
  position: fixed; inset: 0;
  height: 100lvh;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.scene > * { position: absolute; }
.sky {
  inset: 0;
  background:
    radial-gradient(120% 60% at 72% 12%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 55%),
    radial-gradient(90% 50% at 0% 0%, rgba(5, 40, 170, .55), rgba(5, 40, 170, 0) 70%),
    linear-gradient(180deg, #0a47cf 0%, #1478ee 24%, #2fa6ff 46%, #6dd0ff 64%, #c4f1ff 80%, #eafaff 100%);
}
.sun {
  left: 72%; top: 12%;
  width: 46vmin; height: 46vmin;
  margin: -23vmin 0 0 -23vmin;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0 9%, rgba(255, 252, 220, .95) 14%, rgba(255, 244, 190, .55) 30%, rgba(255, 255, 255, .18) 52%, rgba(255, 255, 255, 0) 70%);
  animation: breathe 9s ease-in-out infinite;
}
.rays {
  left: 72%; top: 12%;
  width: 130vmax; height: 130vmax;
  margin: -65vmax 0 0 -65vmax;
  background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, .22) 0 4deg, rgba(255, 255, 255, 0) 4deg 15deg);
  -webkit-mask-image: radial-gradient(circle, #000 0, rgba(0, 0, 0, .5) 22%, transparent 55%);
          mask-image: radial-gradient(circle, #000 0, rgba(0, 0, 0, .5) 22%, transparent 55%);
  animation: spin 240s linear infinite;
  will-change: transform;
}
.flare {
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .5), rgba(150, 230, 255, .25) 55%, rgba(255, 255, 255, 0) 70%);
  border: 1px solid rgba(255, 255, 255, .35);
}
.flare.f1 { left: 56%; top: 24%; width: 38px; height: 38px; }
.flare.f2 { left: 42%; top: 33%; width: 70px; height: 70px; opacity: .6; }
.flare.f3 { left: 26%; top: 44%; width: 26px; height: 26px; opacity: .7; }

/* parallax wrappers */
.par {
  inset: 0;
  transform: translate3d(calc(var(--px, 0) * var(--d, 0) * 1px), calc(var(--py, 0) * var(--d, 0) * .6px), 0);
  transition: transform .5s ease-out;
}
.par[data-depth="-6"]  { --d: -6; }
.par[data-depth="10"]  { --d: 10; }

/* nuvens */
.cloud { opacity: .95; filter: drop-shadow(0 6px 10px rgba(255, 255, 255, .35)); }
.cloud svg { width: 100%; height: auto; }
.cloud { animation: drift var(--t, 90s) ease-in-out infinite alternate; }
.c1 { left: -12%; top: 11%; width: 68vmin; min-width: 240px; --t: 110s; --dx: 18vw; }
.c2 { right: -16%; top: 27%; width: 82vmin; min-width: 300px; --t: 140s; --dx: -22vw; opacity: .9; }
.c3 { left: 8%;  top: 41%; width: 58vmin; min-width: 220px; --t: 120s; --dx: 14vw; opacity: .85; }
.c4 { right: 6%; top: 5%;  width: 44vmin; min-width: 170px; --t: 100s; --dx: -12vw; opacity: .8; }
.c5 { left: -6%; top: 52%; width: 74vmin; min-width: 260px; --t: 160s; --dx: 20vw; opacity: .75; }

/* horizonte / cidade */
.horizon { left: 0; right: 0; bottom: calc(var(--water-h) - 1px); height: 20svh; }
.skyline { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; }
.skyline--back  { opacity: .75; height: 86%; }
.skyline--front { opacity: .95; height: 64%; }
.haze {
  position: absolute; left: 0; right: 0; bottom: 0; height: 70%;
  background: linear-gradient(0deg, rgba(235, 252, 255, .95), rgba(200, 242, 255, .45) 55%, rgba(255, 255, 255, 0));
}

/* água */
.water {
  left: 0; right: 0; bottom: 0; height: var(--water-h);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .85) 0, rgba(255, 255, 255, 0) 7%),
    linear-gradient(180deg, #8fe6ff 0%, #3cbcfb 22%, #1788ec 58%, #0a55c0 100%);
}
.water__col {
  left: 66%; top: 0; width: 34%; height: 100%;
  position: absolute;
  background: radial-gradient(60% 100% at 50% 0, rgba(255, 255, 255, .6), rgba(255, 255, 255, 0) 70%);
  mix-blend-mode: soft-light;
}
.wave {
  position: absolute; left: 0; width: calc(100% + 400px); height: 40px;
  background-repeat: repeat-x;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='40' viewBox='0 0 240 40'%3E%3Cpath d='M0 22Q60 4 120 22T240 22' fill='none' stroke='rgba(255,255,255,.65)' stroke-width='2.4'/%3E%3Cpath d='M0 30Q60 14 120 30T240 30' fill='none' stroke='rgba(255,255,255,.25)' stroke-width='1.4'/%3E%3C/svg%3E");
  animation: wave var(--sp) linear infinite;
  will-change: transform;
}
.w1 { top: 10%; background-size: 110px 18px; --p: 110px; --sp: 14s; opacity: .55; }
.w2 { top: 34%; background-size: 220px 36px; --p: 220px; --sp: 20s; opacity: .55; animation-direction: reverse; height: 36px; }
.w3 { top: 66%; background-size: 400px 66px; --p: 400px; --sp: 26s; opacity: .45; height: 66px; }
.glints { position: absolute; inset: 0; }
.glint {
  position: absolute; width: 6px; height: 6px; border-radius: 50%;
  background: radial-gradient(circle, #fff 0 30%, rgba(255, 255, 255, 0) 70%);
  box-shadow: 0 0 8px 2px rgba(255, 255, 255, .8);
  animation: twinkle var(--t, 3s) ease-in-out var(--dl, 0s) infinite;
  opacity: 0;
}

/* ---------- 3. decoração: folhas, estrelas, brilhos ---------- */
.leaves { position: absolute; width: min(62vw, 300px); height: auto; filter: drop-shadow(0 6px 8px rgba(0, 60, 40, .35)); }
.leaves--tl { left: -2px; top: -2px; transform-origin: 3% 3%; animation: sway 7s ease-in-out infinite; }
.leaves--tr { right: -2px; top: -2px; width: min(54vw, 262px); transform-origin: 97% 3%; animation: sway 8.5s ease-in-out -2s infinite reverse; }
.leaves--bl { left: -6px; bottom: -6px; width: min(36vw, 190px); transform-origin: 3% 97%; animation: sway 9s ease-in-out -1s infinite; }
.leaves--br { right: -6px; bottom: -6px; width: min(32vw, 170px); transform-origin: 97% 97%; animation: sway 8s ease-in-out -4s infinite reverse; }

.scene .gstar, .scene .spark { position: absolute; width: var(--w); height: var(--w); filter: drop-shadow(0 0 8px rgba(255, 255, 255, .85)) drop-shadow(0 4px 6px rgba(0, 70, 170, .35)); }
.scene .gstar { animation: floaty var(--t, 7s) ease-in-out var(--dl, 0s) infinite, tilt 9s ease-in-out var(--dl, 0s) infinite; }
.scene .spark { animation: twinkle2 var(--t, 3.4s) ease-in-out var(--dl, 0s) infinite; }
.gs1 { --w: 54px; left: 6%;  top: 30%; --t: 7s; }
.gs2 { --w: 38px; right: 7%; top: 36%; --t: 6s; --dl: -2s; }
.gs3 { --w: 30px; left: 15%; top: 62%; --t: 8s; --dl: -4s; }
.gs4 { --w: 64px; right: 9%; bottom: 18%; --t: 9s; --dl: -1s; }
.gs5 { --w: 26px; left: 44%; top: 6%; --t: 6.5s; --dl: -3s; }
.sp1 { --w: 30px; left: 60%; top: 17%; --t: 3.2s; }
.sp2 { --w: 22px; left: 10%; top: 48%; --t: 4s; --dl: -1s; }
.sp3 { --w: 26px; right: 14%; top: 60%; --t: 3.6s; --dl: -2s; }
.sp4 { --w: 18px; left: 30%; bottom: 14%; --t: 4.4s; --dl: -.6s; }

/* extras: bokeh, cáusticas, ondulações, margaridas */
.bokeh { position: absolute; border-radius: 50%; width: var(--w); height: var(--w); background: radial-gradient(circle, rgba(255,255,255,.5), rgba(190,240,255,.22) 60%, rgba(255,255,255,0) 72%); border: 1px solid rgba(255,255,255,.25); animation: floaty var(--t,12s) ease-in-out var(--dl,0s) infinite; }
.k1 { --w: 90px; left: 12%; top: 18%; --t: 13s; } .k2 { --w: 56px; right: 18%; top: 22%; --t: 10s; --dl: -3s; }
.k3 { --w: 120px; left: 48%; top: 38%; --t: 15s; --dl: -6s; opacity: .7; } .k4 { --w: 40px; left: 22%; top: 55%; --t: 9s; --dl: -2s; } .k5 { --w: 70px; right: 10%; top: 50%; --t: 11s; --dl: -5s; }
.caustics { position: absolute; left: 0; top: 0; width: calc(100% + 160px); height: 100%; opacity: .5; mix-blend-mode: soft-light; background:
  radial-gradient(ellipse 40px 14px at 20px 20px, #fff, transparent 70%) 0 0 / 80px 48px,
  radial-gradient(ellipse 30px 10px at 50px 36px, #fff, transparent 70%) 0 0 / 120px 64px; animation: caust 18s linear infinite; }
@keyframes caust { to { transform: translate3d(-120px, 0, 0); } }
.ripples { position: absolute; inset: 0; }
.ripple { position: absolute; width: 20px; height: 8px; margin: -4px 0 0 -10px; border-radius: 50%; border: 2px solid rgba(255,255,255,.85); box-shadow: 0 0 10px rgba(255,255,255,.6); animation: ripple 1.4s ease-out forwards; }
@keyframes ripple { to { transform: scale(9, 7); opacity: 0; } }
.scene .daisy { position: absolute; width: var(--w); height: var(--w); filter: drop-shadow(0 4px 5px rgba(0,60,140,.4)); animation: tilt var(--t,7s) ease-in-out var(--dl,0s) infinite; }
.d1 { --w: 58px; left: 20px; bottom: 56px; } .d2 { --w: 38px; left: 70px; bottom: 22px; --t: 8s; --dl: -2s; }
.d3 { --w: 54px; right: 18px; bottom: 60px; --t: 9s; --dl: -4s; } .d4 { --w: 34px; right: 64px; bottom: 20px; --dl: -1s; }
.trail { position: fixed; z-index: 6; width: 14px; height: 14px; pointer-events: none; margin: -7px 0 0 -7px; background: radial-gradient(circle, #fff 0 25%, rgba(190,240,255,.8) 45%, transparent 70%); border-radius: 50%; }
.link__mini { position: absolute; bottom: -8px; z-index: 0; width: var(--s); height: var(--s); border-radius: 50%; border: 1px solid rgba(255,255,255,.85); background: radial-gradient(circle at 30% 28%, #fff 0 14%, rgba(255,255,255,.25) 50%, rgba(255,255,255,.1)); animation: miniup var(--t) ease-in infinite var(--dl); opacity: 0; pointer-events: none; }
@keyframes miniup { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: .9; } 100% { transform: translateY(-86px) translateX(var(--sx, 6px)); opacity: 0; } }

/* estrelas-bolha nos cantos */
.bs { position: absolute; width: var(--w); height: var(--w); filter: drop-shadow(0 0 10px rgba(255,255,255,.55)) drop-shadow(0 6px 8px rgba(0,70,170,.25)); animation: floaty var(--t,8s) ease-in-out var(--dl,0s) infinite, tilt calc(var(--t,8s) * 1.3) ease-in-out var(--dl,0s) infinite; }
.aero { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: screen; opacity: .85; }
.aero__g { animation: aeroFlow 26s ease-in-out infinite alternate; }
@keyframes aeroFlow { from { transform: translate3d(-14px, 8px, 0); } to { transform: translate3d(14px, -10px, 0); } }

/* ---------- 4. bolhas ---------- */
.bubbles { position: fixed; inset: 0; height: 100lvh; overflow: hidden; pointer-events: none; }
.bubbles--back  { z-index: 1; }
.bubbles--front { z-index: 4; }

.bubble {
  --s: 40px;
  position: absolute; left: 0; top: 0;
  display: block;
  width: var(--s); height: var(--s);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .6);
  background:
    radial-gradient(circle at 74% 80%, rgba(255, 255, 255, .65) 0 3%, rgba(255, 255, 255, 0) 11%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0) 50%, rgba(190, 240, 255, .2) 68%, rgba(255, 255, 255, .5) 88%, rgba(255, 255, 255, .15) 100%);
  box-shadow:
    inset 0 0 calc(var(--s) * .14) rgba(255, 255, 255, .6),
    inset calc(var(--s) * -.07) calc(var(--s) * -.09) calc(var(--s) * .18) rgba(110, 200, 255, .38),
    0 0 calc(var(--s) * .1) rgba(255, 255, 255, .28);
  will-change: transform;
}
.bubble::before {                      /* película iridescente */
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from var(--rot, 0deg), rgba(255, 110, 205, .6), rgba(110, 190, 255, .65), rgba(120, 255, 215, .55), rgba(255, 236, 130, .5), rgba(255, 110, 205, .6));
  -webkit-mask-image: radial-gradient(circle, transparent 56%, #000 84%, transparent 100%);
          mask-image: radial-gradient(circle, transparent 56%, #000 84%, transparent 100%);
  opacity: .85;
}
.bubble::after {                       /* brilho especular */
  content: ""; position: absolute; left: 17%; top: 11%; width: 36%; height: 21%;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 255, 255, .05));
  transform: rotate(-32deg);
}
.bubble.is-popping { animation: pop .28s ease-out forwards; }
.droplet { position: absolute; left: 0; top: 0; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, rgba(190, 240, 255, .6) 55%, rgba(255, 255, 255, .2)); border: 1px solid rgba(255, 255, 255, .7); pointer-events: none; }

/* ---------- 5. perfil ---------- */
.page {
  position: relative; z-index: 2;
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(14px, 2.6svh, 26px);
  padding: max(env(safe-area-inset-top), 0px) 20px max(env(safe-area-inset-bottom), 0px);
  padding-top: clamp(34px, 6svh, 70px);
  padding-bottom: clamp(26px, 4svh, 50px);
}
.profile { display: flex; flex-direction: column; align-items: center; gap: clamp(10px, 1.8svh, 18px); }

.avatar { --av: clamp(140px, min(54vw, 25svh), 236px); position: relative; width: var(--av); height: var(--av); animation: enterPop 1s cubic-bezier(.2, 1.4, .4, 1) both; cursor: pointer; touch-action: manipulation; }
.avatar__float { position: absolute; inset: 0; animation: float 7s ease-in-out infinite; }
.avatar.is-jelly .avatar__bubble { animation: jelly .8s ease-out; }
.avatar__bubble {
  position: absolute; inset: 0; border-radius: 50%;
  padding: 9px;
  border: 2px solid rgba(255, 255, 255, .85);
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .1) 62%, rgba(190, 240, 255, .4) 82%, rgba(255, 255, 255, .7) 100%);
  box-shadow:
    0 20px 40px rgba(0, 55, 150, .45),
    0 0 44px 6px rgba(140, 225, 255, .6),
    inset 0 0 30px rgba(255, 255, 255, .75),
    inset -12px -16px 30px rgba(80, 175, 255, .5);
}
.avatar__bubble::before {              /* anel iridescente girando */
  content: ""; position: absolute; inset: 0; border-radius: 50%; z-index: 3;
  background: conic-gradient(rgba(255, 110, 205, .7), rgba(110, 190, 255, .75), rgba(120, 255, 215, .65), rgba(255, 236, 130, .6), rgba(255, 110, 205, .7));
  -webkit-mask-image: radial-gradient(circle, transparent 60%, #000 83%, transparent 100%);
          mask-image: radial-gradient(circle, transparent 60%, #000 83%, transparent 100%);
  animation: spin 16s linear infinite;
  pointer-events: none;
}
.avatar__photo {
  position: relative; width: 100%; height: 100%;
  border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 35% 25%, #bff0ff, #3fb2ff 55%, #1565d8);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .7), inset 0 0 22px rgba(0, 70, 170, .45);
}
.avatar__photo img, .avatar__ph { position: absolute; inset: 0; width: 100%; height: 100%; }
.avatar__photo img { object-fit: cover; object-position: 50% 30%; }
.avatar__gloss {
  position: absolute; inset: 0; border-radius: 50%; z-index: 4; pointer-events: none;
  background:
    radial-gradient(ellipse 58% 30% at 33% 14%, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 72%),
    radial-gradient(ellipse 44% 16% at 66% 94%, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 72%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0) 64%, rgba(180, 236, 255, .35) 84%, rgba(255, 255, 255, .6) 100%);
}
.avatar__star { position: absolute; filter: drop-shadow(0 0 8px rgba(255, 255, 255, .9)) drop-shadow(0 4px 6px rgba(0, 70, 170, .4)); z-index: 5; }
.as1 { width: 40px; height: 40px; right: -14px; top: 4px; animation: tilt 6s ease-in-out infinite, twinkle2 4s ease-in-out infinite; }
.as2 { width: 26px; height: 26px; left: -8px; bottom: 16px; animation: tilt 7s ease-in-out -2s infinite; }

.orbit { position: absolute; inset: -12%; animation: spin var(--o, 18s) linear infinite; pointer-events: none; }
.orbit .bubble { left: 50%; top: 0; margin-left: calc(var(--s) / -2); margin-top: calc(var(--s) / -2); }
.orbit--a { --o: 19s; }                  .orbit--a .bubble { --s: 22px; --rot: 40deg; }
.orbit--b { --o: 26s; inset: -22%; animation-direction: reverse; } .orbit--b .bubble { --s: 14px; --rot: 200deg; }
.orbit--c { --o: 33s; inset: -4%; }      .orbit--c .bubble { --s: 10px; --rot: 120deg; }

.name { margin: 0; text-align: center; animation: enterUp .9s .25s cubic-bezier(.2, 1, .3, 1) both; }
.name span {
  display: inline-block;
  font-size: clamp(34px, 11.5vw, 54px);
  font-weight: 800; letter-spacing: -.02em; line-height: 1.05;
  color: #fff;
  text-shadow:
    0 1.5px 0 #4fb4ff,
    0 3px 0 #1c83e6,
    0 4.5px 0 #0d63c4,
    0 8px 14px rgba(0, 50, 140, .55),
    0 0 26px rgba(255, 255, 255, .85);
  background: linear-gradient(105deg, transparent 42%, rgba(110,205,255,.95) 50%, transparent 58%) -150% 0 / 250% 100% no-repeat, linear-gradient(180deg, #fff 0%, #fff 45%, #cdf0ff 52%, #fff 100%);
  animation: nameShine 6s ease-in-out 1.5s infinite;
  -webkit-background-clip: text; background-clip: text;
  position: relative;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .name span { -webkit-text-fill-color: transparent; text-shadow: none; filter: drop-shadow(0 2px 0 #1c83e6) drop-shadow(0 5px 0 #0d63c4) drop-shadow(0 8px 10px rgba(0, 50, 140, .5)) drop-shadow(0 0 14px rgba(255, 255, 255, .85)); }
}

/* ---------- 6. botões de vidro ---------- */
.links { width: min(100%, 420px); display: flex; flex-direction: column; gap: clamp(11px, 1.9svh, 17px); }
.link {
  --o1: #8fe7ff; --o2: #1a8fe6;
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 14px;
  min-height: clamp(62px, 8.2svh, 80px);
  padding: 9px 16px 9px 10px;
  border-radius: 999px;
  color: var(--ink); text-decoration: none;
  border: 2px solid rgba(255, 255, 255, .92);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .62) 0%, rgba(176, 232, 255, .34) 49%, rgba(38, 150, 255, .3) 51%, rgba(120, 222, 255, .55) 100%);
  -webkit-backdrop-filter: blur(9px) saturate(1.5);
          backdrop-filter: blur(9px) saturate(1.5);
  box-shadow:
    0 12px 26px rgba(0, 60, 150, .38),
    0 2px 0 rgba(255, 255, 255, .5) inset,
    0 0 22px rgba(255, 255, 255, .6) inset,
    0 -9px 18px rgba(0, 140, 255, .38) inset;
  transition: transform .18s cubic-bezier(.3, 1.6, .5, 1), box-shadow .18s, filter .18s;
  animation: enterUp .8s var(--e, .5s) cubic-bezier(.2, 1, .3, 1) backwards, bob 6s ease-in-out var(--b, 0s) infinite;
  touch-action: manipulation;
}
.link:nth-child(1) { --e: .45s; --b: 0s; }
.link:nth-child(2) { --e: .55s; --b: -1.4s; }
.link:nth-child(3) { --e: .65s; --b: -2.8s; }
.link:nth-child(4) { --e: .75s; --b: -4.2s; }
.link--insta  { --o1: #7ec8ff; --o2: #1559de; }
.link--tiktok { --o1: #a7b9ff; --o2: #2a3fd0; }
.link--amazon { --o1: #ffe58a; --o2: #ff9a1f; }
.link--livrim { --o1: #7bf0c8; --o2: #0b9b9c; }
.link::before {                         /* gloss superior (a "gota" de vidro) */
  content: ""; position: absolute; left: 3.5%; right: 3.5%; top: 3px; height: 46%;
  border-radius: 999px 999px 70% 70% / 100% 100% 38% 38%;
  background: linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .12));
  pointer-events: none;
}
.link::after {                          /* brilho que varre o botão */
  content: ""; position: absolute; top: -10%; bottom: -10%; left: -60%; width: 38%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .75), rgba(255, 255, 255, 0));
  transform: skewX(-20deg);
  animation: sheen 7s ease-in-out var(--b, 0s) infinite;
  pointer-events: none;
}
.link__orb {
  position: relative; z-index: 1; flex: none;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background:
    radial-gradient(ellipse 55% 34% at 36% 20%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 80%),
    radial-gradient(circle at 50% 118%, rgba(255, 255, 255, .6), rgba(255, 255, 255, 0) 55%),
    linear-gradient(180deg, var(--o1), var(--o2));
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .9), inset 0 -7px 11px rgba(0, 50, 160, .35), 0 5px 10px rgba(0, 55, 150, .4);
}
.link__orb svg { position: relative; width: 26px; height: 26px; filter: drop-shadow(0 1px 2px rgba(0, 40, 130, .55)); }
.link__text { position: relative; z-index: 1; flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.15; text-shadow: 0 1px 0 rgba(255, 255, 255, .95), 0 0 10px rgba(255, 255, 255, .7); }
.link__text b { font-size: clamp(18px, 5.3vw, 21px); font-weight: 800; letter-spacing: -.01em; }
.link__text small { font-size: 13px; font-weight: 700; color: var(--ink-soft); letter-spacing: .02em; margin-top: 2px; }
.link__chev {
  position: relative; z-index: 1; flex: none;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(180deg, #8fe0ff, #1c86ea);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .9), inset 0 -3px 6px rgba(0, 60, 170, .3), 0 2px 5px rgba(0, 60, 150, .3);
  transition: transform .2s;
}
.link__chev svg { width: 16px; height: 16px; filter: drop-shadow(0 1px 1px rgba(0, 40, 130, .5)); }

@media (hover: hover) {
  .link:hover { transform: translateY(-3px) scale(1.025); filter: saturate(1.12) brightness(1.05); box-shadow: 0 18px 32px rgba(0, 60, 150, .42), 0 2px 0 rgba(255, 255, 255, .6) inset, 0 0 30px rgba(255, 255, 255, .8) inset, 0 -9px 18px rgba(0, 150, 255, .45) inset; }
  .link:hover::after { animation: sheen .9s ease-out 1; }
  .link:hover .link__chev { transform: translateX(3px); }
}
.link:active { transform: scale(.965); filter: brightness(.97); box-shadow: 0 5px 12px rgba(0, 60, 150, .4), 0 0 26px rgba(255, 255, 255, .5) inset, 0 -4px 10px rgba(0, 140, 255, .5) inset; transition-duration: .08s; }
.link:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 7px rgba(0, 150, 255, .75), 0 12px 26px rgba(0, 60, 150, .38); }
.avatar:focus-visible { outline: 3px solid #fff; outline-offset: 6px; border-radius: 50%; }

/* player de música */
.player {
  position: relative; overflow: hidden;
  width: min(100%, 420px); min-height: 58px;
  display: flex; align-items: center; gap: 8px;
  padding: 7px 16px 7px 12px; border-radius: 999px;
  border: 2px solid rgba(255,255,255,.9);
  background: linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(170,230,255,.3) 49%, rgba(30,130,240,.38) 51%, rgba(110,215,255,.5) 100%);
  -webkit-backdrop-filter: blur(9px) saturate(1.5); backdrop-filter: blur(9px) saturate(1.5);
  box-shadow: 0 10px 22px rgba(0,60,150,.36), 0 0 20px rgba(255,255,255,.55) inset, 0 -8px 14px rgba(0,140,255,.35) inset;
  animation: enterUp .8s .85s cubic-bezier(.2,1,.3,1) backwards;
}
.player::before { content: ""; position: absolute; left: 3.5%; right: 3.5%; top: 3px; height: 46%; border-radius: 999px 999px 70% 70% / 100% 100% 38% 38%; background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.1)); pointer-events: none; }
.pl__btn, .pl__play { position: relative; z-index: 1; flex: none; border: 0; padding: 0; cursor: pointer; display: grid; place-items: center; border-radius: 50%; touch-action: manipulation; transition: transform .15s cubic-bezier(.3,1.6,.5,1); -webkit-appearance: none; appearance: none; }
.pl__btn { width: 34px; height: 34px; background: radial-gradient(ellipse 55% 34% at 36% 20%, rgba(255,255,255,.9), rgba(255,255,255,0) 80%), linear-gradient(180deg, #8fe0ff, #1c86ea); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.9), inset 0 -4px 7px rgba(0,60,170,.3), 0 3px 6px rgba(0,60,150,.35); }
.pl__play { width: 46px; height: 46px; background: radial-gradient(ellipse 55% 34% at 36% 20%, rgba(255,255,255,.95), rgba(255,255,255,0) 80%), radial-gradient(circle at 50% 118%, rgba(255,255,255,.55), transparent 55%), linear-gradient(180deg, #7bf0c8, #0b9b9c); box-shadow: inset 0 0 0 2px rgba(255,255,255,.9), inset 0 -6px 9px rgba(0,50,160,.3), 0 4px 9px rgba(0,55,150,.4); }
.pl__btn svg { width: 15px; height: 15px; } .pl__play svg { width: 22px; height: 22px; grid-area: 1/1; }
.pl__btn svg, .pl__play svg { position: relative; filter: drop-shadow(0 1px 2px rgba(0,40,130,.55)); }
.pl__play .ic-pause { display: none; } .pl__btn .ic-off { display: none; } .pl__btn.is-off .ic-on { display: none; } .pl__btn.is-off .ic-off { display: block; } .pl__btn.is-off { filter: saturate(.35) brightness(1.1); }
.player.is-playing .ic-play { display: none; } .player.is-playing .ic-pause { display: block; }
.pl__btn:active, .pl__play:active { transform: scale(.9); }
.pl__btn:focus-visible, .pl__play:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.pl__info { position: relative; z-index: 1; flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding: 0 6px; }
.pl__title { font-size: 14px; font-weight: 800; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 0 rgba(255,255,255,.95), 0 0 8px rgba(255,255,255,.7); }
.pl__bar { height: 7px; border-radius: 99px; background: rgba(0,70,160,.28); box-shadow: inset 0 1px 3px rgba(0,40,120,.45), 0 1px 0 rgba(255,255,255,.7); overflow: hidden; }
.pl__bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(180deg, #e9fbff, #6fdcff 50%, #1b9be8); box-shadow: 0 0 8px rgba(255,255,255,.9); }
.pl__eq { position: relative; z-index: 1; flex: none; display: flex; align-items: flex-end; gap: 3px; height: 22px; }
.pl__eq i { width: 4px; height: 5px; border-radius: 2px; background: linear-gradient(180deg, #fff, #7fdcff); box-shadow: 0 0 5px rgba(255,255,255,.8); }
.player.is-playing .pl__eq i { animation: eq .9s ease-in-out infinite; }
.pl__eq i:nth-child(2) { animation-delay: -.3s !important; } .pl__eq i:nth-child(3) { animation-delay: -.6s !important; } .pl__eq i:nth-child(4) { animation-delay: -.15s !important; }
@keyframes eq { 0%, 100% { height: 5px; } 50% { height: 22px; } }

/* ---------- 7. rodapé ---------- */
.foot { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 2px; animation: enterUp .8s .95s both; }
.foot .gstar { width: 26px; height: 26px; filter: drop-shadow(0 0 6px rgba(255, 255, 255, .85)) drop-shadow(0 3px 4px rgba(0, 70, 170, .35)); animation: tilt 6s ease-in-out infinite; }
.foot .gstar:last-of-type { animation-delay: -3s; }
.foot .spark { width: 16px; height: 16px; filter: drop-shadow(0 0 6px #fff); animation: twinkle2 3.2s ease-in-out infinite; }
.foot .spark:last-child { animation-delay: -1.6s; }
.foot .bubble { position: relative; --s: 16px; }
.foot .bubble + .bubble { --s: 10px; margin-top: 12px; }

/* ---------- 8. keyframes e movimento ---------- */
@keyframes nameShine { 0%, 55% { background-position: -150% 0, 0 0; } 90%, 100% { background-position: 150% 0, 0 0; } }
@keyframes spin     { to { transform: rotate(360deg); } }
@keyframes breathe  { 50% { transform: scale(1.08); opacity: .92; } }
@keyframes drift    { to { transform: translate3d(var(--dx, 10vw), 0, 0); } }
@keyframes wave     { to { transform: translate3d(calc(var(--p) * -1), 0, 0); } }
@keyframes twinkle  { 0%, 100% { opacity: 0; transform: scale(.4); } 50% { opacity: 1; transform: scale(1); } }
@keyframes twinkle2 { 0%, 100% { opacity: .55; scale: .85; } 50% { opacity: 1; scale: 1.1; } }
@keyframes floaty   { 50% { translate: 0 -14px; } }
@keyframes tilt     { 0%, 100% { rotate: -9deg; } 50% { rotate: 9deg; } }
@keyframes float    { 50% { transform: translateY(-9px); } }
@keyframes bob      { 50% { translate: 0 -2.5px; } }
@keyframes sheen    { 0% { left: -60%; } 30%, 100% { left: 130%; } }
@keyframes sway     { 0%, 100% { rotate: 0deg; } 50% { rotate: 2.8deg; } }
@keyframes pop      { 40% { transform: var(--tf) scale(1.18); opacity: .9; } 100% { transform: var(--tf) scale(1.5); opacity: 0; } }
@keyframes jelly    { 0% { transform: scale(1); } 20% { transform: scale(1.14, .88); } 40% { transform: scale(.92, 1.1); } 60% { transform: scale(1.05, .96); } 80% { transform: scale(.98, 1.02); } 100% { transform: scale(1); } }
@keyframes enterUp  { from { opacity: 0; transform: translateY(26px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes enterPop { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .trail, .link__mini { display: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .glint { opacity: .85; }
}
@media (min-width: 900px) {
  :root { --water-h: 32svh; }
  .leaves--tl, .leaves--tr { width: 340px; }
}

/* ---------- 9. sem scroll: a página ocupa exatamente a tela ---------- */
html, body { height: 100%; overflow: hidden; overscroll-behavior: none; }
.page {
  min-height: 0; height: 100vh; height: 100dvh;
  display: grid; place-items: center; gap: 0;
  grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr);
  padding: max(env(safe-area-inset-top), 10px) 16px max(env(safe-area-inset-bottom), 10px);
}
.stage {
  width: 100%; display: flex; flex-direction: column; align-items: center;
  gap: clamp(10px, 2svh, 22px);
  transform: scale(var(--fit, 1)); transform-origin: center center;
}
.name span { font-size: clamp(32px, min(11.5vw, 6.4svh), 60px); }
@media (max-height: 740px) { .foot { display: none; } }

/* computador / paisagem: duas colunas */
@media (min-aspect-ratio: 5/4) and (min-width: 720px) {
  .stage {
    display: grid; width: auto; justify-content: center; align-items: center;
    grid-template-columns: auto auto;
    grid-template-areas: "profile links" "profile player";
    column-gap: clamp(40px, 8vw, 130px); row-gap: clamp(14px, 2.4svh, 24px);
  }
  .profile { grid-area: profile; gap: clamp(14px, 2.4svh, 26px); }
  .links   { grid-area: links;  width: min(42vw, 460px); align-self: end; }
  .player  { grid-area: player; width: min(42vw, 460px); align-self: start; }
  .foot    { display: none; }
  .avatar  { --av: clamp(190px, 42svh, 340px); }
  .name span { font-size: clamp(40px, 8.5svh, 76px); }
  .link { min-height: clamp(62px, 9svh, 88px); }
}

/* ---------- 10. entrada com/sem som ---------- */
.gate { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; background: radial-gradient(circle at 50% 40%, rgba(255,255,255,.25), rgba(8,70,190,.45)); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); }
.gate.is-out { animation: gateOut .5s ease-in forwards; pointer-events: none; }
@keyframes gateOut { to { opacity: 0; transform: scale(1.18); } }
.gate__card {
  position: relative; overflow: hidden; width: min(100%, 360px); text-align: center;
  padding: 34px 26px 26px; border-radius: 40px; color: var(--ink);
  border: 2px solid rgba(255,255,255,.95);
  background: linear-gradient(180deg, rgba(255,255,255,.7) 0%, rgba(176,232,255,.4) 55%, rgba(80,180,255,.45) 100%);
  box-shadow: 0 24px 60px rgba(0,50,150,.5), 0 0 40px rgba(255,255,255,.7) inset, 0 -14px 28px rgba(0,140,255,.35) inset;
  animation: enterPop .7s cubic-bezier(.2,1.4,.4,1) both;
}
.gate__card::before { content: ""; position: absolute; left: 5%; right: 5%; top: 5px; height: 34%; border-radius: 40px 40px 60% 60% / 100% 100% 40% 40%; background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.05)); pointer-events: none; }
.gate__card > * { position: relative; }
.gate__orb { width: 76px; height: 76px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(ellipse 55% 34% at 36% 20%, rgba(255,255,255,.95), rgba(255,255,255,0) 80%), linear-gradient(180deg, #7bf0c8, #0b9b9c); box-shadow: inset 0 0 0 2.5px rgba(255,255,255,.95), inset 0 -9px 14px rgba(0,50,160,.3), 0 8px 16px rgba(0,55,150,.4); animation: float 4s ease-in-out infinite; }
.gate__orb svg { width: 38px; height: 38px; filter: drop-shadow(0 2px 3px rgba(0,40,130,.5)); }
.gate h2 { margin: 0 0 6px; font-size: 26px; font-weight: 800; letter-spacing: -.01em; text-shadow: 0 1px 0 #fff, 0 0 12px rgba(255,255,255,.8); }
.gate p { margin: 0 0 20px; font-size: 15px; font-weight: 600; color: var(--ink-soft); line-height: 1.35; }
.gate__btn { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 56px; margin-top: 10px; border-radius: 999px; font: 800 18px var(--font); cursor: pointer; touch-action: manipulation; -webkit-appearance: none; appearance: none; transition: transform .15s cubic-bezier(.3,1.6,.5,1), filter .15s; }
.gate__btn svg { width: 24px; height: 24px; filter: drop-shadow(0 1px 2px rgba(0,40,130,.5)); }
.gate__btn::before { content: ""; position: absolute; left: 5%; right: 5%; top: 3px; height: 46%; border-radius: 999px 999px 70% 70% / 100% 100% 38% 38%; background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.1)); pointer-events: none; }
.gate__btn--on { color: #fff; border: 2px solid #fff; background: linear-gradient(180deg, #5fe7c4, #0aa6a6 55%, #0b8f9a); text-shadow: 0 1px 2px rgba(0,60,90,.6); box-shadow: 0 8px 18px rgba(0,90,120,.45), inset 0 -8px 14px rgba(0,70,120,.3); }
.gate__btn--off { color: var(--ink); border: 2px solid rgba(255,255,255,.95); background: linear-gradient(180deg, rgba(255,255,255,.65), rgba(170,225,255,.5)); text-shadow: 0 1px 0 #fff; box-shadow: 0 6px 14px rgba(0,60,150,.3), inset 0 -6px 12px rgba(0,140,255,.25); }
.gate__btn--off svg { filter: drop-shadow(0 1px 1px rgba(0,60,150,.5)) brightness(.4) saturate(3); }
@media (hover: hover) { .gate__btn:hover { transform: translateY(-2px) scale(1.03); filter: brightness(1.06); } }
.gate__btn:active { transform: scale(.96); }
.gate__btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 7px rgba(0,150,255,.75); }

/* ---------- 11. celular (toque) ---------- */
@media (pointer: coarse) {
  .rays { animation: none; }                          /* economiza bateria */
  .pl__btn { width: 42px; height: 42px; }
  .pl__play { width: 52px; height: 52px; }
  .pl__btn svg { width: 17px; height: 17px; } .pl__play svg { width: 24px; height: 24px; }
  .player { min-height: 66px; padding: 8px 16px 8px 12px; }
  .pl__eq { display: none; }
  .link:active, .gate__btn:active, .pl__btn:active, .pl__play:active { transition-duration: .06s; }
}
.avatar img { -webkit-user-drag: none; pointer-events: none; }

/* ---------- 12. crédito ---------- */
.page { padding-bottom: max(env(safe-area-inset-bottom), 34px); }
.credit {
  position: fixed; right: max(env(safe-area-inset-right), 10px); bottom: max(env(safe-area-inset-bottom), 8px); z-index: 5;
  padding: 5px 11px; border-radius: 999px;
  font: 600 11.5px/1.2 var(--font); letter-spacing: .02em; color: #fff; text-decoration: none; white-space: nowrap;
  background: rgba(4, 52, 128, .5); border: 1px solid rgba(255, 255, 255, .55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(0, 40, 120, .35);
  transition: background .2s, transform .2s;
}
.credit b { font-weight: 800; }
.credit:hover { background: rgba(4, 52, 128, .75); transform: translateY(-1px); }
.credit:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
