/* AAMusic — design system
   Midnight + ouro metálico + pulso azul (do logo).
   Ouro = valor/dinheiro. Azul = ao vivo/ação. */

:root {
  --bg: #080c16;
  --bg-2: #0b1120;
  --surface: #111a2b;
  --surface-2: #172238;
  --raised: #1d2a44;
  --line: rgba(226, 180, 81, .14);
  --line-soft: rgba(239, 234, 223, .08);
  --gold: #e2b451;
  --gold-hi: #f7dc8f;
  --gold-lo: #a97a22;
  --gold-grad: linear-gradient(135deg, #f7dc8f 0%, #e2b451 42%, #a97a22 100%);
  --pulse: #3d9bff;
  --pulse-soft: rgba(61, 155, 255, .14);
  --text: #efeadf;
  --text-2: #c2c7d3;
  --mist: #8a94aa;
  --ok: #3ecf8e;
  --ok-soft: rgba(62, 207, 142, .12);
  --warn: #f2a93b;
  --warn-soft: rgba(242, 169, 59, .12);
  --bad: #ff6b6b;
  --bad-soft: rgba(255, 107, 107, .12);

  --font-display: "Unbounded", "Manrope", system-ui, sans-serif;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --pill: 999px;
  --shadow: 0 18px 50px -24px rgba(0, 0, 0, .7);
  --glow-gold: 0 0 0 1px rgba(226, 180, 81, .35), 0 10px 40px -12px rgba(226, 180, 81, .35);

  --side: 248px;
  --top: 64px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 15px/1.6 var(--font);
  font-feature-settings: "tnum" 1, "lnum" 1;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}
body::before { /* textura do logo: ardósia escovada */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(61, 155, 255, .08), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(226, 180, 81, .06), transparent 60%),
    var(--bg);
}
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--pulse); outline-offset: 2px; border-radius: 6px; }
::selection { background: rgba(226, 180, 81, .35); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
hr { border: 0; border-top: 1px solid var(--line-soft); margin: 24px 0; }

/* ---------- Tipografia ---------- */
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 600; letter-spacing: -.01em; }
.display { font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em; }
h1 { font-family: var(--font-display); font-size: clamp(26px, 3.2vw, 36px); }
h2 { font-family: var(--font-display); font-size: clamp(20px, 2.2vw, 26px); }
h3 { font-size: 18px; }
h4 { font-size: 15px; }
p { margin: 0 0 12px; }
.muted { color: var(--mist); }
.soft { color: var(--text-2); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }
.gold { color: var(--gold); }
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.money { font-variant-numeric: tabular-nums; white-space: nowrap; }
.lead { font-size: 17px; color: var(--text-2); max-width: 62ch; }
.clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pre { white-space: pre-wrap; word-break: break-word; }

/* ---------- Layout util ---------- */
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.stack > * + * { margin-top: var(--gap, 16px); }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.row.nowrap { flex-wrap: nowrap; }
.grow { flex: 1; min-width: 0; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.auto-fill { grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); }
.auto-fill-sm { grid-template-columns: repeat(auto-fill, minmax(min(180px, 100%), 1fr)); }
@media (max-width: 960px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.mt-0 { margin-top: 0 } .mt-8 { margin-top: 8px } .mt-16 { margin-top: 16px } .mt-24 { margin-top: 24px } .mt-32 { margin-top: 32px } .mt-48 { margin-top: 48px }
.mb-8 { margin-bottom: 8px } .mb-16 { margin-bottom: 16px } .mb-24 { margin-bottom: 24px }
.center { text-align: center; }
.hide { display: none !important; }

/* ---------- Botões ---------- */
.btn {
  --b-bg: var(--surface-2); --b-fg: var(--text); --b-bd: var(--line-soft);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: var(--pill);
  background: var(--b-bg); color: var(--b-fg); border: 1px solid var(--b-bd);
  font-weight: 700; font-size: 14px; white-space: nowrap;
  transition: background .15s, border-color .15s, transform .08s, box-shadow .15s;
}
.btn:hover { border-color: rgba(239, 234, 223, .22); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn.loading { opacity: .55; pointer-events: none; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-gold { --b-bg: var(--gold-grad); --b-fg: #1a1203; --b-bd: transparent; box-shadow: 0 8px 30px -12px rgba(226, 180, 81, .6); }
.btn-gold:hover { box-shadow: 0 10px 34px -10px rgba(226, 180, 81, .8); border-color: transparent; }
.btn-pulse { --b-bg: var(--pulse); --b-fg: #04101f; --b-bd: transparent; }
.btn-ghost { --b-bg: transparent; }
.btn-line { --b-bg: transparent; --b-bd: rgba(226, 180, 81, .45); --b-fg: var(--gold-hi); }
.btn-ok { --b-bg: var(--ok); --b-fg: #04170e; --b-bd: transparent; }
.btn-bad { --b-bg: var(--bad-soft); --b-fg: var(--bad); --b-bd: rgba(255, 107, 107, .3); }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13px; }
.btn-xs { height: 28px; padding: 0 10px; font-size: 12px; gap: 6px; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 15px; }
.btn-block { width: 100%; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 12px; display: inline-grid; place-items: center;
  background: transparent; border: 1px solid transparent; color: var(--text-2);
}
.icon-btn:hover { background: var(--surface-2); color: var(--text); }
.icon-btn svg { width: 20px; height: 20px; }
.link { color: var(--gold-hi); font-weight: 600; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Cartões / superfícies ---------- */
.card {
  background: linear-gradient(180deg, rgba(255,255,255,.018), transparent 40%), var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 20px;
}
.card.pad-0 { padding: 0; overflow: hidden; }
.card.gold-edge { border-color: var(--line); }
.card-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card-title h3 { font-size: 16px; }
.panel { background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: var(--r); padding: 14px 16px; }
.divider-y > * + * { border-top: 1px solid var(--line-soft); }

/* Stat */
.stat { padding: 18px 20px; }
.stat .label { color: var(--mist); font-size: 13px; }
.stat .value { font: 600 26px/1.2 var(--font-display); margin-top: 6px; letter-spacing: -.02em; }
.stat .value.gold { color: var(--gold-hi); }
.stat .hint { font-size: 12px; color: var(--mist); margin-top: 4px; }

/* Badges */
.badge {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px;
  border-radius: var(--pill); font-size: 12px; font-weight: 700;
  background: var(--surface-2); color: var(--text-2); border: 1px solid var(--line-soft);
}
.badge.gold { background: rgba(226, 180, 81, .12); color: var(--gold-hi); border-color: rgba(226, 180, 81, .3); }
.badge.pulse { background: var(--pulse-soft); color: #9ccbff; border-color: rgba(61, 155, 255, .3); }
.badge.ok { background: var(--ok-soft); color: var(--ok); border-color: rgba(62, 207, 142, .3); }
.badge.warn { background: var(--warn-soft); color: var(--warn); border-color: rgba(242, 169, 59, .3); }
.badge.bad { background: var(--bad-soft); color: var(--bad); border-color: rgba(255, 107, 107, .3); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: inline-block; }
.verified { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--pulse); color: #04101f; }
.verified svg { width: 12px; height: 12px; }

/* ---------- Formulários ---------- */
.field { display: grid; gap: 6px; }
.field > label, .label-txt { font-size: 13px; font-weight: 700; color: var(--text-2); }
.field .hint { font-size: 12px; color: var(--mist); }
.req::after { content: " *"; color: var(--gold); }
.input, .select, .textarea {
  width: 100%; min-height: 44px; padding: 10px 14px;
  background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: 12px;
  color: var(--text); outline: none; transition: border-color .15s, box-shadow .15s;
}
.textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.input:focus, .select:focus, .textarea:focus { border-color: rgba(226, 180, 81, .6); box-shadow: 0 0 0 3px rgba(226, 180, 81, .12); }
.input::placeholder, .textarea::placeholder { color: #5d667b; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%238a94aa' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.input-group { display: flex; align-items: stretch; }
.input-group .prefix { display: grid; place-items: center; padding: 0 12px; background: var(--surface-2); border: 1px solid var(--line-soft); border-right: 0; border-radius: 12px 0 0 12px; color: var(--mist); font-weight: 700; }
.input-group .input { border-radius: 0 12px 12px 0; }
.form-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.check input { width: 18px; height: 18px; accent-color: var(--gold); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 14px; line-height: 1.2; white-space: nowrap; flex-shrink: 0; border-radius: var(--pill);
  background: var(--surface); border: 1px solid var(--line-soft); color: var(--text-2); font-weight: 600; font-size: 13px;
}
.chip:hover { border-color: rgba(239, 234, 223, .2); color: var(--text); }
.chip.on { background: rgba(226, 180, 81, .14); border-color: rgba(226, 180, 81, .5); color: var(--gold-hi); }
.chip svg { width: 16px; height: 16px; }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips.scroll::-webkit-scrollbar { display: none; }
.chip-check input { display: none; }

.drop {
  display: grid; place-items: center; gap: 8px; text-align: center; padding: 22px; min-height: 120px;
  border: 1.5px dashed rgba(226, 180, 81, .35); border-radius: var(--r); background: rgba(226, 180, 81, .03);
  color: var(--text-2); cursor: pointer; transition: background .15s, border-color .15s;
}
.drop:hover, .drop.over { background: rgba(226, 180, 81, .07); border-color: var(--gold); }
.drop svg { width: 28px; height: 28px; color: var(--gold); }
.drop img.preview { max-height: 180px; border-radius: 10px; }
.drop input { display: none; }

/* Tabs */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line-soft); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { padding: 12px 14px; border: 0; background: none; color: var(--mist); font-weight: 700; font-size: 14px; border-bottom: 2px solid transparent; white-space: nowrap; display: inline-flex; gap: 8px; align-items: center; }
.tab:hover { color: var(--text); }
.tab.on { color: var(--gold-hi); border-bottom-color: var(--gold); }
.count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--gold); color: #1a1203; font-size: 11px; font-weight: 800; }

/* Tabela */
.table-wrap { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: var(--r); }
table.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.table th { font-size: 12px; color: var(--mist); font-weight: 700; background: var(--bg-2); }
.table tr:last-child td { border-bottom: 0; }
.table td.num, .table th.num { text-align: right; }
.pos { color: var(--ok); } .neg { color: var(--bad); }

/* Avatar */
.avatar { width: var(--s, 40px); height: var(--s, 40px); border-radius: 50%; object-fit: cover; background: var(--raised); flex: none; display: grid; place-items: center; font-weight: 800; color: var(--gold-hi); font-size: calc(var(--s, 40px) * .4); border: 1px solid var(--line); overflow: hidden; }
.who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.who .name { font-weight: 700; display: flex; align-items: center; gap: 6px; }
.who .sub { font-size: 12px; color: var(--mist); }

/* Estado vazio */
.empty { text-align: center; padding: 40px 20px; color: var(--mist); }
.empty .ico { width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 16px; display: grid; place-items: center; background: var(--surface-2); color: var(--gold); }
.empty .ico svg { width: 26px; height: 26px; }
.empty h3 { color: var(--text); margin-bottom: 6px; }
.empty p { max-width: 46ch; margin: 0 auto 16px; }

/* Skeleton */
.skel { background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%); background-size: 200% 100%; animation: sh 1.4s infinite; border-radius: 12px; }
@keyframes sh { to { background-position: -200% 0; } }

/* ---------- Shell (área logada) ---------- */
.shell { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); min-height: 100vh; }
.side {
  position: sticky; top: 0; height: 100vh; overflow-y: auto; scrollbar-width: thin;
  background: linear-gradient(180deg, #0a1122, #070b14); border-right: 1px solid var(--line-soft);
  padding: 18px 14px 24px; display: flex; flex-direction: column; gap: 6px;
}
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 14px; }
.brand img { width: 38px; height: 38px; border-radius: 50%; box-shadow: 0 0 24px rgba(226, 180, 81, .25); }
.brand .wm { font: 700 15px/1.1 var(--font-display); letter-spacing: -.01em; }
.brand .wm small { display: block; font: 600 11px var(--font); color: var(--mist); letter-spacing: 0; margin-top: 2px; }
.nav-group { margin-top: 10px; }
.nav-group > .gl { font-size: 11px; color: #5d667b; font-weight: 700; padding: 6px 10px; }
.nav a {
  display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px;
  color: var(--text-2); font-weight: 600; font-size: 14px; position: relative;
}
.nav a svg { width: 19px; height: 19px; flex: none; color: var(--mist); }
.nav a:hover { background: rgba(255, 255, 255, .03); color: var(--text); }
.nav a.on { background: linear-gradient(90deg, rgba(226, 180, 81, .14), rgba(226, 180, 81, .02)); color: var(--gold-hi); }
.nav a.on svg { color: var(--gold); }
.nav a.on::before { content: ""; position: absolute; left: -14px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--gold); }
.nav a .count { margin-left: auto; }
.side-foot { margin-top: auto; padding-top: 16px; }

.main { min-width: 0; display: flex; flex-direction: column; }
.topbar {
  position: sticky; top: 0; z-index: 30; height: var(--top);
  display: flex; align-items: center; gap: 10px; padding: 0 24px;
  background: rgba(8, 12, 22, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.topbar .menu-btn { display: none; }
.topbar .page-name { font-weight: 800; font-size: 15px; }
.wallet-chip { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: var(--pill); background: rgba(226, 180, 81, .1); border: 1px solid rgba(226, 180, 81, .3); color: var(--gold-hi); font-weight: 800; font-size: 13px; }
.wallet-chip svg { width: 16px; height: 16px; }
.bell { position: relative; }
.bell .pip { position: absolute; top: 6px; right: 6px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--pulse); color: #04101f; font-size: 10px; font-weight: 800; display: grid; place-items: center; }
.content { padding: 28px 24px 80px; width: 100%; max-width: 1240px; margin: 0 auto; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.page-head p { color: var(--mist); margin: 6px 0 0; max-width: 64ch; }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--mist); font-weight: 600; font-size: 13px; margin-bottom: 14px; }
.back:hover { color: var(--text); }
.back svg { width: 16px; height: 16px; }

.bottom-nav { display: none; }
.scrim { display: none; }

@media (max-width: 1024px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: fixed; left: 0; top: 0; bottom: 0; width: 284px; z-index: 60; transform: translateX(-102%); transition: transform .25s ease; }
  body.nav-open .side { transform: none; box-shadow: 30px 0 60px rgba(0,0,0,.5); }
  body.nav-open .scrim { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 55; }
  .topbar { padding: 0 12px; }
  .topbar .menu-btn { display: inline-grid; }
  .content { padding: 20px 16px 96px; }
  .bottom-nav {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: rgba(8, 12, 22, .94); backdrop-filter: blur(14px); border-top: 1px solid var(--line-soft);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  }
  .bottom-nav a { display: grid; justify-items: center; gap: 2px; font-size: 10.5px; font-weight: 700; color: var(--mist); padding: 4px 0; }
  .bottom-nav a svg { width: 22px; height: 22px; }
  .bottom-nav a.on { color: var(--gold-hi); }
}
@media (max-width: 520px) { .wallet-chip .lbl { display: none; } }

/* ---------- Toast / Modal ---------- */
.toasts { position: fixed; z-index: 100; right: 16px; bottom: 16px; display: grid; gap: 8px; max-width: min(380px, calc(100vw - 32px)); }
@media (max-width: 1024px) { .toasts { bottom: 84px; left: 16px; right: 16px; } }
.toast { padding: 12px 16px; border-radius: 12px; background: var(--raised); border: 1px solid var(--line-soft); box-shadow: var(--shadow); font-weight: 600; font-size: 14px; animation: tin .2s ease; display: flex; gap: 10px; align-items: flex-start; }
.toast.ok { border-color: rgba(62, 207, 142, .4); }
.toast.bad { border-color: rgba(255, 107, 107, .45); }
.toast .t-ico { width: 20px; height: 20px; flex: none; }
.toast.ok .t-ico { color: var(--ok); } .toast.bad .t-ico { color: var(--bad); }
@keyframes tin { from { opacity: 0; transform: translateY(8px); } }

.modal-back { position: fixed; inset: 0; z-index: 90; background: rgba(2, 4, 10, .72); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 16px; animation: fin .15s ease; }
@keyframes fin { from { opacity: 0; } }
.modal { width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 40px 80px -20px rgba(0,0,0,.8); }
.modal.wide { width: min(820px, 100%); }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 0; }
.modal-head h3 { font: 600 18px var(--font-display); }
.modal-body { padding: 16px 20px; }
.modal-foot { display: flex; gap: 10px; justify-content: flex-end; padding: 0 20px 20px; flex-wrap: wrap; }
@media (max-width: 640px) {
  .modal-back { place-items: end stretch; padding: 0; }
  .modal { border-radius: 22px 22px 0 0; max-height: 92vh; }
}

/* Dropdown */
.menu-pop { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; background: var(--raised); border: 1px solid var(--line-soft); border-radius: 14px; padding: 6px; box-shadow: var(--shadow); z-index: 50; }
.menu-pop a, .menu-pop button { display: flex; width: 100%; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: none; border: 0; text-align: left; font-weight: 600; font-size: 14px; color: var(--text-2); }
.menu-pop a:hover, .menu-pop button:hover { background: rgba(255,255,255,.05); color: var(--text); }
.menu-pop svg { width: 18px; height: 18px; color: var(--mist); }

/* ---------- Vinil (assinatura visual: a música dividida em participações) ---------- */
.vinyl { position: relative; aspect-ratio: 1; width: var(--vs, 120px); flex: none; }
.vinyl svg { width: 100%; height: 100%; overflow: visible; }
.vinyl .spin { transform-origin: 50% 50%; animation: spin 14s linear infinite; }
.vinyl.still .spin { animation: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .vinyl .spin { animation: none; } }

/* ---------- Cards de domínio ---------- */
.track-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; transition: border-color .15s, transform .15s; }
.track-card:hover { border-color: var(--line); }
.track-card .cover { position: relative; aspect-ratio: 1; background: var(--raised); overflow: hidden; }
.track-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.track-card .cover .ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--gold-lo); }
.track-card .cover .ph svg { width: 40%; height: 40%; opacity: .5; }
.track-card .cover .corner { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.track-card .cover .mini-vinyl { position: absolute; right: 10px; bottom: 10px; --vs: 54px; filter: drop-shadow(0 6px 14px rgba(0,0,0,.6)); }
.track-card .body { padding: 14px 16px 16px; display: grid; gap: 6px; }
.track-card .title { font-weight: 800; font-size: 15px; }
.offer-line { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line-soft); }
.offer-line .pct { font: 600 18px var(--font-display); color: var(--gold-hi); }
.offer-line .price { font-weight: 800; }

.list-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.list-card .cover { aspect-ratio: 4/3; background: var(--raised); position: relative; overflow: hidden; }
.list-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.list-card .cover .ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--gold-lo); }
.list-card .cover .ph svg { width: 34%; height: 34%; opacity: .55; }
.list-card .cover .corner { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; }
.list-card .body { padding: 14px 16px 16px; display: grid; gap: 8px; flex: 1; }
.list-card .price { font: 600 18px var(--font-display); color: var(--gold-hi); }
.stars { display: inline-flex; align-items: center; gap: 4px; color: var(--gold); font-weight: 700; font-size: 12px; }
.stars svg { width: 14px; height: 14px; }

/* Player */
.player { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line-soft); }
.player .pbtn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--gold-grad); color: #1a1203; display: grid; place-items: center; flex: none; }
.player .pbtn svg { width: 20px; height: 20px; }
.player .bar { flex: 1; height: 34px; display: flex; align-items: center; gap: 2px; cursor: pointer; }
.player .bar i { flex: 1; background: rgba(239, 234, 223, .16); border-radius: 2px; min-width: 2px; }
.player .bar i.on { background: var(--pulse); }
.player .time { font-size: 12px; color: var(--mist); width: 84px; text-align: right; }

/* Feed */
.post { padding: 0; overflow: hidden; }
.post .p-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; }
.post .p-img { background: #000; }
.post .p-img img { width: 100%; max-height: 640px; object-fit: contain; margin: 0 auto; }
.post .p-body { padding: 12px 16px 6px; }
.post .p-actions { display: flex; align-items: center; gap: 4px; padding: 6px 10px 10px; flex-wrap: wrap; }
.react { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: var(--pill); background: transparent; border: 1px solid transparent; color: var(--text-2); font-weight: 700; font-size: 13px; }
.react:hover { background: var(--surface-2); }
.react svg { width: 18px; height: 18px; }
.react.on-like { color: var(--gold-hi); background: rgba(226, 180, 81, .12); }
.react.on-dislike { color: var(--bad); background: var(--bad-soft); }
.comments { border-top: 1px solid var(--line-soft); padding: 12px 16px 16px; display: grid; gap: 10px; }
.comment { display: flex; gap: 10px; font-size: 14px; }
.comment .bubble { background: var(--bg-2); border-radius: 12px; padding: 8px 12px; flex: 1; }

/* Chat */
.chat { display: flex; flex-direction: column; gap: 8px; max-height: 420px; overflow-y: auto; padding: 4px; }
.msg { max-width: 78%; padding: 9px 13px; border-radius: 14px; background: var(--surface-2); font-size: 14px; }
.msg.me { align-self: flex-end; background: rgba(226, 180, 81, .14); border: 1px solid rgba(226, 180, 81, .25); }
.msg .meta { font-size: 11px; color: var(--mist); margin-top: 3px; }

/* Timeline (status de pedido) */
.steps { display: flex; gap: 8px; }
.steps .st { flex: 1; height: 6px; border-radius: 3px; background: var(--surface-2); }
.steps .st.on { background: var(--gold); }

/* Notificações */
.notif { display: flex; gap: 12px; padding: 14px 4px; align-items: flex-start; }
.notif .ni { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); color: var(--gold); flex: none; }
.notif .ni svg { width: 18px; height: 18px; }
.notif.unread .ni { background: var(--pulse-soft); color: var(--pulse); }
.notif.unread .nt { color: var(--text); }

/* ---------- Outdoor (patrocinadores) ---------- */
.billboard { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: #05070d; }
.billboard .bb-track { position: relative; aspect-ratio: 16 / 5; }
.billboard.mid .bb-track { aspect-ratio: 16 / 4; }
@media (max-width: 640px) { .billboard .bb-track, .billboard.mid .bb-track { aspect-ratio: 16 / 8; } }
.billboard .bb-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; display: block; }
.billboard .bb-slide.on { opacity: 1; z-index: 1; }
.billboard .bb-slide img, .billboard .bb-slide video { width: 100%; height: 100%; object-fit: cover; }
.billboard .bb-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 22px 18px; background: linear-gradient(transparent, rgba(0,0,0,.78)); display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.billboard .bb-cap h3 { font: 600 clamp(16px, 2vw, 22px) var(--font-display); }
.billboard .bb-cap p { margin: 4px 0 0; color: var(--text-2); font-size: 14px; }
.billboard .bb-tag { position: absolute; z-index: 3; top: 12px; left: 12px; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: var(--pill); background: rgba(0,0,0,.55); color: var(--text-2); border: 1px solid rgba(255,255,255,.12); }
.billboard .bb-dots { position: absolute; z-index: 3; right: 14px; top: 14px; display: flex; gap: 6px; }
.billboard .bb-dots button { width: 8px; height: 8px; border-radius: 4px; border: 0; background: rgba(255,255,255,.35); padding: 0; transition: width .2s; }
.billboard .bb-dots button.on { width: 22px; background: var(--gold); }
.billboard .house { position: absolute; inset: 0; display: grid; align-content: center; padding: 24px clamp(20px, 5vw, 56px); background:
  radial-gradient(500px 220px at 85% 50%, rgba(226, 180, 81, .16), transparent 70%),
  repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 22px), #070b14; }
.billboard .house h3 { font: 600 clamp(18px, 2.6vw, 30px) var(--font-display); max-width: 22ch; }
.billboard .house p { color: var(--text-2); margin: 8px 0 14px; max-width: 52ch; }

/* ---------- Outdoor de artistas ---------- */
.spot { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-soft); background: var(--surface); }
.spot-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 8px; scrollbar-width: thin; }
.spot-card { scroll-snap-align: start; position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--raised); border: 1px solid var(--line-soft); display: block; }
.spot-card img.ph { width: 100%; height: 100%; object-fit: cover; }
.spot-card .sc-grad { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(4,6,12,.92)); }
.spot-card .sc-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; display: grid; gap: 6px; }
.spot-card .sc-name { font: 600 20px var(--font-display); }
.spot-card.week { grid-column: span 2; aspect-ratio: auto; min-height: 100%; border-color: var(--line); }
@media (max-width: 640px) { .spot-card.week { grid-column: auto; aspect-ratio: 4/5; } }
.spot-card .sc-links { display: flex; gap: 6px; }
.spot-card .sc-links a { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); }
.spot-card .sc-links a svg { width: 16px; height: 16px; }
.spot-card .sc-play { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--gold-grad); color: #1a1203; display: grid; place-items: center; z-index: 2; }
.spot-card .sc-play svg { width: 18px; height: 18px; }

/* ---------- Site público ---------- */
.pub-head { position: sticky; top: 0; z-index: 40; background: rgba(8, 12, 22, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-soft); }
.pub-head .wrap { height: 68px; display: flex; align-items: center; gap: 20px; }
.pub-nav { display: flex; gap: 4px; margin-left: 12px; }
.pub-nav a { padding: 8px 12px; border-radius: 10px; color: var(--text-2); font-weight: 600; font-size: 14px; }
.pub-nav a:hover { color: var(--text); background: rgba(255,255,255,.04); }
.pub-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
@media (max-width: 900px) { .pub-nav { display: none; } }

.hero { position: relative; padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }
.hero h1 { font-size: clamp(34px, 5.6vw, 66px); line-height: 1.02; letter-spacing: -.035em; font-weight: 600; max-width: 14ch; }
.hero .lead { margin: 22px 0 30px; font-size: clamp(16px, 1.4vw, 18px); }
.hero-visual { position: relative; display: grid; place-items: center; }
.hero-visual .vinyl { --vs: min(440px, 82vw); }
.hero-visual .ticket {
  position: absolute; left: -6%; bottom: 8%; padding: 14px 18px; border-radius: 16px;
  background: rgba(17, 26, 43, .92); border: 1px solid var(--line); box-shadow: var(--shadow); backdrop-filter: blur(8px); min-width: 230px;
}
.hero-visual .ticket .big { font: 600 22px var(--font-display); color: var(--gold-hi); }
.hero-visual .ticket2 { left: auto; right: -4%; top: 6%; bottom: auto; min-width: 0; }
@media (max-width: 900px) { .hero-visual .ticket { left: 0; } .hero-visual .ticket2 { right: 0; } }
.hero-stats { display: flex; gap: 28px; margin-top: 34px; flex-wrap: wrap; }
.hero-stats .hs b { display: block; font: 600 24px var(--font-display); }
.hero-stats .hs span { font-size: 13px; color: var(--mist); }

.section { padding: clamp(48px, 7vw, 88px) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(24px, 3vw, 38px); letter-spacing: -.025em; max-width: 22ch; }
.section-head p { color: var(--mist); max-width: 52ch; margin: 10px 0 0; }

.doors { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .doors { grid-template-columns: 1fr; } }
.door { padding: 28px; position: relative; overflow: hidden; }
.door .d-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(226, 180, 81, .1); color: var(--gold); margin-bottom: 18px; }
.door .d-ico svg { width: 24px; height: 24px; }
.door h3 { font: 600 20px var(--font-display); margin-bottom: 14px; }
.door ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.door li { display: flex; gap: 10px; color: var(--text-2); }
.door li svg { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: 3px; }

.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line-soft); border-radius: var(--r-lg); overflow: hidden; }
@media (max-width: 900px) { .flow { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .flow { grid-template-columns: 1fr; } }
.flow .fs { padding: 26px 22px; background: var(--surface); border-right: 1px solid var(--line-soft); position: relative; }
.flow .fs:last-child { border-right: 0; }
.flow .fs .n { font: 600 34px var(--font-display); color: transparent; -webkit-text-stroke: 1px rgba(226, 180, 81, .6); margin-bottom: 14px; }
.flow .fs h4 { font-size: 16px; margin-bottom: 6px; }
.flow .fs p { color: var(--mist); font-size: 14px; margin: 0; }

.band { position: relative; border-radius: 28px; overflow: hidden; padding: clamp(28px, 5vw, 56px); border: 1px solid var(--line);
  background: radial-gradient(600px 300px at 100% 0%, rgba(61, 155, 255, .14), transparent 70%), radial-gradient(500px 300px at 0% 100%, rgba(226, 180, 81, .14), transparent 70%), var(--surface); }
.band h2 { font-size: clamp(24px, 3.4vw, 42px); max-width: 18ch; letter-spacing: -.025em; }
.role-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 26px; }
.role-cloud span { padding: 8px 14px; border-radius: var(--pill); background: rgba(255,255,255,.05); border: 1px solid var(--line-soft); font-size: 14px; color: var(--text-2); }

.pub-foot { border-top: 1px solid var(--line-soft); padding: 40px 0 60px; color: var(--mist); font-size: 14px; }
.pub-foot .wrap { display: flex; gap: 24px; justify-content: space-between; flex-wrap: wrap; align-items: center; }
.pub-foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.pub-foot a:hover { color: var(--text); }

/* Auth */
.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 900px) { .auth { grid-template-columns: 1fr; } .auth .art { display: none; } }
.auth .art { position: relative; overflow: hidden; display: grid; place-items: center; padding: 48px; border-right: 1px solid var(--line-soft);
  background: radial-gradient(500px 400px at 50% 40%, rgba(226, 180, 81, .12), transparent 70%), #070b14; }
.auth .art .vinyl { --vs: min(420px, 38vw); }
.auth .art blockquote { position: absolute; left: 48px; right: 48px; bottom: 44px; margin: 0; font: 500 18px/1.4 var(--font-display); color: var(--text-2); }
.auth .form-side { display: grid; place-items: center; padding: 40px 20px; }
.auth .box { width: min(440px, 100%); }
.auth .box h1 { font-size: 28px; margin: 22px 0 6px; }
.oauth { display: grid; gap: 10px; margin: 22px 0 18px; }
.oauth .btn { height: 46px; border-radius: 12px; justify-content: center; }
.or { display: flex; align-items: center; gap: 12px; color: var(--mist); font-size: 12px; margin: 6px 0 18px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line-soft); }
.role-pick { display: grid; gap: 10px; margin: 20px 0; }
.role-pick label { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-soft); background: var(--surface); cursor: pointer; transition: border-color .15s, background .15s; }
.role-pick label:hover { border-color: rgba(239,234,223,.2); }
.role-pick input { display: none; }
.role-pick label:has(input:checked) { border-color: var(--gold); background: rgba(226, 180, 81, .08); }
.role-pick .ri { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--gold); flex: none; }
.role-pick .ri svg { width: 20px; height: 20px; }
.role-pick b { display: block; font-size: 15px; }
.role-pick span { font-size: 13px; color: var(--mist); }

/* Área de descanso */
.rest-hero { position: relative; border-radius: 28px; overflow: hidden; padding: clamp(28px, 5vw, 60px); border: 1px solid rgba(61, 155, 255, .25);
  background: radial-gradient(700px 400px at 50% 120%, rgba(61, 155, 255, .22), transparent 70%), radial-gradient(400px 300px at 90% 0%, rgba(226, 180, 81, .1), transparent 70%), #060a14; }
.rest-hero h1 { font-size: clamp(30px, 4.6vw, 54px); letter-spacing: -.03em; }
.breath { width: 140px; height: 140px; border-radius: 50%; margin: 0 auto; border: 1px solid rgba(61,155,255,.5); display: grid; place-items: center; position: relative; }
.breath::before { content: ""; position: absolute; inset: 18px; border-radius: 50%; background: radial-gradient(circle, rgba(61,155,255,.5), rgba(61,155,255,.05)); animation: breathe 10s ease-in-out infinite; }
.breath span { position: relative; font-size: 13px; font-weight: 700; color: #cfe5ff; }
@keyframes breathe { 0%, 100% { transform: scale(.55); opacity: .6; } 50% { transform: scale(1.12); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .breath::before { animation: none; } }
.freq { padding: 18px; }
.freq .hz { font: 600 24px var(--font-display); color: #9ccbff; }
.yt-stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
@media (max-width: 520px) { .yt-stats { grid-template-columns: 1fr; } }
.embed { position: relative; aspect-ratio: 16/9; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-soft); background: #000; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Admin */
.admin-tabs { margin-bottom: 20px; }
.kv { display: grid; grid-template-columns: 160px 1fr; gap: 6px 14px; font-size: 14px; }
.kv dt { color: var(--mist); }
.kv dd { margin: 0; word-break: break-word; }
.queue-item { display: grid; gap: 10px; padding: 16px; border-bottom: 1px solid var(--line-soft); }
.queue-item:last-child { border-bottom: 0; }
.thumb { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: var(--raised); flex: none; }

/* Misc */
.pill-info { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--r); background: var(--pulse-soft); border: 1px solid rgba(61, 155, 255, .25); color: #cfe5ff; font-size: 14px; }
.pill-info svg { width: 20px; height: 20px; flex: none; color: var(--pulse); margin-top: 2px; }
.pill-info.gold { background: rgba(226, 180, 81, .08); border-color: rgba(226, 180, 81, .3); color: var(--text-2); }
.pill-info.gold svg { color: var(--gold); }
.pill-info.warn { background: var(--warn-soft); border-color: rgba(242, 169, 59, .3); color: #f6d4a0; }
.pill-info.warn svg { color: var(--warn); }
.code-box { font: 700 22px var(--font-display); letter-spacing: .06em; padding: 14px 18px; border-radius: 14px; background: var(--bg-2); border: 1px dashed var(--gold); color: var(--gold-hi); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.quick { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr)); }
.quick a { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line-soft); transition: border-color .15s; }
.quick a:hover { border-color: var(--line); }
.quick .qi { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; background: rgba(226, 180, 81, .1); color: var(--gold); }
.quick .qi.blue { background: var(--pulse-soft); color: var(--pulse); }
.quick .qi svg { width: 21px; height: 21px; }
.quick b { display: block; font-size: 14px; }
.quick span { font-size: 12px; color: var(--mist); }
.progress { height: 8px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.progress > i { display: block; height: 100%; background: var(--gold-grad); border-radius: 4px; }
.cover-xl { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-lg); border: 1px solid var(--line-soft); background: var(--raised); }
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
@media (max-width: 960px) { .detail { grid-template-columns: 1fr; } }
.sticky-col { position: sticky; top: calc(var(--top) + 20px); }
@media (max-width: 960px) { .sticky-col { position: static; } }
.lyric-blur { position: relative; }
.lyric-blur::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60%; background: linear-gradient(transparent, var(--surface)); }
.boot { min-height: 100vh; display: grid; place-items: center; }
.boot img { width: 72px; height: 72px; border-radius: 50%; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .5; transform: scale(.95); } }

/* Home focada na distribuidora */
.platforms { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 28px; }
.platforms span:not(.tiny) { padding: 6px 12px; border-radius: var(--pill); border: 1px solid var(--line-soft); background: rgba(255,255,255,.04); font-size: 13px; color: var(--text-2); }
.platforms .tiny { margin-right: 4px; }
.benefit { padding: 26px; }
.benefit .d-ico, .pay-band .d-ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: rgba(226, 180, 81, .1); color: var(--gold); margin-bottom: 16px; }
.benefit .d-ico svg, .pay-band .d-ico svg { width: 22px; height: 22px; }
.benefit h3 { font: 600 18px var(--font-display); margin-bottom: 8px; }
.benefit p { color: var(--mist); margin: 0; font-size: 15px; }
.doors.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .doors.three { grid-template-columns: 1fr; } }
.pay-band { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: center; }
@media (max-width: 860px) { .pay-band { grid-template-columns: 1fr; } }
.stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.stat-grid div { padding: 20px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid var(--line-soft); }
.stat-grid b { display: block; font: 600 clamp(24px, 3vw, 32px) var(--font-display); color: var(--gold-hi); }
.stat-grid span { font-size: 13px; color: var(--mist); }

/* ===== Home futurista (nível cinema) ===== */
.pub-main:has(.hx) { overflow-x: clip; }
.hx { position: relative; min-height: min(100svh, 980px); display: grid; place-items: center; overflow: hidden; isolation: isolate; padding: 40px 0 90px;
  background: radial-gradient(900px 520px at 50% 38%, rgba(61,155,255,.20), transparent 62%), radial-gradient(700px 500px at 50% 100%, rgba(226,180,81,.14), transparent 70%), #04070f; }
.hx-fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hx-grid { position: absolute; inset: auto 0 0 0; height: 46%; z-index: -2; opacity: .35; pointer-events: none;
  background-image: linear-gradient(rgba(61,155,255,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(61,155,255,.25) 1px, transparent 1px); background-size: 56px 56px;
  transform: perspective(500px) rotateX(62deg); transform-origin: bottom; mask-image: linear-gradient(to top, #000 10%, transparent 90%); -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 90%); animation: gridmove 6s linear infinite; }
@keyframes gridmove { to { background-position: 0 56px; } }
.hx-inner { text-align: center; display: grid; justify-items: center; gap: 18px; }
.hx-logo { position: relative; width: clamp(180px, min(30vw, 34vh), 320px); aspect-ratio: 1; display: grid; place-items: center; margin-bottom: 8px; }
.hx-logo img { width: 100%; height: 100%; border-radius: 50%; position: relative; z-index: 2; box-shadow: 0 0 60px 6px rgba(61,155,255,.35), 0 0 140px 10px rgba(226,180,81,.18); animation: logoglow 4s ease-in-out infinite; }
@keyframes logoglow { 50% { box-shadow: 0 0 90px 14px rgba(61,155,255,.5), 0 0 180px 20px rgba(226,180,81,.25); } }
.hx-ring { position: absolute; inset: -6%; border-radius: 50%; z-index: 1; }
.hx-ring.r1 { background: conic-gradient(from 0deg, transparent 0 55%, rgba(247,220,143,.95) 70%, transparent 80%); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); animation: spin 6s linear infinite; }
.hx-ring.r2 { inset: -14%; border: 1px dashed rgba(61,155,255,.45); animation: spin 26s linear infinite reverse; }
.hx-ring.r3 { inset: -24%; border: 1px solid rgba(226,180,81,.14); }
.hx-ring.r3::after { content: ""; position: absolute; top: 50%; left: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--pulse); box-shadow: 0 0 16px 4px rgba(61,155,255,.8); }
.hx-ring.r3 { animation: spin 12s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hx-kicker { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: #9ccbff; padding: 8px 16px; border-radius: var(--pill); border: 1px solid rgba(61,155,255,.35); background: rgba(61,155,255,.08); backdrop-filter: blur(6px); }
.hx-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 6.4vw, 78px); line-height: 1.02; letter-spacing: -.03em; max-width: 16ch; text-transform: uppercase;
  background: linear-gradient(100deg, #fff 0%, #f7dc8f 30%, #e2b451 45%, #fff 55%, #9ccbff 75%, #fff 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 8s linear infinite; }
@keyframes shimmer { to { background-position: -250% 0; } }
.hx-sub { max-width: 640px; color: var(--text-2); font-size: clamp(16px, 1.6vw, 20px); line-height: 1.6; margin: 0; }
.hx-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.btn-neo { position: relative; display: inline-flex; align-items: center; gap: 12px; padding: 18px 34px; border-radius: 16px; font-weight: 800; font-size: 17px; color: #fff; background: #0a0f1d; isolation: isolate; overflow: hidden; transition: transform .2s; }
.btn-neo::before { content: ""; position: absolute; inset: -2px; z-index: -2; background: conic-gradient(from var(--a, 0deg), #e2b451, #3d9bff, #f7dc8f, #3d9bff, #e2b451); animation: rot 3s linear infinite; }
.btn-neo::after { content: ""; position: absolute; inset: 2px; z-index: -1; border-radius: 14px; background: linear-gradient(180deg, #121a2e, #070b16); }
.btn-neo svg { width: 20px; height: 20px; transition: transform .2s; }
.btn-neo:hover { transform: translateY(-2px); box-shadow: 0 18px 60px -12px rgba(226,180,81,.55); }
.btn-neo:hover svg { transform: translateX(4px); }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes rot { to { --a: 360deg; } }
.hx-scroll { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border-radius: 14px; border: 1.5px solid rgba(239,234,223,.35); }
.hx-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: scrolldot 1.6s ease-in-out infinite; }
@keyframes scrolldot { 60% { transform: translateY(14px); opacity: 0; } }

.ticker { border-block: 1px solid var(--line-soft); background: rgba(255,255,255,.02); overflow: hidden; padding: 16px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: tick 40s linear infinite; }
.ticker-track span { font: 600 16px var(--font-display); color: var(--text-2); white-space: nowrap; letter-spacing: .02em; }
.ticker-track i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
@keyframes tick { to { transform: translateX(-33.333%); } }

.eyebrow { display: inline-block; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.neo-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.neo-head h2 { font-size: clamp(28px, 4vw, 48px); letter-spacing: -.03em; line-height: 1.08; }
.neo-head p { color: var(--mist); margin: 14px auto 0; font-size: 17px; }
.neo-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 980px) { .neo-cards { grid-template-columns: 1fr; } }
.neo-card, .neo-tile, .neo-pay, .neo-stat, .neo-blog { position: relative; border-radius: 24px; background: linear-gradient(180deg, rgba(23,34,56,.75), rgba(10,15,29,.85)); border: 1px solid rgba(226,180,81,.16); backdrop-filter: blur(10px); box-shadow: 0 30px 80px -40px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.04); }
.neo-card { padding: 32px; display: flex; flex-direction: column; overflow: hidden; transition: transform .35s, border-color .35s, box-shadow .35s; }
.neo-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(247,220,143,.7), transparent 35%, transparent 65%, rgba(61,155,255,.7)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .5; transition: opacity .35s; pointer-events: none; }
.neo-card::after { content: ""; position: absolute; width: 260px; height: 260px; top: -120px; right: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(226,180,81,.22), transparent 70%); pointer-events: none; }
.neo-card:hover { transform: translateY(-6px); box-shadow: 0 40px 90px -40px rgba(226,180,81,.45); }
.neo-card:hover::before { opacity: 1; }
.neo-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: var(--gold-hi); background: linear-gradient(140deg, rgba(226,180,81,.25), rgba(61,155,255,.15)); border: 1px solid rgba(226,180,81,.3); box-shadow: 0 0 30px -6px rgba(226,180,81,.45); margin-bottom: 22px; }
.neo-ico svg { width: 26px; height: 26px; }
.neo-ico.sm { width: 46px; height: 46px; border-radius: 13px; margin-bottom: 16px; } .neo-ico.sm svg { width: 22px; height: 22px; }
.neo-ico.lg { width: 72px; height: 72px; border-radius: 20px; margin: 0 auto 22px; } .neo-ico.lg svg { width: 32px; height: 32px; }
.neo-card h3 { font: 700 22px var(--font-display); color: var(--gold-hi); margin-bottom: 18px; }
.neo-card ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; flex: 1; }
.neo-card li { display: flex; gap: 10px; color: var(--text-2); font-size: 15.5px; line-height: 1.5; }
.neo-card li svg { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: 3px; }
.neo-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--gold-hi); }
.neo-link svg { width: 18px; height: 18px; transition: transform .2s; } .neo-link:hover svg { transform: translateX(4px); }
.neo-mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 980px) { .neo-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .neo-mini { grid-template-columns: 1fr; } }
.neo-tile { padding: 26px; transition: transform .3s, border-color .3s; } .neo-tile:hover { transform: translateY(-4px); border-color: rgba(61,155,255,.45); }
.neo-tile h3 { font: 600 18px var(--font-display); margin-bottom: 8px; } .neo-tile p { color: var(--mist); margin: 0; font-size: 15px; }
.neo-pay { text-align: center; padding: clamp(32px, 5vw, 56px); max-width: 860px; margin: 0 auto 20px; overflow: hidden; }
.neo-pay::after { content: ""; position: absolute; inset: auto 0 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), var(--pulse), transparent); }
.neo-pay h2 { font-size: clamp(26px, 3.4vw, 40px); color: var(--gold-hi); } .neo-pay p { color: var(--text-2); font-size: 18px; max-width: 560px; margin: 14px auto 0; line-height: 1.6; }
.neo-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 800px) { .neo-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.neo-stat { padding: 28px 18px; text-align: center; }
.neo-stat b { display: block; font: 700 clamp(30px, 4.4vw, 52px) var(--font-display); background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -.02em; }
.neo-stat span { color: var(--mist); font-size: 15px; }
.neo-final { position: relative; overflow: hidden; isolation: isolate; text-align: center; border-radius: 32px; padding: clamp(48px, 8vw, 96px) 24px; border: 1px solid rgba(226,180,81,.25);
  background: radial-gradient(600px 300px at 50% 0%, rgba(61,155,255,.25), transparent 70%), radial-gradient(500px 300px at 50% 100%, rgba(226,180,81,.18), transparent 70%), #060a15; }
.neo-final h2 { font-size: clamp(30px, 5vw, 60px); letter-spacing: -.03em; text-transform: uppercase; }
.neo-final p { color: var(--text-2); font-size: 18px; max-width: 560px; margin: 16px auto 30px; }
.neo-blog { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: clamp(28px, 4vw, 44px); }
.neo-blog h2 { font-size: clamp(22px, 2.8vw, 32px); max-width: 22ch; } .neo-blog p { color: var(--mist); margin: 10px 0 0; max-width: 56ch; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.hx .reveal:nth-child(2) { transition-delay: 120ms; } .hx .reveal:nth-child(3) { transition-delay: 220ms; } .hx .reveal:nth-child(4) { transition-delay: 320ms; } .hx .reveal:nth-child(5) { transition-delay: 420ms; }
@media (prefers-reduced-motion: reduce) { .hx-grid, .hx-ring, .hx-logo img, .hx-title, .ticker-track, .btn-neo::before, .hx-scroll span { animation: none !important; } .reveal { opacity: 1; transform: none; } }
.pill-info.ok { background: var(--ok-soft); border-color: rgba(62, 207, 142, .3); color: #bdf0d8; }
.pill-info.ok svg { color: var(--ok); }
/* Biblioteca */
.lib-card { overflow: hidden; display: flex; flex-direction: column; }
.lib-card .stack { flex: 1; }
.lib-card .btn { margin-top: auto; width: 100%; justify-content: center; }
.lib-cover { position: relative; aspect-ratio: 16/10; background: var(--bg-2); border-bottom: 1px solid var(--line-soft); }
.lib-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lib-ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--gold); background: radial-gradient(circle at 30% 20%, rgba(226,180,81,.16), transparent 60%), var(--bg-2); }
.lib-ph svg { width: 40px; height: 40px; }
.lib-kind { position: absolute; top: 10px; left: 10px; }
.chart-card svg { overflow: visible; }
.ms-ab { gap: 10px; align-items: center; font: 600 20px/1.2 var(--font-display); margin-top: 6px; }
.ms-ab svg { width: 18px; height: 18px; color: var(--mist); flex: none; }
