/* ============================================================
   GASTLY — tema roxo / dark
   ============================================================ */

/* Fontes proprias (hospedadas localmente — sem request externo) */
@font-face {
  font-family: 'Space Grotesk'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url('/assets/fonts/space-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
  font-family: 'Space Grotesk'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url('/assets/fonts/space-grotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0;
}
@font-face {
  font-family: 'Syne'; font-style: normal; font-weight: 700 800; font-display: swap;
  src: url('/assets/fonts/syne-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: 'Syne'; font-style: normal; font-weight: 700 800; font-display: swap;
  src: url('/assets/fonts/syne-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF;
}
@font-face {
  font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212, U+2215;
}
@font-face {
  font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF;
}

:root {
  --bg: #0a0512;
  --bg-2: #0f0819;
  --panel: #150d24;
  --panel-2: #1b1130;
  --line: rgba(168, 85, 247, 0.16);
  --line-strong: rgba(168, 85, 247, 0.38);
  --purple: #a855f7;
  --purple-bright: #c084fc;
  --purple-deep: #7c3aed;
  --purple-dark: #5b21b6;
  --lilac: #e9d5ff;
  --text: #ece7f6;
  --muted: #9d92b5;
  --muted-2: #6f6488;
  --green: #4ade80;
  --red: #f87171;
  --amber: #fbbf24;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 60px -20px rgba(124, 58, 237, 0.55);
  --font: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Syne', 'Space Grotesk', system-ui, sans-serif;
  --mono: 'JetBrains Mono', 'Cascadia Code', Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Fundo com brilho roxo */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 520px at 80% -10%, rgba(124, 58, 237, 0.28), transparent 60%),
    radial-gradient(700px 500px at 0% 20%, rgba(168, 85, 247, 0.12), transparent 55%),
    var(--bg);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(168, 85, 247, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 30%, transparent 78%);
}

a { color: var(--purple-bright); text-decoration: none; }
a:hover { color: #fff; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.5em; font-weight: 800; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }

.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 84px 0; position: relative; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--purple-bright); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--purple); border-radius: 2px; }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }

/* ── Botões ─────────────────────────────────────────────── */
.btn {
  --btn-bg: var(--purple-deep);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 22px; border-radius: 12px; border: 1px solid transparent;
  font: inherit; font-weight: 700; font-size: 15px; cursor: pointer;
  color: #fff; background: var(--btn-bg);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 12px 30px -10px rgba(168, 85, 247, 0.7); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-primary { background: linear-gradient(135deg, var(--purple), var(--purple-deep)); }
.btn-ghost { background: rgba(168, 85, 247, 0.08); border-color: var(--line-strong); color: var(--lilac); }
.btn-ghost:hover { background: rgba(168, 85, 247, 0.16); }
.btn-outline { background: transparent; border-color: var(--line-strong); color: var(--text); }
.btn-sm { padding: 8px 14px; font-size: 13.5px; border-radius: 9px; }
.btn-block { width: 100%; }
.btn-danger { background: rgba(248, 113, 113, 0.14); border-color: rgba(248, 113, 113, 0.4); color: #fecaca; }

/* ── Navbar ─────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(10, 5, 18, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 26px; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 900; font-size: 19px; letter-spacing: 0.02em; color: #fff; }
.brand img { width: 34px; height: 34px; filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.6)); }
.brand span em { color: var(--purple-bright); font-style: normal; }
.nav-links { display: flex; gap: 4px; margin-left: 10px; }
.nav-links a {
  color: var(--muted); font-weight: 600; font-size: 14.5px;
  padding: 8px 13px; border-radius: 9px; transition: color 0.15s, background 0.15s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(168, 85, 247, 0.1); }
.nav-spacer { flex: 1; }
.nav-auth { display: flex; align-items: center; gap: 12px; }
.user-chip {
  display: flex; align-items: center; gap: 9px; padding: 5px 12px 5px 5px;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(168, 85, 247, 0.06);
  color: var(--text); font-weight: 600; font-size: 14px;
}
.user-chip img, .avatar-fallback { width: 30px; height: 30px; border-radius: 50%; background: var(--purple-deep); }
.avatar-fallback { display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 9px; padding: 8px 11px; cursor: pointer; }

/* ── Hero ───────────────────────────────────────────────── */
.hero { padding: 96px 0 70px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 50px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(168, 85, 247, 0.08);
  color: var(--lilac); font-size: 13px; font-weight: 600; margin-bottom: 24px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: 0.45; } }
.hero h1 { font-size: clamp(38px, 6vw, 66px); line-height: 1.03; margin-bottom: 22px; }
.hero h1 .grad {
  background: linear-gradient(120deg, #fff 10%, var(--purple-bright) 55%, var(--purple-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 520px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 46px; flex-wrap: wrap; }
.hero-stats .stat strong { display: block; font-size: 28px; color: #fff; letter-spacing: -0.03em; }
.hero-stats .stat span { font-size: 13px; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.08em; }

.hero-art { position: relative; display: grid; place-items: center; min-height: 380px; }
.hero-art .halo {
  position: absolute; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.45), transparent 65%);
  filter: blur(18px);
}
.hero-art img { width: min(380px, 100%); position: relative; z-index: 2; animation: float 6s ease-in-out infinite; filter: drop-shadow(0 20px 40px rgba(124, 58, 237, 0.5)); }
@keyframes float { 50% { transform: translateY(-16px); } }
.hero-art .ring {
  position: absolute; border: 1px solid var(--line-strong); border-radius: 50%;
  width: 400px; height: 400px; z-index: 1;
}
.hero-art .ring.r2 { width: 300px; height: 300px; border-style: dashed; opacity: 0.6; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Games strip ────────────────────────────────────────── */
.games-strip { border-block: 1px solid var(--line); padding: 26px 0; background: rgba(15, 8, 25, 0.5); }
.games-strip .inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.games-strip span { color: var(--muted-2); font-size: 13px; text-transform: uppercase; letter-spacing: 0.14em; white-space: nowrap; }
.games-strip .games { display: flex; gap: 30px; flex-wrap: wrap; }
.games-strip .game { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--muted); font-size: 15px; letter-spacing: 0.02em; }
.games-strip .game::before { content: "◆"; color: var(--purple); font-size: 10px; }

/* ── Product cards ──────────────────────────────────────── */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.product-card {
  position: relative; background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  display: flex; flex-direction: column; transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  overflow: hidden;
}
.product-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--accent, var(--purple));
}
.product-card:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.product-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.product-game { font-size: 11.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); }
.badge {
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.08em; padding: 4px 9px; border-radius: 999px;
  background: rgba(168, 85, 247, 0.16); color: var(--purple-bright); border: 1px solid var(--line-strong);
}
.product-card h3 { font-size: 26px; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.product-card .tagline { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; min-height: 44px; }
.product-features { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 9px; }
.product-features li { position: relative; padding-left: 22px; font-size: 14px; color: #cfc7e2; }
.product-features li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent, var(--purple));
  font-weight: 900; font-size: 12px;
}
.product-price { margin-top: auto; display: flex; align-items: baseline; gap: 6px; margin-bottom: 16px; }
.product-price .val { font-size: 30px; font-weight: 900; letter-spacing: -0.03em; }
.product-price .per { color: var(--muted-2); font-size: 13px; }

/* ── Feature cards ──────────────────────────────────────── */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.feature {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.feature .ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(168, 85, 247, 0.12); border: 1px solid var(--line-strong);
  font-size: 22px; margin-bottom: 16px;
}
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ── Steps ──────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; counter-reset: step; }
.step {
  position: relative; background: linear-gradient(180deg, var(--panel), transparent);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px;
}
.step .num {
  font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--purple-bright);
  border: 1px solid var(--line-strong); border-radius: 8px; padding: 3px 9px; display: inline-block; margin-bottom: 16px;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ── Testimonials ───────────────────────────────────────── */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.testi { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.testi .stars { color: var(--amber); letter-spacing: 2px; margin-bottom: 12px; font-size: 14px; }
.testi p { font-size: 14.5px; color: #d6cee8; font-style: italic; }
.testi .who { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.testi .who .av { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--purple), var(--purple-dark)); display: grid; place-items: center; font-weight: 800; }
.testi .who b { font-size: 14px; display: block; }
.testi .who small { color: var(--muted-2); font-size: 12px; }

/* ── FAQ ────────────────────────────────────────────────── */
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq-item[open] { border-color: var(--line-strong); }
.faq-item summary {
  cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 15.5px; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--purple-bright); font-size: 22px; font-weight: 400; line-height: 1; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 22px 18px; margin: 0; color: var(--muted); font-size: 14.5px; }

/* ── CTA banner ─────────────────────────────────────────── */
.cta-banner {
  position: relative; overflow: hidden; border-radius: 24px; padding: 56px 40px; text-align: center;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.35), rgba(10, 5, 18, 0.9)), var(--panel);
  border: 1px solid var(--line-strong);
}
.cta-banner h2 { font-size: clamp(26px, 4vw, 40px); margin-bottom: 12px; }
.cta-banner p { color: var(--muted); max-width: 500px; margin: 0 auto 26px; }

/* ── Footer ─────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); padding: 54px 0 30px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; }
.footer .brand { margin-bottom: 14px; }
.footer p.about { color: var(--muted); font-size: 14px; max-width: 300px; }
.footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted-2); margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--muted); font-size: 14px; }
.footer ul a:hover { color: var(--purple-bright); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted-2); font-size: 13px; }

/* ── Forms / auth ───────────────────────────────────────── */
.auth-wrap { min-height: calc(100vh - 70px); display: grid; place-items: center; padding: 50px 0; }
.auth-card {
  width: min(440px, 100%); background: var(--panel); border: 1px solid var(--line);
  border-radius: 20px; padding: 40px; box-shadow: var(--shadow); text-align: center;
}
.auth-card .logo-big { width: 72px; margin: 0 auto 18px; }
.auth-card h1 { font-size: 26px; margin-bottom: 8px; }
.auth-card p { color: var(--muted); font-size: 14.5px; }
.field { display: grid; gap: 7px; margin-bottom: 16px; text-align: left; }
.field label { font-size: 13px; font-weight: 700; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg-2); color: var(--text); font: inherit; font-size: 14.5px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.18);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-error { color: var(--red); font-size: 13.5px; min-height: 20px; text-align: left; }

/* ── Dashboard ──────────────────────────────────────────── */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: 40px 0 28px; }
.page-head h1 { font-size: clamp(26px, 4vw, 36px); margin: 0; }
.page-head p { color: var(--muted); margin: 6px 0 0; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.panel-head { padding: 18px 22px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.panel-head h2 { font-size: 17px; margin: 0; }
.panel-body { padding: 22px; }
.split { display: grid; grid-template-columns: 360px 1fr; gap: 22px; align-items: start; }

.ticket-list { display: grid; gap: 10px; }
.ticket-item {
  text-align: left; width: 100%; background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 14px 16px; cursor: pointer; color: var(--text);
  font: inherit; transition: border-color 0.15s, background 0.15s;
}
.ticket-item:hover, .ticket-item.active { border-color: var(--line-strong); background: rgba(168, 85, 247, 0.07); }
.ticket-item .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ticket-item .subj { font-weight: 700; font-size: 14.5px; }
.ticket-item .meta { color: var(--muted-2); font-size: 12px; margin-top: 4px; }
.dot-status { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 6px; }
.st-open { background: var(--green); }
.st-pending { background: var(--amber); }
.st-closed { background: var(--muted-2); }

.chat { display: flex; flex-direction: column; gap: 12px; min-height: 260px; max-height: 440px; overflow-y: auto; padding: 18px; }
.msg { max-width: 82%; padding: 11px 15px; border-radius: 12px; font-size: 14.5px; }
.msg .who { font-size: 11.5px; font-weight: 700; opacity: 0.75; margin-bottom: 3px; }
.msg.user { align-self: flex-end; background: linear-gradient(135deg, var(--purple-deep), var(--purple-dark)); }
.msg.staff { align-self: flex-start; background: var(--panel-2); border: 1px solid var(--line); }
.msg.system { align-self: center; background: transparent; border: 1px dashed var(--line); color: var(--muted-2); font-size: 12.5px; }
.composer { display: flex; gap: 10px; padding: 14px; border-top: 1px solid var(--line); }
.composer input { flex: 1; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-2); color: var(--text); font: inherit; }
.composer input:focus { outline: none; border-color: var(--purple); }

.empty { text-align: center; padding: 50px 20px; color: var(--muted-2); }
.empty .big { font-size: 40px; margin-bottom: 10px; opacity: 0.6; }

/* ── Admin stats ────────────────────────────────────────── */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin-bottom: 26px; }
.stat-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px; }
.stat-card .n { font-size: 30px; font-weight: 900; letter-spacing: -0.03em; }
.stat-card .l { color: var(--muted-2); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.1em; }

.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.table th { color: var(--muted-2); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.1em; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { cursor: pointer; transition: background 0.12s; }
.table tbody tr:hover { background: rgba(168, 85, 247, 0.06); }

.pill { font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); }
.pill.open { color: #bbf7d0; background: rgba(74, 222, 128, 0.1); border-color: rgba(74, 222, 128, 0.3); }
.pill.pending { color: #fde68a; background: rgba(251, 191, 36, 0.1); border-color: rgba(251, 191, 36, 0.3); }
.pill.closed { color: var(--muted); background: rgba(157, 146, 181, 0.1); }
.pill.admin { color: var(--purple-bright); background: rgba(168, 85, 247, 0.12); border-color: var(--line-strong); }

/* ── Modal ──────────────────────────────────────────────── */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100; background: rgba(5, 2, 10, 0.75);
  backdrop-filter: blur(4px); display: none; place-items: center; padding: 20px;
}
.modal-backdrop.show { display: grid; }
.modal {
  width: min(520px, 100%); background: var(--panel); border: 1px solid var(--line-strong);
  border-radius: 18px; padding: 28px; box-shadow: var(--shadow); max-height: 90vh; overflow-y: auto;
}
.modal h2 { font-size: 22px; margin-bottom: 6px; }
.modal .sub { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; }

/* ── Toast ──────────────────────────────────────────────── */
.toast-wrap { position: fixed; bottom: 24px; right: 24px; z-index: 200; display: grid; gap: 10px; }
.toast {
  background: var(--panel-2); border: 1px solid var(--line-strong); border-left: 3px solid var(--purple);
  padding: 13px 18px; border-radius: 10px; font-size: 14px; min-width: 240px;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.6); animation: toastIn 0.25s ease;
}
.toast.ok { border-left-color: var(--green); }
.toast.err { border-left-color: var(--red); }
@keyframes toastIn { from { opacity: 0; transform: translateX(20px); } }

/* ── Admin tabs ─────────────────────────────────────────── */
.admin-tabs { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.admin-tab {
  padding: 9px 16px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--panel); color: var(--muted); font: inherit; font-weight: 700;
  font-size: 14px; cursor: pointer; transition: all 0.15s;
}
.admin-tab:hover { color: var(--text); border-color: var(--line-strong); }
.admin-tab.active { color: #fff; border-color: var(--line-strong); background: rgba(168, 85, 247, 0.14); }

/* ════════════════════════════════════════════════════════════
   v2 — componentes inspirados no layout de referência
   ════════════════════════════════════════════════════════════ */

/* Banner de lançamento */
.launch-banner {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 22px;
  padding: 10px 16px; text-align: center; font-size: 12px; line-height: 1.5; color: #f3e8ff;
  background: linear-gradient(105deg, #3b0f6b, #2a0a4f 48%, #4c1d95);
  border-bottom: 1px solid rgba(168, 85, 247, 0.4); text-decoration: none;
}
.launch-banner span:first-child { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; }
.launch-banner strong { color: #e9d5ff; letter-spacing: 0.06em; }
.launch-banner b { background: #e9d5ff; color: #3b0f6b; padding: 3px 9px; border-radius: 5px; font-size: 10px; }
.launch-banner:hover { color: #fff; background: linear-gradient(105deg, #4c1d95, #341060 48%, #5b21b6); }

/* Prova social */
.proof { padding: 30px 0 60px; }
.proof-label { text-align: center; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 22px; }
.proof-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 30px; }
.proof-stat {
  text-align: center; padding: 22px 12px; border: 1px solid var(--line); border-radius: 16px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel) 70%);
}
.proof-stat b {
  display: block; font-size: clamp(26px, 3.4vw, 34px); font-weight: 900; letter-spacing: -0.02em;
  background: linear-gradient(180deg, #fff, var(--purple-bright));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.proof-stat span { display: block; margin-top: 6px; font-size: 13px; color: var(--muted-2); }
.trust-strip-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 26px; }
.trust-strip-row span { font-size: 14.5px; font-weight: 700; color: var(--muted-2); padding: 6px 2px; }
.trust-strip-row span:hover { color: var(--purple-bright); }
.hero-note { margin-top: 16px; color: var(--muted-2); font-size: 14px; }
.hero-note b { color: var(--text); font-size: 17px; font-weight: 800; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 18px; color: var(--muted-2); font-size: 12px; }
.section-alt { background: linear-gradient(180deg, rgba(168, 85, 247, 0.035), transparent); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Teaser de preço */
.price-teaser {
  position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 24px; padding: 36px 34px;
  border: 1px solid var(--line-strong); border-radius: 22px;
  background: linear-gradient(120deg, rgba(124, 58, 237, 0.2), var(--panel) 70%);
}
.price-teaser > div { max-width: 620px; }
.price-teaser h2 { font-size: clamp(24px, 3vw, 34px); margin: 10px 0; }
.price-teaser b { color: var(--lilac); }

/* Releases */
.release-list { display: grid; gap: 14px; }
.release {
  padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); transition: border-color 0.2s, transform 0.2s;
}
.release:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.release .spread { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.release h3 { margin: 0; font-size: 17px; }
.release p { margin: 8px 0 0; }

/* Tabs de jogo */
.game-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.game-tab {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--panel); color: var(--muted); font: inherit; font-weight: 700; font-size: 14px;
  cursor: pointer; transition: all 0.15s;
}
.game-tab:hover { color: var(--text); border-color: var(--line-strong); }
.game-tab.active { color: #fff; background: rgba(168, 85, 247, 0.16); border-color: var(--line-strong); }

/* Grade de cards (catalogo da home) */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }

/* Grade de planos */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; align-items: start; }
@media (min-width: 900px) { .plan-grid { grid-template-columns: repeat(4, 1fr); } }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 16px;
  padding: 30px 24px 24px; border-radius: 20px; border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel-2), var(--panel) 65%);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.plan:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.plan.featured {
  border-color: rgba(168, 85, 247, 0.6);
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.22), var(--panel) 65%);
  box-shadow: 0 28px 56px -24px rgba(124, 58, 237, 0.4);
}
@media (min-width: 900px) {
  .plan.featured { transform: scale(1.035); z-index: 1; }
  .plan.featured:hover { transform: scale(1.035) translateY(-4px); }
}
.plan-ribbon {
  position: absolute; top: -1px; left: 50%; transform: translate(-50%, -50%);
  padding: 6px 16px; border-radius: 999px; font-size: 11px; font-weight: 800;
  letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap;
  color: #2a0a4f; background: linear-gradient(135deg, #e9d5ff, var(--purple));
  box-shadow: 0 8px 18px -6px rgba(168, 85, 247, 0.6);
}
.plan-icon-tile {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(168, 85, 247, 0.12); border: 1px solid var(--line-strong); font-size: 21px;
}
.plan.featured .plan-icon-tile { background: var(--purple); border-color: transparent; }
.plan-heading h3 { margin: 0; font-size: 19px; }
.plan-pricing { display: grid; gap: 6px; border-top: 1px solid var(--line); margin-top: 2px; padding-top: 16px; }
.price-before { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-height: 24px; color: var(--muted-2); font-size: 13px; }
.price-before s { text-decoration-color: var(--muted-2); }
.discount-tag {
  color: var(--lilac); background: rgba(124, 58, 237, 0.22); border: 1px solid var(--line-strong);
  border-radius: 6px; padding: 2px 7px; font-size: 11px; font-weight: 700;
}
.plan .price { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.plan-saving { color: var(--muted-2); font-size: 11.5px; min-height: 18px; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; color: var(--muted); font-size: 14px; }
.plan li { display: flex; gap: 9px; align-items: flex-start; }
.plan li::before { content: "✓"; color: var(--purple-bright); font-weight: 900; font-size: 12px; margin-top: 2px; }
.plan .btn { margin-top: auto; width: 100%; height: 46px; border-radius: 12px; }

/* Cupom */
.coupon-form {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  padding: 20px 22px; margin: 0 0 26px; border: 1px solid var(--line-strong); border-radius: 14px;
  background: linear-gradient(110deg, rgba(124, 58, 237, 0.14), var(--panel));
}
.coupon-form label { font-size: 15px; font-weight: 700; }
.coupon-form p { font-size: 12px; color: var(--muted-2); margin: 6px 0 0; }
.coupon-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.coupon-input input {
  width: 220px; height: 46px; padding: 0 14px; border-radius: 11px; border: 1px solid var(--line-strong);
  background: var(--bg-2); color: var(--text); font: inherit; font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase;
}
.coupon-input input:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.18); }
.coupon-controls .btn { height: 46px; border-radius: 11px; }
.coupon-status { flex-basis: 100%; margin: 0; color: var(--purple-bright); font-size: 13px; }
.coupon-status:empty { display: none; }
.coupon-status.error { color: var(--red); }

/* Prose (privacidade / termos) */
.prose { max-width: 780px; padding: 56px 0 80px; }
.prose h1 { font-size: clamp(30px, 5vw, 40px); margin-bottom: 14px; }
.prose h2 { font-size: 21px; margin: 32px 0 10px; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 20px; display: grid; gap: 8px; }
.prose code { font-family: var(--mono); font-size: 0.9em; color: var(--lilac); }

/* Beta */
.beta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
@media (max-width: 860px) { .beta-grid { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-flex; padding: 7px 13px; border-radius: 999px;
  border: 1px solid var(--line-strong); font-size: 13.5px; color: var(--muted); transition: all 0.15s;
}
.chip input:checked + span { background: rgba(168, 85, 247, 0.16); border-color: var(--purple); color: var(--text); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--purple); flex: none; }

/* Badges de status */
.badge.ok { color: #bbf7d0; background: rgba(74, 222, 128, 0.1); border-color: rgba(74, 222, 128, 0.3); }
.badge.warn { color: #fde68a; background: rgba(251, 191, 36, 0.1); border-color: rgba(251, 191, 36, 0.3); }
.btn-lg { padding: 15px 26px; font-size: 16px; border-radius: 13px; }

@media (max-width: 700px) {
  .proof-row { grid-template-columns: repeat(2, 1fr); }
  .launch-banner span:first-child { flex-basis: 100%; }
  .coupon-input input { width: 100%; }
}
.center { text-align: center; }
.mt-2 { margin-top: 14px; }
.mt-3 { margin-top: 26px; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }
.skeleton { background: linear-gradient(90deg, var(--panel), var(--panel-2), var(--panel)); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 12px; height: 220px; }
@keyframes sk { to { background-position: -200% 0; } }

/* ── Responsivo ─────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-art { order: -1; min-height: 280px; }
  .hero-art img { width: 260px; }
  .hero-art .ring { width: 300px; height: 300px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; padding: 12px 20px 20px; background: rgba(10, 5, 18, 0.97); border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: inline-block; }
  .nav-auth .user-chip span { display: none; }
  .section { padding: 58px 0; }
  .hero { padding: 60px 0 40px; }
  .hero-stats { gap: 26px; }
  .cta-banner { padding: 40px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .table { font-size: 13px; }
  .table th:nth-child(3), .table td:nth-child(3) { display: none; }
}

/* ════════════════════════════════════════════════════════════
   v3 — fluidez, profundidade 3D e movimento
   ════════════════════════════════════════════════════════════ */

/* Tipografia fluida — fonte de display (Syne) + corpo (Space Grotesk) */
body { font-size: clamp(14.5px, 0.32vw + 13.4px, 16.5px); }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -0.035em; }
h1 { font-weight: 800; }
.eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em; }
.eyebrow::before { width: 48px; height: 1px; background: linear-gradient(90deg, transparent, var(--purple-bright)); }
.section-head h2 { font-size: clamp(30px, 5.2vw, 58px); line-height: 1.02; }
.section-head.centered { position: relative; }
.section-head.centered::after {
  content: ''; position: absolute; left: 50%; bottom: -14px; translate: -50% 0;
  width: min(420px, 80%); height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.7), transparent);
}

/* Traço gigante: marca d'agua tipografica no hero e no teaser */
.hero { padding: clamp(70px, 9vw, 130px) 0 clamp(60px, 7vw, 100px); isolation: isolate; }
.hero::before {
  content: '—'; position: absolute; right: -1%; bottom: -13%; z-index: -1;
  font-family: var(--display); font-weight: 800; font-size: clamp(220px, 38vw, 620px);
  line-height: 0.6; color: transparent; -webkit-text-stroke: 1px rgba(168, 85, 247, 0.16);
  pointer-events: none; user-select: none;
}
.hero::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.45), transparent);
}
.hero h1 { font-size: clamp(46px, 8.2vw, 104px); line-height: 0.94; letter-spacing: -0.06em; }
.hero h1 .grad { background-size: 220% 100%; animation: gradShift 8s ease-in-out infinite alternate; }
@keyframes gradShift { to { background-position: 100% 0; } }
.hero p.lead { font-size: clamp(16px, 1.3vw, 19px); max-width: 560px; }
.hero-badge { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; animation: badgeGlow 4s ease-in-out infinite; }
@keyframes badgeGlow { 50% { border-color: rgba(168, 85, 247, 0.75); box-shadow: 0 0 22px -6px rgba(168, 85, 247, 0.5); } }
.price-teaser::after {
  content: '—'; position: absolute; right: -8px; bottom: -78px; pointer-events: none;
  font-family: var(--display); font-weight: 800; font-size: 230px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(168, 85, 247, 0.15);
}

/* Palco 3D do Gastly */
.hero-art { perspective: 1000px; transform-style: preserve-3d; min-height: 420px; }
.hero-art img {
  width: min(420px, 100%); transform-style: preserve-3d; will-change: transform;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.35s var(--ease);
  filter: drop-shadow(0 30px 50px rgba(124, 58, 237, 0.55));
  animation: float3d 6s ease-in-out infinite;
}
@keyframes float3d { 0%, 100% { translate: 0 0; } 50% { translate: 0 -18px; } }
.hero-art .halo { width: 380px; height: 380px; animation: haloBreath 5s ease-in-out infinite; }
@keyframes haloBreath { 50% { scale: 1.12; opacity: 0.75; } }
.hero-art .orbit {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; border-radius: 50%;
  border: 1px solid rgba(168, 85, 247, 0.38); pointer-events: none;
}
.hero-art .orbit-1 { width: 430px; height: 430px; transform: rotateX(72deg); animation: orbit1 18s linear infinite; }
.hero-art .orbit-2 { width: 330px; height: 330px; border-style: dashed; border-color: rgba(192, 132, 252, 0.3); transform: rotateY(68deg) rotateX(20deg); animation: orbit2 16s linear infinite; }
@keyframes orbit1 { to { transform: rotateX(72deg) rotateZ(360deg); } }
@keyframes orbit2 { to { transform: rotateY(68deg) rotateX(380deg); } }
.hero-art .floor {
  position: absolute; bottom: 2%; left: 50%; translate: -50% 0; width: 440px; height: 150px;
  background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.4), transparent 70%);
  transform: rotateX(78deg); filter: blur(6px); pointer-events: none;
}

/* Ticker */
.ticker { overflow: hidden; border-block: 1px solid var(--line); padding: 12px 0; background: linear-gradient(90deg, rgba(124, 58, 237, 0.12), rgba(10, 5, 18, 0.6), rgba(124, 58, 237, 0.12)); }
.ticker-track { display: flex; width: max-content; animation: ticker 28s linear infinite; }
.ticker-track span { font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: 0.22em; color: rgba(233, 213, 255, 0.6); padding-right: 38px; white-space: nowrap; }
.ticker-track i { color: var(--purple-bright); font-style: normal; font-weight: 400; margin: 0 12px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Botões com varredura de luz */
.btn { position: relative; overflow: hidden; isolation: isolate; transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s, border-color 0.25s; }
.btn::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 25%, rgba(255, 255, 255, 0.28) 48%, transparent 72%);
  transform: translateX(-130%); transition: transform 0.7s var(--ease);
}
.btn:hover { transform: translateY(-3px) scale(1.02); }
.btn:hover::after { transform: translateX(130%); }
.btn:active { transform: translateY(0) scale(0.99); }

/* Cards com tilt 3D e brilho que segue o cursor */
.product-card, .feature, .release, .plan, .proof-stat, .step, .stat-card, .faq-item {
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)) scale(var(--scale, 1));
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
  transform-style: preserve-3d;
}
.tilt-card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(192, 132, 252, 0.14), transparent 65%);
  opacity: 0; transition: opacity 0.3s;
}
.tilt-card:hover::after { opacity: 1; }
.product-card:hover, .feature:hover, .release:hover { --lift: -6px; border-color: var(--line-strong); box-shadow: 0 30px 60px -28px rgba(124, 58, 237, 0.6); }
.proof-stat:hover, .step:hover, .stat-card:hover { --lift: -5px; border-color: var(--line-strong); }
.plan:hover { --lift: -6px; border-color: var(--line-strong); box-shadow: 0 34px 70px -30px rgba(124, 58, 237, 0.6); }
@media (min-width: 900px) { .plan.featured { --scale: 1.035; z-index: 1; } }
.feature .ico { transition: rotate 0.4s var(--ease), scale 0.4s var(--ease), background 0.3s; }
.feature:hover .ico { rotate: -8deg; scale: 1.06; background: rgba(168, 85, 247, 0.2); }

/* Barra de progresso e brilho do cursor */
.scroll-progress {
  position: fixed; inset: 0 auto auto 0; height: 2px; width: var(--p, 0%); z-index: 120;
  background: linear-gradient(90deg, var(--purple-deep), var(--purple-bright), #fff);
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.9); transition: width 0.12s linear;
}
.cursor-glow {
  position: fixed; left: 0; top: 0; width: 420px; height: 420px; translate: -50% -50%;
  border-radius: 50%; pointer-events: none; z-index: 1; mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.13), transparent 70%);
  opacity: 0; transition: opacity 0.4s;
}
.cursor-glow.on { opacity: 1; }

/* Reveal no scroll (sem transform, para nao brigar com o tilt) */
html.js .reveal {
  opacity: 0; translate: 0 26px;
  transition: opacity 0.75s var(--ease), translate 0.75s var(--ease);
  transition-delay: var(--delay, 0ms);
}
html.js .reveal.in { opacity: 1; translate: 0 0; }

/* Detalhes finos de interacao */
.trust-strip-row span { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; transition: color 0.25s, translate 0.25s; }
.trust-strip-row span:hover { color: #fff; translate: 0 -3px; }
.proof-stat b { font-family: var(--display); font-size: clamp(30px, 4vw, 44px); }
.nav-links a { position: relative; }
.nav-links a.active::after { content: ''; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 1px; background: var(--purple-bright); }
.brand img { transition: rotate 0.5s var(--ease), filter 0.3s; }
.brand:hover img { rotate: -12deg; }
.faq-item summary { transition: color 0.25s, padding-left 0.25s; }
.faq-item[open] summary { color: #fff; padding-left: 26px; }
.faq-item summary::after { transition: rotate 0.3s; }
.faq-item[open] summary::after { rotate: 180deg; }
.modal-backdrop.show .modal { animation: modalIn 0.35s var(--ease); }
@keyframes modalIn { from { opacity: 0; translate: 0 18px; scale: 0.96; } }

@media (max-width: 720px) {
  .hero h1 { font-size: clamp(42px, 13vw, 68px); }
  .hero-art .orbit-1 { width: 320px; height: 320px; }
  .hero-art .orbit-2 { width: 250px; height: 250px; }
  .hero::before { font-size: 240px; bottom: -4%; }
  .ticker-track span { font-size: 11px; }
}
/* ════════════════════════════════════════════════════════════
   v4 — avisos, downloads, status, filtros
   ════════════════════════════════════════════════════════════ */

.announcements { display: grid; gap: 10px; padding: 0 20px; max-width: 1180px; margin: 18px auto 0; }
.announcements:empty { display: none; }
.announcement {
  display: flex; gap: 14px; align-items: flex-start; padding: 14px 18px;
  border: 1px solid var(--line-strong); border-radius: 12px;
  background: linear-gradient(100deg, rgba(124, 58, 237, 0.16), var(--panel));
}
.announcement .ico { font-size: 18px; line-height: 1.4; }
.announcement b { display: block; color: #fff; font-size: 14.5px; }
.announcement p { margin: 3px 0 0; color: var(--muted); font-size: 13.5px; }
.announcement time { margin-left: auto; color: var(--muted-2); font-size: 11px; white-space: nowrap; }

.catalog-tools { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 22px; }
.catalog-tools input, .catalog-tools select {
  height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-strong);
  background: var(--bg-2); color: var(--text); font: inherit; font-size: 14px;
}
.catalog-tools input { flex: 1 1 240px; }
.catalog-tools select { flex: 0 0 200px; }
.catalog-tools input:focus, .catalog-tools select:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.18); }
.plan-actions { display: grid; gap: 8px; margin-top: auto; }
.plan-actions .btn { width: 100%; height: 44px; border-radius: 11px; margin: 0; }
.pay-hint { color: var(--muted-2); font-size: 11px; text-align: center; }

.download-list { display: grid; gap: 12px; }
.download-item {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px;
  background: linear-gradient(100deg, var(--panel-2), var(--panel) 70%);
}
.download-item .dl-ico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: rgba(168, 85, 247, 0.14); border: 1px solid var(--line-strong); }
.download-item .dl-main { flex: 1 1 200px; }
.download-item .dl-main b { display: block; font-size: 15.5px; }
.download-item .dl-main small { color: var(--muted-2); font-size: 12px; }
.download-gate-note { color: var(--muted); font-size: 14px; }

.status-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; padding-bottom: 60px; }
.status-card { padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.status-card .k { color: var(--muted-2); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.1em; }
.status-card .v { display: block; margin-top: 8px; font-family: var(--display); font-size: 24px; font-weight: 800; word-break: break-word; }
.status-card.online { border-color: rgba(74, 222, 128, 0.4); }
.status-card.online .v { color: #bbf7d0; }
.status-card.offline { border-color: rgba(248, 113, 113, 0.4); }
.status-card.offline .v { color: #fecaca; }

.announcement-list { display: grid; gap: 10px; }
.announcement-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); }
.announcement-row .grow { flex: 1; }
.announcement-row b { font-size: 14px; }
.announcement-row p { color: var(--muted); font-size: 13px; margin: 4px 0 0; }
.announcement-row .off { opacity: 0.55; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  html.js .reveal { opacity: 1; translate: none; }
}
