/* =============================================================================
   DealHunter — Sistema de design preto puro premium
   Estilo: Linear / Vercel / Resend
   ============================================================================= */

:root {
  /* === Base preta pura === */
  --bg-base:      #050505;
  --bg-1:         #0a0a0a;
  --bg-2:         #0e0e10;
  --bg-3:         #14141a;
  --bg-elev:      #18181f;
  --bg-card-grad: linear-gradient(180deg, #14141a 0%, #0a0a0a 100%);

  /* === Bordas === */
  --border:        #1f1f22;
  --border-strong: #2a2a2e;
  --border-bright: rgba(217, 40, 54, 0.35);

  /* === Texto === */
  --text:        #fafafa;
  --text-2:      #c8c8cc;
  --text-muted:  #8a8a90;
  --text-dim:    #5a5a60;

  /* === Accent vermelho da logo === */
  --hot:           #d92836;
  --hot-glow:      rgba(217, 40, 54, 0.4);
  --hot-soft:      rgba(217, 40, 54, 0.12);
  --hot-bright:    #ff3344;
  --hot-deep:      #a01820;

  /* === Status === */
  --success:       #00d97e;
  --success-soft:  rgba(0, 217, 126, 0.12);
  --danger:        #ff3b5b;
  --danger-soft:   rgba(255, 59, 91, 0.12);
  --warn:          #ffb020;
  --warn-soft:     rgba(255, 176, 32, 0.12);
  --gold:          #ffd700;

  /* === Sombras === */
  --shadow-sm:   0 2px 8px rgba(0, 0, 0, 0.5);
  --shadow-md:   0 8px 24px rgba(0, 0, 0, 0.6);
  --shadow-lg:   0 16px 48px rgba(0, 0, 0, 0.7);
  --shadow-xl:   0 32px 80px rgba(0, 0, 0, 0.8);
  --shadow-white: 0 8px 32px rgba(255, 255, 255, 0.08);

  /* === Bordas/raios === */
  --radius-xs:   4px;
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   14px;
  --radius-xl:   20px;
  --radius-full: 999px;

  /* === Timings === */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-back:   cubic-bezier(0.34, 1.4, 0.64, 1);
  --t-fast:      160ms;
  --t-med:       280ms;
  --t-slow:      500ms;

  /* === Fontes === */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
}

/* ===================== RESET ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg-base);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.5;
  min-height: 100vh;
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.01em;
  /* Background com noise grain sutil pra textura "feita à mão" */
  background-image:
    radial-gradient(ellipse 70% 60% at 50% -20%, rgba(255, 46, 99, 0.04), transparent 50%),
    radial-gradient(ellipse 50% 50% at 10% 30%, rgba(255, 255, 255, 0.015), transparent 60%);
  background-attachment: fixed;
  position: relative;
}
/* Grain sutil */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.025;
  z-index: 9999;
  mix-blend-mode: overlay;
}

a { color: var(--text); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--text-2); }
button { font-family: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
input, select, textarea, button { font: inherit; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-1); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: var(--radius-full); border: 2px solid var(--bg-1); }
::-webkit-scrollbar-thumb:hover { background: var(--border-bright); }
::selection { background: var(--text); color: var(--bg-base); }

/* ===================== ANIMAÇÕES ===================== */
@keyframes fade-up    { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fade-in    { from { opacity: 0; } to { opacity: 1; } }
@keyframes scale-in   { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }
@keyframes float-soft { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pulse-soft { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
@keyframes shimmer    { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes blink-soft { 0%, 60% { opacity: 1; } 80%, 100% { opacity: 0.4; } }
@keyframes spin-slow  { to { transform: rotate(360deg); } }

.anim-fade-up   { animation: fade-up 600ms var(--ease-out) both; }
.anim-fade-in   { animation: fade-in 600ms var(--ease-out) both; }
.anim-scale-in  { animation: scale-in 500ms var(--ease-back) both; }
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-500 { animation-delay: 500ms; }
.delay-700 { animation-delay: 700ms; }

/* ===================== REVEAL ANIMATION =====================
   CSS-only: o elemento entra com fade+slide automaticamente no load.
   Nao depende de IntersectionObserver - aparece SEMPRE que esta no DOM.
   Pra elementos abaixo da dobra, o JS pode adicionar .reveal-on-scroll
   pra atrasar a animacao ate o scroll, mas o default eh imediato. */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  animation: revealIn 420ms var(--ease-out) forwards;
}
.reveal.delay-100 { animation-delay: 80ms; }
.reveal.delay-200 { animation-delay: 160ms; }
.reveal.delay-300 { animation-delay: 240ms; }
.reveal.delay-400 { animation-delay: 320ms; }
.reveal.delay-500 { animation-delay: 400ms; }

@keyframes revealIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Versao antiga via observer - mantida pra compat, mas sem opacity 0 inicial */
.reveal.revealed { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; opacity: 1; transform: none; }
}

/* ===================== NAVBAR ===================== */
.nav {
  background: rgba(5, 5, 7, 0.7);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-brand {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.02em;
  transition: opacity var(--t-fast);
}
.nav-brand:hover { color: var(--text); opacity: 0.8; }
.nav-brand-mark {
  width: 30px; height: 30px;
  background: var(--text);
  color: var(--bg-base);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: -0.05em;
  position: relative;
}
.nav-brand-mark::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--text), var(--text-muted));
  z-index: -1;
  opacity: 0.3;
  filter: blur(8px);
}

.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-weight: 500;
  font-size: 14px;
  transition: all var(--t-fast);
}
.nav-link:hover { color: var(--text); background: var(--bg-3); }
.nav-link.active { color: var(--text); }
.nav-link.active::before {
  content: '';
  position: absolute;
}

.nav-user {
  display: flex; align-items: center; gap: 10px;
  padding: 4px 12px 4px 4px;
  background: var(--bg-3);
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  transition: border-color var(--t-fast);
}
.nav-user:hover { border-color: var(--border-strong); }
.nav-user img, .nav-user-avatar-fallback {
  width: 28px; height: 28px;
  border-radius: 50%;
  object-fit: cover;
}
.nav-user-avatar-fallback {
  background: var(--text);
  color: var(--bg-base);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}
.nav-user span { font-size: 14px; font-weight: 500; }

.nav-hamburger {
  display: none;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--text);
  transition: all var(--t-fast);
}
.nav-hamburger:hover { background: var(--bg-elev); }
.nav-hamburger svg { transition: transform var(--t-med) var(--ease-out); }
.nav-hamburger.is-open svg { transform: rotate(90deg); }

.nav-mobile {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  background: var(--bg-1);
  border-bottom: 1px solid var(--border);
  padding: 88px 20px 24px;
  z-index: 90;
  transform: translateY(-100%);
  transition: transform var(--t-med) var(--ease-out);
}
.nav-mobile.is-open { transform: translateY(0); }
.nav-mobile a {
  display: block;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-2);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 4px;
  border: 1px solid transparent;
  transition: all var(--t-fast);
}
.nav-mobile a:hover { background: var(--bg-3); border-color: var(--border); color: var(--text); }
.nav-mobile a.active { background: var(--bg-3); color: var(--text); border-color: var(--border-strong); }
.nav-mobile-user {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  background: var(--bg-2);
}

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  z-index: 80;
  opacity: 0;
  transition: opacity var(--t-med);
}
.nav-backdrop.is-open { display: block; opacity: 1; }

/* ===================== LAYOUT ===================== */
.container { max-width: 1180px; margin: 0 auto; padding: 32px 24px; }
.container-sm { max-width: 720px; margin: 0 auto; padding: 32px 24px; }
.container-md { max-width: 960px; margin: 0 auto; padding: 32px 24px; }

.page-title {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
  color: var(--text);
}
.page-subtitle {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 15px;
  max-width: 620px;
}

/* ===================== CARDS ===================== */
.card {
  background: var(--bg-card-grad);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 18px;
  transition: border-color var(--t-med);
}
.card:hover { border-color: var(--border-strong); }
.card h2 {
  font-size: 17px;
  margin-bottom: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}
.card h3 { font-size: 14px; margin-bottom: 10px; color: var(--text-muted); font-weight: 500; }

.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ===================== BUTTONS ===================== */
/* Botao primario: branco puro com texto preto (estilo Vercel) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--hot);
  background: var(--hot);
  color: white;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t-fast) var(--ease-out);
  text-decoration: none;
  letter-spacing: -0.01em;
  position: relative;
  white-space: nowrap;
  box-shadow: 0 4px 14px var(--hot-soft);
}
.btn:hover {
  background: var(--hot-bright);
  border-color: var(--hot-bright);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px var(--hot-glow);
}
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none !important; }

.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-xl { padding: 16px 32px; font-size: 15px; border-radius: var(--radius-md); }
.btn-sm { padding: 7px 13px; font-size: 13px; }
.btn-block { width: 100%; }

/* Botao ghost: borda + transparente (secundario) */
.btn-ghost {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text);
  box-shadow: none;
}
.btn-ghost:hover {
  background: var(--bg-3);
  border-color: var(--border-bright);
  color: var(--text);
  box-shadow: none;
}

/* Botao branco (uso raro, quando precisar contraste forte com fundo vermelho) */
.btn-white {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg-base);
  box-shadow: none;
}
.btn-white:hover {
  background: var(--text-2);
  border-color: var(--text-2);
  color: var(--bg-base);
}

/* alias antigo - mantem compatibilidade com classes .btn-hot que ja existem */
.btn-hot {
  background: var(--hot);
  border-color: var(--hot);
  color: white;
}
.btn-hot:hover {
  background: var(--hot-bright);
  border-color: var(--hot-bright);
  color: white;
}

.btn-danger { background: var(--danger); border-color: var(--danger); color: white; }
.btn-success { background: var(--success); border-color: var(--success); color: var(--bg-base); }

/* ===================== FORMS ===================== */
.field { margin-bottom: 18px; }
.label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.input, .select {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: all var(--t-fast);
}
.input::placeholder { color: var(--text-dim); }
.input:focus, .select:focus {
  border-color: var(--border-bright);
  background: var(--bg-2);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}
.select { cursor: pointer; }

/* ===================== BADGES ===================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--radius-xs);
  border: 1px solid transparent;
  letter-spacing: 0;
}
.badge-on { background: var(--success-soft); color: var(--success); border-color: rgba(0, 217, 126, 0.25); }
.badge-off { background: var(--danger-soft); color: var(--danger); border-color: rgba(255, 59, 91, 0.25); }
.badge-neutral { background: var(--bg-3); color: var(--text-muted); border-color: var(--border); }
.badge-accent { background: rgba(255, 255, 255, 0.06); color: var(--text); border-color: var(--border-strong); }
.badge-hot { background: var(--hot-soft); color: var(--hot); border-color: rgba(255, 46, 99, 0.25); }

/* ===================== GUILD CARDS ===================== */
.guild-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  background: var(--bg-card-grad);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--t-med) var(--ease-out);
  text-decoration: none;
  color: var(--text);
  margin-bottom: 12px;
}
.guild-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-2px);
  color: var(--text);
  box-shadow: var(--shadow-md);
}
.guild-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: var(--bg-3);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 22px;
  color: var(--text);
  overflow: hidden;
  flex-shrink: 0;
}
.guild-icon img { width: 100%; height: 100%; object-fit: cover; }
.guild-meta { flex: 1; min-width: 0; }
.guild-meta h3 { font-size: 16px; color: var(--text); margin: 0 0 6px 0; font-weight: 600; }
.guild-meta p { font-size: 13px; color: var(--text-muted); display: flex; gap: 6px; flex-wrap: wrap; }
.guild-arrow { color: var(--text-dim); font-size: 22px; transition: transform var(--t-med); }
.guild-card:hover .guild-arrow { transform: translateX(4px); color: var(--text); }

/* ===================== STORE LIST ===================== */
.store-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
  transition: all var(--t-fast);
}
.store-row:hover { border-color: var(--border-strong); background: var(--bg-2); }
.store-row-info { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.store-row-info img { width: 28px; height: 28px; border-radius: var(--radius-xs); background: white; padding: 2px; flex-shrink: 0; }
.store-row-name { font-weight: 500; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.store-row-meta { font-size: 12px; color: var(--text-muted); margin-top: 3px; }
.store-locked { opacity: 0.5; }
.store-locked .store-row-name { color: var(--text-muted); }

/* Toggle switch */
.switch { position: relative; display: inline-block; width: 42px; height: 24px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute; cursor: pointer; inset: 0;
  background: var(--bg-3);
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  transition: all var(--t-med) var(--ease-out);
}
.slider:before {
  position: absolute; content: "";
  height: 16px; width: 16px;
  left: 3px; bottom: 3px;
  background: var(--text-muted);
  border-radius: 50%;
  transition: all var(--t-med) var(--ease-out);
}
input:checked + .slider {
  background: var(--text);
  border-color: var(--text);
}
input:checked + .slider:before {
  transform: translateX(18px);
  background: var(--bg-base);
}

/* ===================== MONITOR LIST ===================== */
.monitor-item {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 8px;
  transition: all var(--t-fast);
}
.monitor-item:hover { border-color: var(--border-strong); }
.monitor-item img { width: 60px; height: 60px; object-fit: cover; border-radius: var(--radius-xs); flex-shrink: 0; }
.monitor-item-body { flex: 1; min-width: 0; }
.monitor-item-title { font-weight: 600; margin-bottom: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.monitor-item-meta { font-size: 13px; color: var(--text-muted); display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }

/* ===================== STATS ===================== */
.stat-block {
  background: var(--bg-card-grad);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  text-align: center;
  transition: all var(--t-med);
}
.stat-block:hover { border-color: var(--border-strong); }
.stat-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: -0.03em;
}
.stat-label { font-size: 13px; color: var(--text-muted); }

/* ===================== ALERTS ===================== */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  border: 1px solid;
  font-size: 14px;
}
.alert-success { background: var(--success-soft); border-color: rgba(0, 217, 126, 0.25); color: var(--success); }
.alert-danger  { background: var(--danger-soft); border-color: rgba(255, 59, 91, 0.25); color: var(--danger); }
.alert-warn    { background: var(--warn-soft); border-color: rgba(255, 176, 32, 0.25); color: var(--warn); }
.alert-info    { background: rgba(255, 255, 255, 0.04); border-color: var(--border-strong); color: var(--text-2); }

/* ===================== TOAST NOTIFICATIONS ===================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  max-width: 380px;
}
.toast {
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  color: var(--text);
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  pointer-events: auto;
  animation: toast-in 400ms var(--ease-back);
  backdrop-filter: blur(20px);
  min-width: 280px;
  position: relative;
  overflow: hidden;
}
.toast::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--toast-accent, var(--text));
}
.toast-icon { flex-shrink: 0; }
.toast-content { flex: 1; min-width: 0; }
.toast-title { font-weight: 600; margin-bottom: 2px; }
.toast-msg { color: var(--text-muted); font-size: 13px; }
.toast-close {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 0 4px;
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}
.toast-close:hover { color: var(--text); }
.toast.is-leaving { animation: toast-out 280ms var(--ease-out) forwards; }
.toast-success { --toast-accent: var(--success); }
.toast-danger { --toast-accent: var(--danger); }
.toast-warn { --toast-accent: var(--warn); }
.toast-info { --toast-accent: var(--text); }

@keyframes toast-in {
  from { opacity: 0; transform: translateX(40px) scale(0.96); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes toast-out {
  to { opacity: 0; transform: translateX(40px) scale(0.96); height: 0; padding: 0; margin: 0; border-width: 0; }
}

/* ===================== SKELETON LOADERS ===================== */
.skeleton {
  background: linear-gradient(90deg, var(--bg-3) 0%, var(--bg-elev) 50%, var(--bg-3) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
  border-radius: var(--radius-sm);
  display: block;
}
.skeleton-text { height: 14px; margin-bottom: 8px; }
.skeleton-text.short { width: 60%; }
.skeleton-text.title { height: 20px; width: 40%; }
.skeleton-circle { border-radius: 50%; }
.skeleton-card {
  display: flex; align-items: center; gap: 16px;
  padding: 20px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 10px;
}

/* ===================== HERO LANDING ===================== */
.hero {
  position: relative;
  padding: 120px 24px 80px;
  text-align: center;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.hero-three-canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  z-index: 0;
  pointer-events: none;
  display: block;
}
.hero-content { position: relative; z-index: 2; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 28px;
}
.hero-eyebrow-dot {
  width: 7px; height: 7px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--success);
  animation: pulse-soft 2s ease-in-out infinite;
}
.hero h1 {
  font-size: clamp(44px, 8vw, 88px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 28px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text);
}
.hero h1 .accent {
  background: linear-gradient(180deg, var(--text) 0%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}
.hero p {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.6;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }

/* ===================== DISCORD MOCKUP ===================== */
.discord-mockup {
  background: #1e1f22;
  border: 1px solid #2b2d31;
  border-radius: var(--radius-lg);
  max-width: 560px;
  margin: 64px auto 0;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  text-align: left;
}
.discord-mockup-head {
  background: #1a1b1e;
  padding: 14px 18px;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid #2b2d31;
}
.discord-dot { width: 11px; height: 11px; border-radius: 50%; }
.discord-mockup-body { padding: 20px 18px 24px; }
.discord-msg {
  display: flex; gap: 12px; margin-top: 12px;
  animation: fade-up 600ms var(--ease-out) both;
}
.discord-msg-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg-base);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; flex-shrink: 0;
  font-size: 16px;
}
.discord-msg-content { flex: 1; min-width: 0; }
.discord-msg-author {
  font-weight: 600; color: white; font-size: 15px; margin-bottom: 4px;
}
.discord-msg-author small { color: #949ba4; font-weight: 400; font-size: 12px; margin-left: 6px; }
.discord-embed {
  border-left: 4px solid var(--hot);
  background: #2b2d31;
  padding: 12px 16px;
  border-radius: 0 4px 4px 0;
  margin-top: 6px;
}
.discord-embed-title { color: white; font-weight: 700; font-size: 14px; }
.discord-embed-desc { color: #dbdee1; font-size: 13px; margin-top: 4px; }
.discord-embed-price {
  display: flex; gap: 12px; margin-top: 10px; align-items: center; flex-wrap: wrap;
}
.discord-embed-old { color: #949ba4; text-decoration: line-through; font-size: 13px; }
.discord-embed-new { color: var(--success); font-weight: 800; font-size: 18px; }
.discord-embed-tag {
  display: inline-block; padding: 2px 8px; background: var(--hot); color: white;
  border-radius: 4px; font-size: 11px; font-weight: 800; letter-spacing: 0.5px;
}
.discord-embed-tag.free { background: var(--success); color: black; }

/* ===================== SECTIONS ===================== */
.section { padding: 100px 24px; }
.section-heading { text-align: center; margin-bottom: 64px; max-width: 720px; margin-left: auto; margin-right: auto; }
.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.section-heading h2 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--text);
}
.section-heading p {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.6;
}

/* ===================== STORY (3 atos) ===================== */
.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.story-card {
  background: var(--bg-card-grad);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--t-med);
  position: relative;
  overflow: hidden;
}
.story-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
}
.story-card-num {
  font-size: 80px;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px var(--border-strong);
  letter-spacing: -0.05em;
  line-height: 0.8;
  margin-bottom: 24px;
  font-family: var(--font-display);
}
.story-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.story-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ===================== FEATURES GRID ===================== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}
.feature-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--t-med);
}
.feature-card:hover {
  border-color: var(--border-strong);
  background: var(--bg-3);
}
.feature-icon {
  width: 40px; height: 40px;
  background: var(--bg-3);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  margin-bottom: 20px;
}
.feature-card h3 { font-size: 17px; margin-bottom: 8px; color: var(--text); font-weight: 600; letter-spacing: -0.01em; }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ===================== COMMAND CHIP ===================== */
.cmd-chip {
  display: inline-block;
  padding: 3px 8px;
  background: var(--bg-base);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-2);
  margin-top: 10px;
}

/* ===================== CTA REPEATER ===================== */
.cta-repeater {
  text-align: center;
  padding: 60px 24px;
}
.cta-repeater h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--text);
}

/* ===================== CTA FINAL ===================== */
.cta-final {
  background: var(--bg-card-grad);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 72px 32px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 30%, var(--hot-soft), transparent 70%);
  pointer-events: none;
}
.cta-final-content { position: relative; z-index: 1; }
.cta-final h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  color: var(--text);
}
.cta-final p { color: var(--text-muted); font-size: 17px; margin-bottom: 32px; }

/* ===================== FOOTER ===================== */
.footer {
  border-top: 1px solid var(--border);
  margin-top: 100px;
  padding: 40px 24px;
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
}
.footer a { color: var(--text-muted); }
.footer-content { max-width: 1200px; margin: 0 auto; }

/* ===================== PLANOS ===================== */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}
.plan-card {
  background: var(--bg-card-grad);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: all var(--t-med) var(--ease-out);
}
.plan-card:hover {
  transform: translateY(-4px);
  border-color: var(--plan-color, var(--border-strong));
}
.plan-popular {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text);
  color: var(--bg-base);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0;
}
.plan-badge { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.plan-badge-mark {
  width: 44px; height: 44px;
  background: var(--bg-3);
  border: 1px solid var(--plan-color, var(--border-strong));
  color: var(--plan-color, var(--text));
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800;
}
.plan-badge-name { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.plan-badge-tier { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

.plan-price { margin-bottom: 22px; }
.plan-price-value {
  font-size: 36px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
}
.plan-price-period { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

.plan-stores-count {
  background: var(--bg-1);
  border: 1px solid var(--border);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 22px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}
.plan-stores-num { font-weight: 800; color: var(--text); font-size: 17px; }

.plan-perks { list-style: none; padding: 0; margin: 0 0 28px 0; }
.plan-perks li {
  padding: 9px 0 9px 24px;
  position: relative;
  font-size: 14px;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
  line-height: 1.4;
}
.plan-perks li:last-child { border-bottom: none; }
.plan-perks li::before {
  content: '';
  position: absolute;
  left: 0; top: 13px;
  width: 14px; height: 8px;
  border-left: 1.5px solid var(--plan-color, var(--text));
  border-bottom: 1.5px solid var(--plan-color, var(--text));
  transform: rotate(-45deg);
}

.btn-buy {
  background: var(--hot);
  border-color: var(--hot);
  color: white;
  box-shadow: 0 4px 14px var(--hot-soft);
}
.btn-buy:hover {
  background: var(--hot-bright);
  border-color: var(--hot-bright);
  box-shadow: 0 8px 22px var(--hot-glow);
}

/* Plan pill no dashboard */
.plan-pill {
  display: inline-block;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-left: 6px;
  vertical-align: middle;
  letter-spacing: 0;
}

/* Plan status card */
.plan-status-card { border-width: 1px; }
.plan-icon-big {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 24px;
  flex-shrink: 0;
}

/* ===================== CHECKOUT ===================== */
.checkout-card { padding: 36px; }
.checkout-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px; flex-wrap: wrap; gap: 10px;
}
.qr-wrapper {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  margin: 24px 0;
}
.qr-image { width: 260px; height: 260px; border-radius: var(--radius-xs); }
.pix-copy { margin-top: 16px; }
.checkout-timer {
  text-align: center; margin-top: 20px;
  color: var(--text-muted); font-size: 14px;
}
.checkout-timer strong {
  display: inline-block;
  background: var(--bg-3);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--text);
  margin-left: 6px;
}
.check-mark {
  width: 88px; height: 88px;
  background: var(--success-soft);
  border-radius: 50%;
  display: inline-flex;
  align-items: center; justify-content: center;
  color: var(--success);
  margin-bottom: 14px;
  animation: scale-in 500ms var(--ease-back);
}
.key-display {
  background: var(--bg-1);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex; gap: 14px;
  align-items: center; justify-content: center;
  flex-wrap: wrap;
}
.key-display code {
  font-family: var(--font-mono);
  font-size: 17px;
  letter-spacing: 1.5px;
  color: var(--text);
  font-weight: 700;
}

/* ===================== MOBILE ===================== */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-hamburger { display: inline-flex; }
  .nav-mobile { display: block; }
}
@media (max-width: 640px) {
  .nav { padding: 14px 16px; }
  .container, .container-sm, .container-md { padding: 24px 16px; }
  .hero { padding: 80px 16px 60px; min-height: auto; }
  .section { padding: 64px 16px; }
  .stat-value { font-size: 24px; }
  .plan-card { padding: 24px 22px; }
  .toast-container { left: 16px; right: 16px; max-width: none; }
  .toast { min-width: auto; }
}

/* ===================== VIEW TRANSITIONS ===================== */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: fade-out 200ms var(--ease-in-out) both; }
::view-transition-new(root) { animation: fade-in 400ms var(--ease-in-out) both; }
@keyframes fade-out { to { opacity: 0; } }

/* ===================== TOAST NOTIFICATIONS ===================== */
.toast-host {
  position: fixed;
  top: 84px; right: 24px;
  z-index: 200;
  display: flex; flex-direction: column;
  gap: 10px;
  max-width: 380px;
  pointer-events: none;
}
.toast {
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-1) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  pointer-events: auto;
  transform: translateX(420px);
  opacity: 0;
  transition: transform var(--t-med) var(--ease-out), opacity var(--t-fast);
  position: relative;
  overflow: hidden;
}
.toast.is-in { transform: translateX(0); opacity: 1; }
.toast.is-out { transform: translateX(420px); opacity: 0; }
.toast::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--accent);
}
.toast-success::before { background: var(--success); }
.toast-danger::before { background: var(--danger); }
.toast-warn::before { background: var(--warn); }
.toast-icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  color: var(--accent-2);
}
.toast-success .toast-icon { color: var(--success); }
.toast-danger .toast-icon { color: var(--danger); }
.toast-warn .toast-icon { color: var(--warn); }
.toast-body { flex: 1; min-width: 0; }
.toast-title { font-weight: 700; font-size: 14px; margin-bottom: 2px; }
.toast-msg { font-size: 13px; color: var(--text-muted); line-height: 1.4; }
.toast-close {
  background: transparent; border: none; color: var(--text-dim);
  cursor: pointer; padding: 0; line-height: 1;
  font-size: 18px; flex-shrink: 0;
}
.toast-close:hover { color: var(--text); }

@media (max-width: 640px) {
  .toast-host { right: 12px; left: 12px; max-width: none; top: 70px; }
  .toast { transform: translateY(-150%); }
  .toast.is-in { transform: translateY(0); }
  .toast.is-out { transform: translateY(-150%); }
}

/* ===================== SKELETON LOADER ===================== */
.skeleton {
  background: linear-gradient(90deg, var(--bg-2) 0%, var(--bg-3) 50%, var(--bg-2) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite linear;
  border-radius: var(--radius-sm);
}

/* ===================== PAINEL ADMIN ===================== */
.admin-header { display:flex; justify-content:space-between; align-items:flex-start; flex-wrap:wrap; gap:16px; margin-bottom:24px; }
.admin-pill {
  display:inline-flex; align-items:center; gap:6px;
  padding:4px 12px; background:linear-gradient(135deg, var(--accent), var(--cyan));
  color:white; font-size:11px; font-weight:800; border-radius:var(--radius-full);
  text-transform:uppercase; letter-spacing:0.8px;
  box-shadow:0 4px 16px var(--accent-glow);
}
.admin-tabs {
  display:flex; gap:4px; margin-bottom:24px;
  border-bottom:1px solid var(--border);
  overflow-x:auto;
  scrollbar-width:none;
}
.admin-tabs::-webkit-scrollbar { display:none; }
.admin-tab {
  padding:12px 18px; color:var(--text-muted); font-weight:500; font-size:14px;
  border-bottom:2px solid transparent; white-space:nowrap;
  transition: all var(--t-fast);
}
.admin-tab:hover { color:var(--text); }
.admin-tab.is-active {
  color:var(--accent-2); border-bottom-color:var(--accent);
}

.admin-row {
  display:flex; align-items:center; gap:14px;
  padding:12px 0; border-bottom:1px solid var(--border);
}
.admin-row:last-child { border-bottom:none; }
.admin-row-mark {
  width:36px; height:36px; border-radius:var(--radius-sm);
  display:flex; align-items:center; justify-content:center;
  font-weight:800; font-size:14px; flex-shrink:0;
}
.admin-row-body { flex:1; min-width:0; }
.admin-row-meta { font-size:12px; color:var(--text-muted); margin-top:2px; }

.admin-logs { display:flex; flex-direction:column; gap:4px; font-size:13px; }
.admin-log-row {
  display:grid; grid-template-columns: 220px 140px 1fr 140px;
  gap:12px; padding:8px 12px; border-radius:var(--radius-sm);
  align-items:center; background:var(--bg-1);
  border:1px solid var(--border);
}
.admin-log-action {
  font-family:var(--font-mono); font-size:12px; color:var(--text-muted);
  background:var(--bg-3); padding:2px 8px; border-radius:4px;
}
.admin-log-action.is-success { color:var(--success); background:rgba(46,204,113,0.1); }
.admin-log-action.is-danger { color:var(--danger); background:rgba(237,66,69,0.1); }
.admin-log-user, .admin-log-target { font-family:var(--font-mono); font-size:12px; color:var(--text-muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.admin-log-time { font-size:12px; color:var(--text-dim); text-align:right; }
@media (max-width: 760px) {
  .admin-log-row { grid-template-columns: 1fr; gap:4px; }
}

/* Tabela de chaves */
.admin-key-row {
  display:grid;
  grid-template-columns: minmax(220px, 1.5fr) 100px 80px 80px 100px minmax(220px, auto);
  gap:14px; padding:14px 18px;
  background:var(--bg-1); border:1px solid var(--border);
  border-radius:var(--radius-md);
  align-items:center; margin-bottom:8px;
  transition:border-color var(--t-fast);
}
.admin-key-row:hover { border-color:var(--border-strong); }
.admin-key-cell-code {
  display:flex; flex-direction:column; gap:4px;
}
.admin-key-cell-code code {
  font-family:var(--font-mono); font-size:13px; color:var(--accent-2);
  font-weight:700; letter-spacing:0.5px;
}
.admin-key-meta-label { font-size:11px; color:var(--text-muted); text-transform:uppercase; letter-spacing:0.5px; }
.admin-key-meta-value { font-weight:600; font-size:13px; }
.admin-key-cell-actions { display:flex; gap:6px; flex-wrap:wrap; justify-content:flex-end; }
@media (max-width: 1000px) {
  .admin-key-row { grid-template-columns: 1fr; }
  .admin-key-cell-actions { justify-content:flex-start; }
}

/* Server row */
.admin-server-row {
  display:flex; align-items:center; gap:14px;
  padding:12px 16px; background:var(--bg-1);
  border:1px solid var(--border); border-radius:var(--radius-md);
  margin-bottom:8px;
}

/* Scan card */
.scan-card { padding:20px; }
.scan-card-head { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; margin-bottom:14px; flex-wrap:wrap; }
.scan-grid {
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap:8px; margin-top:14px;
}
.scan-store {
  padding:10px 12px; border-radius:var(--radius-sm);
  background:var(--bg-1); border:1px solid var(--border);
  font-size:12px;
}
.scan-store-name { font-weight:600; margin-bottom:4px; font-size:13px; }
.scan-store-info { color:var(--text-muted); }
.scan-store-error { color:var(--danger); font-family:var(--font-mono); font-size:11px; margin-top:4px; }
.scan-store-ok { border-color:rgba(46,204,113,0.4); background:rgba(46,204,113,0.05); }
.scan-store-fail { border-color:rgba(237,66,69,0.4); background:rgba(237,66,69,0.05); }
.scan-store-skip { opacity:0.5; }

/* ===================== PROFILE / DASHBOARD POLIDOS ===================== */
.monitor-item {
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-1) 100%);
  border-color: var(--border);
  transition: all var(--t-med) var(--ease-out);
}
.monitor-item:hover {
  transform: translateY(-2px);
  border-color: var(--border-bright);
  box-shadow: var(--shadow-md);
}

/* Card de plano no guild page polido */
.plan-status-card {
  background: linear-gradient(135deg, var(--bg-2) 0%, var(--bg-1) 100%);
  position: relative;
  overflow: hidden;
}
.plan-status-card::after {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 60%; height: 200%;
  background: radial-gradient(circle, var(--plan-glow), transparent 70%);
  pointer-events: none;
}

/* ============================================================
   NAV BRAND MARK (logo PNG completa)
   ============================================================ */
.nav-brand-mark {
  width: 38px; height: 38px;
  border-radius: 50%;
  object-fit: cover;
  display: inline-block;
  transition: transform var(--t-fast), filter var(--t-fast);
  filter: drop-shadow(0 4px 12px var(--hot-glow));
}
.nav-brand:hover .nav-brand-mark {
  transform: scale(1.08) rotate(-6deg);
  filter: drop-shadow(0 6px 18px var(--hot-glow));
}
.footer-brand-mark {
  width: 32px; height: 32px;
  border-radius: 50%;
  object-fit: cover;
  display: inline-block;
}

/* ============================================================
   FOOTER (com grid de 4 colunas: brand, site, legal, comunidade)
   ============================================================ */
.footer {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  margin-top: 80px;
  padding: 56px 24px 24px;
}
.footer-content { max-width: 1200px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  color: var(--text-2);
  font-size: 14px;
  text-decoration: none;
  padding: 5px 0;
  transition: color var(--t-fast);
}
.footer-col a:hover { color: var(--hot); }
.footer-col-brand .footer-brand {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
  font-size: 16px;
}
.footer-tagline {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 280px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-dim { color: var(--text-dim); }

@media (max-width: 720px) {
  .footer { padding: 40px 16px 16px; margin-top: 56px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-col-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   COMMUNITY SHARES (cards na home)
   ============================================================ */
.community-shares {
  padding: 96px 24px;
  background:
    radial-gradient(ellipse at top, rgba(217, 40, 54, 0.08), transparent 60%),
    linear-gradient(180deg, var(--bg-base) 0%, var(--bg-1) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.community-shares-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.community-shares-head h2 {
  font-size: clamp(32px, 4.5vw, 44px);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 14px;
  line-height: 1.05;
}
.community-shares-head p {
  color: var(--text-muted);
  font-size: 16.5px;
  line-height: 1.6;
}
.shares-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 22px;
  max-width: 1280px;
  margin: 0 auto;
}
.share-card {
  background: var(--bg-card-grad);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: all var(--t-med) var(--ease-out);
  display: flex;
  flex-direction: column;
  isolation: isolate;
}
.share-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, var(--hot), transparent 50%, var(--hot) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity var(--t-med);
  pointer-events: none; z-index: 0;
}
.share-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.5), 0 0 32px var(--hot-soft);
}
.share-card:hover::after { opacity: 1; }
.share-card-image-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at center, var(--bg-3), var(--bg-base) 90%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.share-card-image {
  width: 100%;
  height: 100%;
  object-fit: contain;       /* nao corta - mostra a imagem inteira centralizada */
  object-position: center;
  display: block;
  transition: transform var(--t-med);
}
.share-card:hover .share-card-image {
  transform: scale(1.04);
}
.share-card-image-fallback {
  width: 100%; aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--bg-3), var(--bg-elev));
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim); font-weight: 700; letter-spacing: 1.5px;
  border-bottom: 1px solid var(--border); font-size: 18px;
}
.share-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.share-card-store {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--hot);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
}
.share-card-title {
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 8px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.share-card-desc {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.share-card-prices {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.share-card-price-now {
  font-size: 24px;
  font-weight: 800;
  color: var(--success);
  letter-spacing: -0.5px;
}
.share-card-price-old {
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: line-through;
}
.share-card-discount {
  display: inline-block;
  padding: 4px 9px;
  background: var(--hot);
  color: white;
  border-radius: var(--radius-sm);
  font-size: 11.5px;
  font-weight: 800;
  box-shadow: 0 4px 12px var(--hot-glow);
}
.share-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
  gap: 8px;
}
.share-card-user {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.share-card-user strong { color: var(--text-2); font-weight: 600; }
.share-card-link {
  position: absolute;
  inset: 0;
  z-index: 5;
}
.shares-empty {
  text-align: center;
  padding: 56px 20px;
  color: var(--text-muted);
  font-size: 14px;
  grid-column: 1 / -1;
  background: var(--bg-1);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
}
.shares-empty strong {
  display: block; color: var(--text);
  font-size: 18px; margin-bottom: 8px; font-weight: 700;
}

/* ============================================================
   POLISH NAS PAGINAS Dashboard / Planos / Profile
   ============================================================ */

/* Dashboard: cards de guilds com glow no plano pago */
.guild-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  background: var(--bg-card-grad);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text);
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
  transition: all var(--t-med) var(--ease-out);
}
.guild-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, var(--plan-glow, transparent), transparent 50%);
  opacity: 0;
  transition: opacity var(--t-med);
  pointer-events: none;
}
.guild-card:hover {
  transform: translateY(-3px);
  border-color: var(--plan-color, var(--hot));
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--plan-color, var(--hot));
  color: var(--text);
}
.guild-card:hover::before { opacity: 1; }
.guild-card:hover .guild-arrow { transform: translateX(4px); color: var(--hot); }
.guild-card.guild-plan-ouro,
.guild-card.guild-plan-prata,
.guild-card.guild-plan-bronze {
  border-color: var(--plan-color, var(--border));
}
.guild-arrow { transition: all var(--t-fast); color: var(--text-dim); font-size: 24px; flex-shrink: 0; }

/* Profile: items do monitor mais bonitos */
.monitor-item {
  transition: all var(--t-med) var(--ease-out);
}
.monitor-item:hover {
  border-color: var(--hot);
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* Planos: cards com lift no hover */
.plan-card {
  transition: all var(--t-med) var(--ease-out);
}
.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--plan-color);
}

/* Paginas legais simples */
.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px;
}
.legal-page h1 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 24px;
}
.legal-page h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--text);
}
.legal-page p, .legal-page li {
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 12px;
  font-size: 15px;
}
.legal-page ul { padding-left: 22px; margin-bottom: 16px; }
.legal-page strong { color: var(--text); }
.legal-page code {
  background: var(--bg-3);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 13px;
  color: var(--hot);
}

/* Admin tabs visualmente melhor */
.admin-tabs {
  display: inline-flex;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 4px;
  gap: 2px;
}
.admin-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--t-fast);
}
.admin-tab:hover { color: var(--text); background: var(--bg-2); }
.admin-tab.is-active {
  background: var(--hot);
  color: white;
  box-shadow: 0 2px 8px var(--hot-glow);
}

/* ============================================================
   VIEW TRANSITIONS API (animacao suave entre paginas)
   - Funciona em Chrome/Edge/Brave 111+ e Safari Tech Preview
   - Em browsers sem suporte: navega normal (sem animacao)
   ============================================================ */
@view-transition { navigation: auto; }

/* Pagina saindo desliza pra esquerda + fade rapido */
::view-transition-old(root) {
  animation: pageOut 180ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
/* Pagina nova entra pela direita */
::view-transition-new(root) {
  animation: pageIn 220ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pageOut {
  from { opacity: 1; transform: translate3d(0, 0, 0); }
  to   { opacity: 0; transform: translate3d(-2%, 0, 0); }
}
@keyframes pageIn {
  from { opacity: 0; transform: translate3d(2%, 0, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) {
    animation: none !important;
  }
}

/* Nav e footer ficam fixos durante a transicao */
.nav { view-transition-name: site-nav; }
.footer { view-transition-name: site-footer; }
::view-transition-old(site-nav),
::view-transition-new(site-nav),
::view-transition-old(site-footer),
::view-transition-new(site-footer) { animation: none; }

