@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  --violet:          #7C3AED;
  --violet-light:    #A78BFA;
  --violet-glow:     rgba(124, 58, 237, 0.45);
  --rose:            #EC4899;
  --rose-glow:       rgba(236, 72, 153, 0.35);
  --bg-base:         #0D0914;
  --bg-card:         #17142C;
  --bg-elevated:     #1F1C38;
  --bg-glass:        rgba(23, 20, 44, 0.55);
  --text-primary:    #F5F0FF;
  --text-secondary:  #B0A8D4;
  --text-muted:      #6B6489;
  --border:          #2D2850;
  --border-glow:     rgba(167, 139, 250, 0.25);
  --success:         #10B981;
  --warning:         #F59E0B;
  --danger:          #EF4444;
  --gradient-brand:  linear-gradient(135deg, #7C3AED 0%, #A78BFA 45%, #EC4899 100%);
  --gradient-bg:     radial-gradient(ellipse 80% 60% at 50% -10%, rgba(124, 58, 237, 0.18) 0%, transparent 60%),
                     linear-gradient(180deg, #12101F 0%, #0D0914 100%);
  --font-sans:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display:    'Outfit', var(--font-sans);
  --radius-sm:       10px;
  --radius-md:       16px;
  --radius-lg:       24px;
  --radius-xl:       32px;
  --radius-full:     9999px;
  --shadow-card:     0 8px 32px rgba(0, 0, 0, 0.35);
  --transition:      0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--violet-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--rose); }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }

img, svg { display: block; max-width: 100%; }

::placeholder { color: var(--text-muted); }

.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 28px; }

.hidden { display: none !important; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--violet); }

/* Toast */
#toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  display: flex; flex-direction: column; gap: 10px;
}
.toast-item {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-left: 3px solid var(--violet); color: var(--text-primary);
  padding: 14px 18px; border-radius: var(--radius-md);
  box-shadow: var(--shadow-card); min-width: 260px; font-size: 14px;
  animation: slideIn .25s ease;
}
.toast-item.success { border-left-color: var(--success); }
.toast-item.error   { border-left-color: var(--danger); }
@keyframes slideIn { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
