/* =============================================
   OrbIsTales.de – Design System
   Dark Fantasy / Mystical Orb Theme
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Inter:wght@300;400;500;600&display=swap');

/* ── Variables ─────────────────────────────── */
:root {
  --bg-deep:       #07070e;
  --bg-mid:        #0d0d1a;
  --bg-card:       rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --primary:       #7c3aed;
  --primary-light: #9d5af0;
  --primary-glow:  rgba(124, 58, 237, 0.4);
  --accent:        #f59e0b;
  --accent-light:  #fbbf24;
  --accent-glow:   rgba(245, 158, 11, 0.35);
  --teal:          #0ea5e9;
  --text:          #e2e8f0;
  --text-muted:    #94a3b8;
  --text-dim:      #64748b;
  --border:        rgba(255, 255, 255, 0.08);
  --border-accent: rgba(124, 58, 237, 0.3);
  --radius-sm:     8px;
  --radius-md:     16px;
  --radius-lg:     24px;
  --radius-xl:     32px;
  --nav-h:         72px;
  --transition:    all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ──────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-deep);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── Scrollbar ─────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ── Utility ───────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; }

.gradient-text {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 20px;
}

.badge .dot {
  width: 6px; height: 6px;
  background: var(--primary-light);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

/* ── Canvas Particles ──────────────────────── */
#particles-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── Orb Decorations ───────────────────────── */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(124,58,237,0.25) 0%, transparent 70%);
  top: -150px; left: -150px;
  animation: orb-drift 12s ease-in-out infinite alternate;
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(245,158,11,0.15) 0%, transparent 70%);
  top: 20%; right: -100px;
  animation: orb-drift 15s ease-in-out infinite alternate-reverse;
}
.orb-3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(14,165,233,0.12) 0%, transparent 70%);
  bottom: 10%; left: 20%;
  animation: orb-drift 10s ease-in-out infinite alternate;
}

/* ── Navigation ────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(7, 7, 14, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 40px rgba(0,0,0,0.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  transition: var(--transition);
}

.nav-logo img {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 0 8px var(--primary-glow));
  transition: var(--transition);
}

.nav-logo:hover img {
  filter: drop-shadow(0 0 16px var(--primary-glow));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255,255,255,0.05);
}

.nav-links a.active {
  color: var(--primary-light);
}

.nav-discord {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px !important;
  background: var(--primary) !important;
  color: white !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  transition: var(--transition) !important;
  box-shadow: 0 0 20px var(--primary-glow);
}

.nav-discord:hover {
  background: var(--primary-light) !important;
  box-shadow: 0 0 30px var(--primary-glow) !important;
  transform: translateY(-1px);
}

.nav-discord svg { flex-shrink: 0; }

/* Burger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  z-index: 1001;
}

.nav-burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(7, 7, 14, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
  flex-direction: column;
  gap: 8px;
  z-index: 999;
}

.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--text-muted);
  transition: var(--transition);
  border: 1px solid transparent;
}
.nav-mobile a:hover { color: var(--text); border-color: var(--border); background: var(--bg-card); }

.nav-mobile .nav-discord {
  margin-top: 8px;
  justify-content: center;
  border: none !important;
}

/* ── Hero Section ──────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(124,58,237,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(245,158,11,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 20% 80%, rgba(14,165,233,0.06) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-mid) 50%, var(--bg-deep) 100%);
  z-index: 0;
}

/* Grid overlay */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.hero-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  opacity: 0;
  animation: fade-up 0.8s ease forwards 0.2s;
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 24px;
  opacity: 0;
  animation: fade-up 0.8s ease forwards 0.4s;
}

.hero-title .line1 { display: block; color: var(--text); }
.hero-title .line2 {
  display: block;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 60%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px var(--primary-glow));
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 44px;
  line-height: 1.7;
  font-weight: 300;
  opacity: 0;
  animation: fade-up 0.8s ease forwards 0.6s;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fade-up 0.8s ease forwards 0.8s;
}

/* ── Buttons ───────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  box-shadow: 0 4px 30px var(--primary-glow), inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px var(--primary-glow), inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.2);
  background: var(--bg-card);
  transform: translateY(-2px);
}

.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* ── Hero Scroll Indicator ─────────────────── */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fade-up 0.8s ease forwards 1.2s;
}

.hero-scroll span {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--primary-light), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

/* ── Stats Bar ─────────────────────────────── */
.stats-bar {
  position: relative;
  z-index: 2;
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.015);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 24px 20px;
  border-right: 1px solid var(--border);
  position: relative;
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: 'Cinzel', serif;
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* ── Cards ─────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124,58,237,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(124,58,237,0.12);
}

.card:hover::before { opacity: 1; }

.card-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  position: relative;
}

.card-icon.purple {
  background: rgba(124,58,237,0.15);
  box-shadow: 0 0 20px rgba(124,58,237,0.2);
}
.card-icon.gold {
  background: rgba(245,158,11,0.12);
  box-shadow: 0 0 20px rgba(245,158,11,0.15);
}
.card-icon.teal {
  background: rgba(14,165,233,0.12);
  box-shadow: 0 0 20px rgba(14,165,233,0.12);
}

.card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ── Features Section ──────────────────────── */
.features { position: relative; overflow: hidden; }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.7;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ── Lore Section ──────────────────────────── */
.lore {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, transparent 0%, rgba(124,58,237,0.05) 50%, transparent 100%);
}

.lore-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.lore-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lore-orb-wrap {
  position: relative;
  width: 360px;
  height: 360px;
}

.lore-orb-core {
  position: absolute;
  inset: 50px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, rgba(180,130,255,0.8), rgba(100,40,180,0.6), rgba(40,10,80,0.9));
  box-shadow:
    0 0 60px rgba(124,58,237,0.6),
    0 0 120px rgba(124,58,237,0.3),
    inset 0 0 60px rgba(200,150,255,0.2);
  animation: orb-breathe 5s ease-in-out infinite;
}

.lore-orb-ring {
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 1px solid rgba(124,58,237,0.3);
  animation: spin 20s linear infinite;
}

.lore-orb-ring::after {
  content: '';
  position: absolute;
  top: -4px; left: 50%;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
  transform: translateX(-50%);
}

.lore-orb-ring2 {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(245,158,11,0.15);
  animation: spin 35s linear infinite reverse;
}

.lore-text h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.lore-text p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.lore-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lore-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.lore-list li::before {
  content: '◆';
  color: var(--accent);
  font-size: 0.6rem;
  flex-shrink: 0;
}

/* ── Discord Section ───────────────────────── */
.discord-cta {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.discord-cta-inner {
  border-radius: var(--radius-xl);
  padding: 80px 60px;
  background: linear-gradient(135deg, rgba(88,28,135,0.3) 0%, rgba(124,58,237,0.15) 50%, rgba(88,28,135,0.3) 100%);
  border: 1px solid rgba(124,58,237,0.25);
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.discord-cta-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(124,58,237,0.4), transparent);
}

.discord-cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 20% 50%, rgba(124,58,237,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 80% 50%, rgba(245,158,11,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.discord-icon {
  width: 80px; height: 80px;
  background: rgba(88, 101, 242, 0.2);
  border: 1px solid rgba(88, 101, 242, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  font-size: 2rem;
  box-shadow: 0 0 40px rgba(88, 101, 242, 0.3);
  animation: orb-breathe 4s ease-in-out infinite;
}

.discord-cta-inner h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.discord-cta-inner p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 460px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.btn-discord {
  background: #5865F2;
  color: white;
  box-shadow: 0 4px 30px rgba(88,101,242,0.4);
}

.btn-discord:hover {
  background: #4752C4;
  box-shadow: 0 8px 40px rgba(88,101,242,0.5);
  transform: translateY(-2px);
}

/* ── Footer ────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  position: relative;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .nav-logo {
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 220px;
}

.footer-col h4 {
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col ul a {
  font-size: 0.875rem;
  color: var(--text-dim);
  transition: var(--transition);
}

.footer-col ul a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-bottom a {
  color: var(--primary-light);
  transition: var(--transition);
}

.footer-bottom a:hover { color: var(--accent); }

/* ── Legal Pages ───────────────────────────── */
.legal-page {
  min-height: 100vh;
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 80px;
  position: relative;
}

.legal-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.legal-header h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.legal-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.legal-content h2 {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 36px 0 12px;
  color: var(--text);
}

.legal-content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 24px 0 8px;
  color: var(--primary-light);
}

.legal-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-content a {
  color: var(--primary-light);
  text-decoration: underline;
}

.legal-content a:hover { color: var(--accent); }

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 32px;
  transition: var(--transition);
}

.legal-back:hover { color: var(--text); }

/* ── Animations ────────────────────────────── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes orb-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(30px, 30px) scale(1.05); }
}

@keyframes orb-breathe {
  0%, 100% { box-shadow: 0 0 60px rgba(124,58,237,0.6), 0 0 120px rgba(124,58,237,0.3); transform: scale(1); }
  50% { box-shadow: 0 0 80px rgba(124,58,237,0.8), 0 0 160px rgba(124,58,237,0.4); transform: scale(1.04); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes scroll-pulse {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ── Reveal Animations ─────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── Responsive ────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .lore-inner { gap: 48px; }
  .lore-orb-wrap { width: 280px; height: 280px; }
  .lore-orb-core { inset: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }

  .section { padding: 72px 0; }

  .hero-title { font-size: clamp(2.2rem, 8vw, 3.5rem); }
  .hero-actions { flex-direction: column; align-items: center; }

  .features-grid { grid-template-columns: 1fr; }

  .lore-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .lore-visual { order: -1; }
  .lore-orb-wrap { width: 240px; height: 240px; }
  .lore-orb-core { inset: 30px; }

  .lore-list li { justify-content: center; }

  .discord-cta-inner { padding: 48px 24px; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand p { max-width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid var(--border); }
  .stat-item:nth-child(4) { border-right: none; }
  .stat-item { border-bottom: 1px solid var(--border); }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-bottom: none; }
}

@media (max-width: 480px) {
  .lore-orb-wrap { width: 200px; height: 200px; }
  .lore-orb-core { inset: 24px; }
}
