/* Página inicial (primeira visita). Roxo como cor da marca, sempre em cores chapadas: nada de degradê, brilho ou vidro.
   O topo e o fecho são faixas roxas; o resto fica num quase-preto arroxeado com painéis em roxo escuro.
   O que chama atenção é o próprio app: o chat da prévia anda sozinho e o soundboard toca de verdade.
   Os títulos usam a Archivo larga (Expanded) e pesada; o texto corrido continua na Figtree do app. */

/* Archivo (SIL Open Font License, veja fonts/OFL-Archivo.txt): servida pelo próprio app, sem CDN. Arquivo variável de peso e largura. */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url(fonts/archivo-latin-wdth-normal.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; }

#landing {
  display: none;
  --ld-display: "Archivo", var(--font);
  --ld-purple: #6b38e8;
  --ld-purple-press: #5a2ad0;
  --ld-panel: #26174f;
  --ld-ink: #120b22;
  --ld-ink-raised: #1f1640;
  --ld-muted: #b5adca;
  --ld-line: rgba(255, 255, 255, .08);
  --brand: var(--ld-purple);
  --brand-hover: var(--ld-purple-press);
}
.show-landing #landing {
  display: block; position: fixed; inset: 0; z-index: 20; overflow: hidden auto;
  background: var(--ld-ink); color: var(--text); scroll-behavior: smooth;
}
.show-landing #login { display: none; }
#landing a { color: inherit; text-decoration: none; }

/* "Voltar ao início" no cartão de login, só para quem veio da página inicial. */
.auth-back { display: none; align-self: center; align-items: center; gap: 4px; margin-top: -4px; padding: 4px 10px 4px 6px; border-radius: 999px; color: var(--text-muted); font-size: 13.5px; font-weight: 600; text-decoration: none; transition: color .15s, background .15s; }
:root[data-landing=on] .auth-back { display: inline-flex; }
.auth-back .ico { transform: rotate(180deg); transition: transform .2s; }
.auth-back:hover { color: var(--text-strong); background: var(--hover); }
.auth-back:hover .ico { transform: rotate(180deg) translateX(2px); }

/* ---------- Topo ---------- */
.ld-top, .ld-hero { background: var(--ld-purple); box-shadow: 0 0 0 100vmax var(--ld-purple); clip-path: inset(0 -100vmax); }
.ld-top {
  position: relative; z-index: 3; display: flex; align-items: center; gap: 24px;
  max-width: 1200px; margin: 0 auto; padding: 20px 32px;
}
.ld-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff !important; font-family: var(--ld-display); font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.ld-brand .brand-mark { width: 36px; height: 36px; border-radius: 12px; }
.ld-nav { display: flex; gap: 4px; margin: 0 auto; }
.ld-nav a { padding: 8px 14px; border-radius: 999px; color: #fff !important; font-size: 15px; font-weight: 600; transition: background .15s, color .15s; }
.ld-nav a:hover { background: rgba(255, 255, 255, .16); }
.ld-login {
  display: inline-flex; align-items: center; height: 40px; padding: 0 20px; border-radius: 999px;
  background: #fff; color: #1e1f22 !important; font-size: 14.5px; font-weight: 700;
  transition: color .15s, box-shadow .2s, transform .15s;
}
.ld-login:hover { color: var(--ld-purple) !important; box-shadow: 0 8px 20px rgba(18, 11, 34, .35); transform: translateY(-1px); }

/* ---------- Destaque ---------- */
.ld-hero {
  position: relative; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; gap: 56px;
  max-width: 1200px; margin: 0 auto; padding: 56px 32px 96px;
}
.ld-keep { white-space: nowrap; }
/* A Archivo na largura Expanded dá o mesmo corpo largo dos títulos, com letras normais. */
.ld-brand, .ld-hero h1, .ld-copy h2, .ld-final h2 { font-stretch: 125%; }
/* Título em caixa alta, em duas linhas. */
.ld-hero h1 {
  margin: 0; color: #fff; font-family: var(--ld-display); font-size: clamp(34px, 4.3vw, 58px); font-weight: 800; line-height: 1.04;
  letter-spacing: -.02em; text-transform: uppercase;
}
.ld-hero h1 .ld-keep { display: block; }
.ld-lead { margin: 22px 0 0; max-width: 520px; color: #fff; font-size: 19px; line-height: 1.6; opacity: .9; text-wrap: pretty; }
.ld-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.ld-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 58px; padding: 0 30px; border-radius: 999px;
  font-size: 17px; font-weight: 700; white-space: nowrap; transition: color .15s, background .15s, box-shadow .2s, transform .15s;
}
.ld-btn:active { transform: translateY(0) scale(.98) !important; }
.ld-btn-light { background: #fff; color: #1e1f22 !important; }
.ld-btn-light:hover { color: var(--ld-purple) !important; box-shadow: 0 10px 28px rgba(18, 11, 34, .4); transform: translateY(-2px); }
.ld-btn-light:hover .ico { animation: ld-nudge .7s ease-in-out infinite; }
.ld-btn-dark { background: var(--ld-ink); color: #fff !important; }
.ld-btn-dark:hover { background: var(--ld-ink-raised); box-shadow: 0 10px 28px rgba(18, 11, 34, .4); transform: translateY(-2px); }
@keyframes ld-nudge { 50% { transform: translateY(2px); } }

/* ---------- Prévia do app ---------- */
.ld-preview { position: relative; animation: ld-rise .8s cubic-bezier(.16, 1, .3, 1) .1s both; }
@keyframes ld-rise { from { opacity: 0; transform: translateY(28px) scale(.98); } }
.ld-window {
  display: grid; grid-template-columns: 58px 176px minmax(0, 1fr); height: 390px; overflow: hidden;
  border-radius: 16px; background: var(--bg-main); font-size: 13.5px; text-align: left; user-select: none;
  box-shadow: 0 36px 80px rgba(18, 11, 34, .55), 0 0 0 1px rgba(18, 11, 34, .25);
}
.ld-w-rail { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 0; background: var(--bg-rail); }
.ld-w-home { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 13px; background: var(--brand); color: #fff; }
.ld-w-sep { width: 26px; height: 2px; border-radius: 1px; background: var(--divider); }
.ld-w-server {
  position: relative; display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%;
  background: var(--bg-main); color: var(--text-strong); font-weight: 700; font-size: 15px;
}
.ld-w-server.active { border-radius: 13px; background: var(--brand); }
.ld-w-server.active::before { content: ''; position: absolute; left: -10px; width: 4px; height: 26px; border-radius: 0 4px 4px 0; background: var(--text-strong); }
.ld-w-server.alt { background: #e67e22; color: #fff; }
.ld-w-server.add { color: var(--green); font-size: 20px; font-weight: 500; }

.ld-w-side { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 0 8px; background: var(--bg-sidebar); }
.ld-w-title { margin: 0 -8px 8px; padding: 0 14px; height: 44px; display: flex; align-items: center; color: var(--text-strong); font-weight: 700; font-size: 14.5px; box-shadow: var(--shadow-header); }
.ld-w-group { margin: 10px 0 4px; padding-left: 6px; color: var(--channel); font-size: 11px; font-weight: 700; letter-spacing: .03em; }
.ld-w-channel { position: relative; display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 6px; color: var(--channel); font-weight: 500; }
.ld-w-channel .ico { flex-shrink: 0; opacity: .8; }
.ld-w-channel.active { background: var(--hover-strong); color: var(--text-strong); }
.ld-w-channel.unread { color: var(--text-strong); font-weight: 600; }
.ld-w-channel.unread::before { content: ''; position: absolute; left: -8px; width: 4px; height: 8px; border-radius: 0 4px 4px 0; background: var(--text-strong); }
.ld-w-voice { display: flex; align-items: center; gap: 8px; padding: 4px 8px 4px 30px; color: var(--interactive); font-size: 13px; }
.ld-live { margin-left: auto; padding: 1px 5px; border-radius: 4px; background: var(--red); color: #fff; font-size: 9.5px; font-weight: 800; letter-spacing: .03em; }

.ld-av {
  display: grid; place-items: center; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--c, var(--brand)); color: #fff; font-size: 11px; font-weight: 700;
}
.ld-av.big { width: 36px; height: 36px; font-size: 15px; }
.ld-av.huge { width: 52px; height: 52px; font-size: 22px; box-shadow: 0 6px 16px rgba(0, 0, 0, .3); }
.ld-av.speaking, .ld-tile.speaking { animation: ld-speak 2.4s ease-in-out infinite; }
.ld-av.speaking.later, .ld-tile.speaking.later { animation-delay: 1.2s; }
@keyframes ld-speak {
  0%, 45%, 100% { box-shadow: 0 0 0 2px var(--bg-sidebar), 0 0 0 4px var(--green); }
  55%, 90% { box-shadow: 0 0 0 2px var(--bg-sidebar), 0 0 0 4px transparent; }
}

.ld-w-chat { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.ld-w-head { display: flex; align-items: center; gap: 6px; height: 44px; flex-shrink: 0; padding: 0 16px; color: var(--text-strong); font-weight: 700; font-size: 14.5px; box-shadow: var(--shadow-header); }
.ld-w-head .ico { color: var(--channel); }
.ld-w-msgs { display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; flex: 1; min-height: 0; padding: 16px 16px 6px; overflow: hidden; }
.ld-msg { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; }
.ld-msg b { font-size: 14px; font-weight: 600; }
.ld-msg small { margin-left: 8px; color: var(--text-muted); font-size: 11px; }
.ld-msg p { margin: 2px 0 0; color: var(--text); line-height: 1.4; }
.ld-react { display: inline-flex; gap: 4px; margin-top: 6px; padding: 2px 8px; border-radius: 8px; background: color-mix(in srgb, var(--brand) 18%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 50%, transparent); color: var(--text-strong); font-size: 12px; font-weight: 600; }
.ld-msg-new { animation: ld-msg-in .5s cubic-bezier(.16, 1, .3, 1) 1.4s both; }
.ld-msg-live { animation: ld-msg-in .45s cubic-bezier(.16, 1, .3, 1) both; }
.ld-react.pop { animation: ld-react-pop .4s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes ld-react-pop { from { opacity: 0; scale: .4; } }
@keyframes ld-msg-in { from { opacity: 0; transform: translateY(12px); } }
.ld-w-typing { display: flex; align-items: center; gap: 3px; height: 22px; padding: 0 16px; color: var(--interactive); font-size: 11.5px; font-weight: 600; }
.ld-w-typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--interactive); animation: ld-dot 1.2s ease-in-out infinite; }
.ld-w-typing i:nth-child(2) { animation-delay: .15s; }
.ld-w-typing i:nth-child(3) { margin-right: 5px; animation-delay: .3s; }
@keyframes ld-dot { 0%, 60%, 100% { opacity: .35; transform: none; } 30% { opacity: 1; transform: translateY(-2px); } }
.ld-w-input { margin: 0 16px 16px; padding: 12px 14px; border-radius: 8px; background: var(--bg-input); color: var(--text-muted); }

.ld-float {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 14px; text-align: left;
  background: var(--bg-floating);
  box-shadow: 0 18px 44px rgba(18, 11, 34, .5), inset 0 0 0 1px rgba(255, 255, 255, .08);
  animation: ld-pop .5s cubic-bezier(.16, 1, .3, 1) .8s both;
}
.ld-float b { display: block; color: var(--text-strong); font-size: 13.5px; }
.ld-float small { color: var(--text-muted); font-size: 12px; }
.ld-float-call { left: -28px; bottom: 44px; }
.ld-float-call > .ico { display: grid; place-items: center; width: 34px; height: 34px; padding: 8px; box-sizing: border-box; border-radius: 50%; background: color-mix(in srgb, var(--green) 20%, transparent); color: var(--green); }
.ld-float-invite { right: -22px; top: -26px; animation-delay: 1.6s; }
.ld-float-invite .ld-w-server { border-radius: 12px; background: var(--brand); color: #fff; }
@keyframes ld-pop { from { opacity: 0; transform: translateY(10px) scale(.96); } }

/* ---------- Recursos ---------- */
.ld-features { display: grid; gap: 24px; max-width: 1200px; margin: 0 auto; padding: 64px 32px 40px; }
.ld-row {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 72px; padding: 40px 0;
  opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.16, 1, .3, 1);
}
.ld-row.in-view, .ld-final.in-view { opacity: 1; transform: none; }
.ld-row.reverse .ld-art { order: 2; }
.ld-copy h2 { margin: 0; color: #fff; font-family: var(--ld-display); font-size: clamp(26px, 2.9vw, 38px); font-weight: 700; line-height: 1.12; letter-spacing: -.025em; text-wrap: balance; }
.ld-copy p { margin: 18px 0 0; max-width: 500px; color: var(--ld-muted); font-size: 18px; line-height: 1.65; text-wrap: pretty; }

.ld-art {
  position: relative; display: grid; place-items: center; min-height: 360px; padding: 40px; overflow: hidden; border-radius: 28px;
  background: var(--ld-panel);
}
.ld-card {
  border-radius: 16px; background: var(--bg-floating);
  box-shadow: 0 24px 60px rgba(10, 5, 22, .5), inset 0 0 0 1px rgba(255, 255, 255, .07);
  transition: transform .4s cubic-bezier(.16, 1, .3, 1);
}

/* Servidores */
.ld-art-servers { gap: 0; }
.ld-invite { display: flex; align-items: center; gap: 14px; width: min(380px, 100%); padding: 16px; transform: rotate(-2deg) translate(-18px, 12px); z-index: 1; }
.ld-invite-icon { display: grid; place-items: center; width: 52px; height: 52px; flex-shrink: 0; border-radius: 16px; background: var(--brand); color: #fff; font-size: 22px; font-weight: 800; }
.ld-invite-body { display: grid; gap: 2px; min-width: 0; }
.ld-invite-body small { color: var(--text-muted); font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.ld-invite-body b { color: var(--text-strong); font-size: 18px; }
.ld-invite-body span { display: flex; align-items: center; gap: 6px; color: var(--text-muted); font-size: 12.5px; }
.ld-invite-body i { width: 8px; height: 8px; border-radius: 50%; background: var(--channel); }
.ld-invite-body i.on { background: var(--green); }
.ld-invite-body i:not(:first-child) { margin-left: 6px; }
.ld-invite-btn { margin-left: auto; padding: 9px 16px; border-radius: 8px; background: var(--green); color: #fff; font-size: 14px; font-weight: 700; }
.ld-channels { display: grid; gap: 1px; width: min(260px, 90%); padding: 10px 10px 12px; transform: rotate(2.5deg) translate(56px, -6px); }
.ld-channels .ld-w-group:first-child { margin-top: 2px; }
.ld-art:hover .ld-invite { transform: rotate(-1deg) translate(-18px, 6px); }
.ld-art:hover .ld-channels { transform: rotate(1.5deg) translate(56px, 0); }

/* Voz */
.ld-stage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: min(400px, 100%); padding: 10px; }
.ld-tile {
  position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: 10px;
  background: color-mix(in srgb, var(--c) 34%, var(--bg-rail)); --bg-sidebar: var(--bg-floating);
}
.ld-tile.speaking { animation-name: ld-speak-tile; }
@keyframes ld-speak-tile {
  0%, 45%, 100% { box-shadow: inset 0 0 0 2px var(--green); }
  55%, 90% { box-shadow: inset 0 0 0 2px transparent; }
}
.ld-tile .ld-av { background: var(--c); }
.ld-tile em { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 6px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 12px; font-style: normal; font-weight: 600; }
.ld-tile em .ico { color: var(--red); }
.ld-chip-noise { position: absolute; right: 24px; bottom: 26px; display: flex; align-items: center; gap: 10px; padding: 12px 16px 12px 12px; }
.ld-chip-noise > .ico { display: grid; width: 36px; height: 36px; padding: 9px; box-sizing: border-box; border-radius: 10px; background: color-mix(in srgb, var(--brand) 22%, transparent); color: color-mix(in srgb, var(--brand) 70%, #fff); }
.ld-chip-noise b { display: block; color: var(--text-strong); font-size: 13.5px; }
.ld-chip-noise small { color: var(--text-muted); font-size: 12px; }

/* Transmissão */
.ld-screen { position: relative; width: min(440px, 100%); padding: 8px; }
.ld-screen-img {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px;
  background: #74bdef;
}
.ld-screen-img > span { position: absolute; }
.ld-game-sun { right: 13%; top: 16%; width: 30px; height: 30px; background: #ffd84a; box-shadow: 0 0 0 5px #ffe78a; }
.ld-game-cloud { height: 12px; background: #fff; animation: ld-cloud 14s ease-in-out infinite alternate; }
.ld-game-cloud::before { content: ''; position: absolute; left: 22%; right: 22%; bottom: 100%; height: 10px; background: inherit; }
.ld-game-cloud.a { left: 12%; top: 26%; width: 60px; }
.ld-game-cloud.b { left: 50%; top: 40%; width: 40px; animation-duration: 18s; animation-delay: -6s; }
@keyframes ld-cloud { to { transform: translateX(26px); } }
.ld-game-hill { left: -8%; bottom: 20%; width: 58%; height: 42%; border-radius: 50% 50% 0 0; background: #4c9f5b; }
.ld-game-ground { left: 0; right: 0; bottom: 0; height: 22%; border-top: 8px solid #5fc04c; background: #8a5a33; }
.ld-game-ground::before {
  content: ''; position: absolute; left: 8%; top: 8px; width: 6px; height: 6px; background: #6d4527;
  box-shadow: 44px 12px #6d4527, 96px 2px #6d4527, 150px 16px #6d4527, 214px 6px #6d4527, 268px 14px #6d4527, 330px 4px #6d4527, 384px 12px #6d4527;
}
.ld-game-player { left: 30%; bottom: 22%; width: 18px; height: 18px; background: #ff5a4e; box-shadow: inset 0 -4px #d63c32; animation: ld-hop 2.6s ease-in-out infinite; }
.ld-game-player::after { content: ''; position: absolute; right: 3px; top: 4px; width: 4px; height: 5px; background: #1e1f22; }
@keyframes ld-hop { 0%, 55%, 100% { transform: none; } 70% { transform: translateY(-30px); } 85% { transform: none; } }
.ld-game-coin { left: 56%; bottom: 40%; width: 12px; height: 16px; border-radius: 50%; background: #ffcc33; box-shadow: inset -3px 0 #e0a100; animation: ld-coin 1.4s ease-in-out infinite; }
@keyframes ld-coin { 50% { transform: scaleX(.3); } }
.ld-badge-live { position: absolute; left: 18px; top: 18px; padding: 3px 7px; border-radius: 5px; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.ld-screen-viewers { position: absolute; right: 18px; top: 18px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 6px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 12px; font-weight: 700; }
.ld-screen-name { position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 6px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 12.5px; font-weight: 600; }
.ld-art-stream:hover .ld-screen { transform: scale(1.02); }

/* Perfil */
.ld-profile { position: relative; width: min(300px, 80%); overflow: hidden; transform: rotate(-2deg) translate(-40px, 0); }
.ld-profile-banner { height: 96px; background: #117a65; }
.ld-profile-av { position: absolute; left: 16px; top: 56px; width: 76px; height: 76px; font-size: 30px; box-shadow: 0 0 0 6px var(--bg-floating); }
.ld-profile-body { display: grid; gap: 4px; padding: 46px 16px 16px; }
.ld-profile-body b { color: var(--text-strong); font-size: 20px; }
.ld-profile-body small { color: var(--text-muted); font-size: 13px; }
.ld-roles { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ld-roles span { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: 6px; background: var(--bg-input); color: var(--text); font-size: 12px; font-weight: 600; }
.ld-roles span::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.ld-friends { position: absolute; right: 36px; bottom: 36px; display: grid; gap: 4px; width: 190px; padding: 8px; transform: rotate(3deg); }
.ld-friend { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 8px; }
.ld-friend:first-child { background: var(--hover); }
.ld-friend .ld-av { width: 28px; height: 28px; font-size: 13px; }
.ld-friend b { color: var(--text); font-size: 13.5px; font-weight: 600; }
.ld-friend i { width: 10px; height: 10px; margin-left: auto; border-radius: 50%; background: var(--channel); }
.ld-friend i.on { background: var(--green); }
.ld-art-profile:hover .ld-profile { transform: rotate(-1deg) translate(-40px, -4px); }
.ld-art-profile:hover .ld-friends { transform: rotate(1.5deg); }

/* ---------- Fecho ---------- */
.ld-final {
  position: relative; display: grid; justify-items: center; max-width: 1136px; margin: 32px auto 72px; padding: 72px 32px; overflow: hidden; border-radius: 32px; text-align: center;
  background: var(--ld-purple);
  opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.16, 1, .3, 1);
}
.ld-final h2 { margin: 0; color: #fff; font-family: var(--ld-display); font-size: clamp(28px, 4.2vw, 52px); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; text-transform: uppercase; }
.ld-final p { margin: 18px 0 0; max-width: 520px; color: #fff; font-size: 18px; line-height: 1.6; opacity: .9; }
.ld-final .ld-cta { justify-content: center; }

.ld-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1200px; margin: 0 auto; padding: 28px 32px 40px;
  border-top: 1px solid var(--ld-line);
}
.ld-footer .ld-brand { font-size: 15px; }
.ld-footer .brand-mark { width: 30px; height: 30px; border-radius: 10px; }
.ld-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.ld-footer nav a { color: var(--ld-muted) !important; font-size: 14.5px; font-weight: 600; transition: color .15s; }
.ld-footer nav a:hover { color: #fff !important; }

/* ---------- Soundboard ---------- */
.ld-pads { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: min(400px, 100%); padding: 14px; }
.ld-pads-title { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; margin: 2px 2px 4px; color: var(--text-strong); font-size: 14px; font-weight: 700; }
.ld-pads-title .ico { color: var(--interactive); }
.ld-pad {
  position: relative; display: grid; justify-items: center; gap: 6px; padding: 14px 6px 12px; overflow: hidden; border: 0; border-radius: 10px;
  background: var(--bg-input); color: var(--text); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer;
  transition: background .15s, color .15s, transform .1s;
  -webkit-tap-highlight-color: transparent;
}
.ld-pad:hover { background: var(--hover-strong); color: var(--text-strong); }
.ld-pad:active, .ld-pad.hit { transform: scale(.96); }
.ld-pad:focus-visible { outline: 2px solid var(--ld-purple); outline-offset: 2px; }
.ld-pad-emoji { font-size: 28px; line-height: 1; transition: transform .2s cubic-bezier(.3, 1.6, .5, 1); }
.ld-pad:hover .ld-pad-emoji { transform: scale(1.12); }
.ld-pad.playing { box-shadow: inset 0 0 0 2px var(--ld-purple); color: var(--text-strong); }
.ld-pad.playing::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--ld-purple);
  transform-origin: left; animation: ld-pad-progress var(--dur, 1s) linear both;
}
@keyframes ld-pad-progress { from { transform: scaleX(0); } }
.ld-burst {
  position: absolute; z-index: 2; left: 0; top: 0; font-size: 24px; line-height: 1; pointer-events: none;
  animation: ld-burst .9s cubic-bezier(.2, .7, .4, 1) forwards;
}
@keyframes ld-burst {
  from { opacity: 1; transform: translate(-50%, -50%) scale(.6); }
  to { opacity: 0; transform: translate(calc(-50% + var(--dx)), calc(-50% - var(--dy))) scale(1); }
}

/* ---------- Telas menores ---------- */
@media (max-width: 1080px) {
  .ld-hero { grid-template-columns: minmax(0, 1fr); gap: 56px; padding-top: 40px; text-align: center; justify-items: center; }
  .ld-hero-copy { display: grid; justify-items: center; }
  .ld-cta { justify-content: center; }
  .ld-preview { width: min(760px, 100%); }
  .ld-row { gap: 44px; }
}
@media (max-width: 860px) {
  .ld-row, .ld-row.reverse { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 24px 0; }
  .ld-row.reverse .ld-art { order: 0; }
  .ld-copy { text-align: center; }
  .ld-copy p { margin-inline: auto; }
}
@media (max-width: 720px) {
  .ld-top { padding: 16px; gap: 12px; }
  .ld-nav { display: none; }
  .ld-login { margin-left: auto; }
  .ld-hero { padding: 24px 16px 64px; gap: 44px; }
  .ld-lead { font-size: 17px; }
  .ld-features { padding: 8px 16px 24px; }
  .ld-window { grid-template-columns: 50px minmax(0, 1fr); height: 340px; font-size: 13px; }
  .ld-w-side { display: none; }
  .ld-float-call { left: 8px; bottom: -22px; }
  .ld-float-invite { right: 8px; top: -30px; }
  .ld-art { min-height: 300px; padding: 28px 16px; border-radius: 22px; }
  .ld-invite { transform: rotate(-2deg) translate(0, 8px); }
  .ld-channels { transform: rotate(2deg) translate(24px, -4px); }
  .ld-chip-noise { right: 12px; bottom: 12px; }
  .ld-profile { transform: rotate(-2deg) translate(-24px, -16px); }
  .ld-friends { right: 14px; bottom: 18px; width: 170px; }
  .ld-final { margin: 16px 16px 48px; padding: 52px 20px; border-radius: 24px; }
  .ld-footer { flex-direction: column; padding: 24px 16px 32px; }
  .ld-footer nav { justify-content: center; }
}
/* Celular: os enfeites encostam fora da área com texto (não cobrem o nome "Ju", o "Conversar em #geral"
   nem o título "JOGOS"). */
@media (max-width: 720px) {
  .ld-float-call { left: 10px; bottom: -50px; }
  .ld-art .ld-invite { transform: rotate(-2deg) translate(0, -6px); }
  .ld-art .ld-channels { margin-top: 10px; transform: rotate(2deg) translate(24px, 4px); }
  .ld-art-voice { gap: 0; }
  .ld-chip-noise { position: relative; right: auto; bottom: auto; justify-self: end; margin: -6px -4px 0 0; transform: rotate(1.5deg); }
}
@media (max-width: 480px) {
  .ld-cta { flex-direction: column; align-self: stretch; width: 100%; }
  .ld-btn { width: 100%; padding: 0 20px; font-size: 16px; }
  .ld-w-msgs { padding-inline: 12px; }
  .ld-msg small { display: none; }
  .ld-float-invite { display: none; }
  .ld-invite-btn { display: none; }
  .ld-pads { gap: 8px; padding: 10px; }
  .ld-pad { font-size: 12.5px; }
}

/* Movimento reduzido: tudo parado e visível. */
@media (prefers-reduced-motion: reduce) {
  #landing { scroll-behavior: auto; }
  #landing *, #landing *::before { animation: none !important; transition: none !important; }
  .ld-row, .ld-final { opacity: 1; transform: none; }
}
:root[data-reduce-motion=true] .ld-row, :root[data-reduce-motion=true] .ld-final { opacity: 1; transform: none; }
:root[data-reduce-motion=true] #landing * { animation: none !important; }
