@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Outfit:wght@500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg-deep: #04060c;
  --bg: #060a12;
  --bg-elevated: #0a101c;
  --surface: #0f1524;
  --surface-hover: #151d30;
  --border: rgba(148, 163, 198, 0.1);
  --border-strong: rgba(148, 163, 198, 0.2);
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --accent: #9333ea;
  --accent-light: #c084fc;
  --accent-glow: rgba(168, 85, 247, 0.45);
  --brand: #a855f7;
  --brand-light: #d8b4fe;
  --brand-glow: rgba(168, 85, 247, 0.5);
  --brand-deep: #6b21a8;
  --discord: #5865f2;
  --discord-glow: rgba(88, 101, 242, 0.35);
  --cyan: #06b6d4;
  --green: #22c55e;
  --amber: #f59e0b;
  --red: #ef4444;
  --purple: #a855f7;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.55);
  --font: 'DM Sans', system-ui, sans-serif;
  --font-display: 'Outfit', 'DM Sans', system-ui, sans-serif;
  --nav-h: 72px;
  --sidebar-w: 280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection {
  background: rgba(99, 102, 241, 0.35);
  color: white;
}
a { color: var(--accent-light); text-decoration: none; transition: color .2s; }
a:hover { color: #c7d2fe; }
img { max-width: 100%; display: block; }
.hidden { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

code {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.88em;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.18);
  color: #c7d2fe;
}

.container { width: min(1180px, 92vw); margin: 0 auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--radius-sm); border: none;
  font-family: var(--font); font-weight: 600; font-size: 0.95rem;
  cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s;
  text-decoration: none; color: inherit;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: white; box-shadow: 0 4px 20px var(--brand-glow);
}
.btn-primary:hover { box-shadow: 0 8px 32px var(--brand-glow); color: white; }
.btn-invite {
  background: linear-gradient(135deg, #5865f2, #4752c4) !important;
  color: white !important;
  box-shadow: 0 4px 20px var(--discord-glow);
}
.btn-invite:hover { color: white !important; box-shadow: 0 8px 28px var(--discord-glow); }
.btn-ghost {
  background: rgba(255,255,255,.04); border: 1px solid var(--border-strong); color: var(--text);
}
.btn-ghost:hover { background: rgba(255,255,255,.08); color: var(--text); }
.btn-sm { padding: 8px 14px; font-size: 0.85rem; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px; font-size: 0.75rem; font-weight: 600;
}
.badge-live {
  background: rgba(34,197,94,.12);
  color: var(--green);
  border: 1px solid rgba(34, 197, 94, 0.25);
}
.badge-discord {
  background: rgba(168, 85, 247, 0.15);
  color: var(--brand-light);
  border: 1px solid rgba(168, 85, 247, 0.35);
}
.badge-open { background: rgba(34,197,94,.12); color: var(--green); }
.badge-closed { background: rgba(148,163,198,.1); color: var(--text-muted); }

.grid-bg {
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(168, 85, 247, 0.08), transparent),
    linear-gradient(rgba(168, 85, 247, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 56px 56px, 56px 56px;
}

/* Logo Aivor — folosit pe tot site-ul */
.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 20px var(--brand-glow);
  border: 1px solid rgba(168, 85, 247, 0.25);
}
.brand-logo-sm { width: 32px; height: 32px; }
.brand-logo-md { width: 48px; height: 48px; }
.brand-logo-lg { width: 88px; height: 88px; box-shadow: 0 0 40px var(--brand-glow); }
.brand-logo-xl { width: 120px; height: 120px; box-shadow: 0 0 56px var(--brand-glow); }
.brand-logo-hero {
  width: clamp(88px, 14vw, 128px);
  height: clamp(88px, 14vw, 128px);
  margin-bottom: 20px;
  box-shadow: 0 0 48px var(--brand-glow), 0 0 96px rgba(168, 85, 247, 0.15);
}
.brand-pulse { animation: brandPulse 2.8s ease-in-out infinite; }
@keyframes brandPulse {
  0%, 100% { box-shadow: 0 0 20px var(--brand-glow); }
  50% { box-shadow: 0 0 36px var(--brand-glow), 0 0 60px rgba(168, 85, 247, 0.2); }
}

/* Progress bar ghid */
.read-progress {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--discord), var(--cyan));
  z-index: 101;
  transition: width 0.1s linear;
  box-shadow: 0 0 12px var(--discord-glow);
}

/* Reveal — doar elemente decorative (landing), nu secțiuni de ghid */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.guide-section {
  opacity: 1;
  transform: none;
}
