@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;900&family=Rajdhani:wght@300;400;500;600;700&display=swap');

/* ── CSS Variables ── */
:root {
  --bg-primary: #0a0010;
  --bg-secondary: #0f0018;
  --bg-card: rgba(80, 0, 120, 0.15);
  --bg-card-hover: rgba(120, 0, 180, 0.25);
  --surface: rgba(160, 40, 220, 0.08);
  --surface-border: rgba(200, 80, 255, 0.2);

  --crystal-1: #e040fb;
  --crystal-2: #aa00ff;
  --crystal-3: #ce93d8;
  --crystal-4: #7b1fa2;
  --crystal-5: #f8bbff;
  --crystal-glow: rgba(224, 64, 251, 0.35);
  --crystal-glow-soft: rgba(170, 0, 255, 0.15);

  --text-primary: #f8f0ff;
  --text-secondary: #c9a0dc;
  --text-muted: #8b5fa0;
  --text-accent: #e040fb;

  --gradient-hero: linear-gradient(135deg, #1a0030 0%, #0a0010 40%, #120020 100%);
  --gradient-crystal: linear-gradient(135deg, #e040fb, #aa00ff, #7b1fa2);
  --gradient-shimmer: linear-gradient(90deg, transparent, rgba(224,64,251,0.3), transparent);

  --shadow-glow: 0 0 30px rgba(224, 64, 251, 0.4), 0 0 60px rgba(170, 0, 255, 0.2);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(200, 80, 255, 0.15);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Dark Mode ── */
[data-theme="light"] {
  --bg-primary: #f5eeff;
  --bg-secondary: #ede0ff;
  --bg-card: rgba(160, 40, 220, 0.08);
  --bg-card-hover: rgba(160, 40, 220, 0.15);
  --surface: rgba(160, 40, 220, 0.05);
  --surface-border: rgba(170, 0, 255, 0.25);

  --crystal-glow: rgba(170, 0, 255, 0.25);
  --crystal-glow-soft: rgba(170, 0, 255, 0.1);

  --text-primary: #1a0030;
  --text-secondary: #5a2080;
  --text-muted: #9060b0;
  --text-accent: #aa00ff;

  --gradient-hero: linear-gradient(135deg, #ede0ff 0%, #f5eeff 40%, #f0e6ff 100%);
  --shadow-glow: 0 0 30px rgba(170, 0, 255, 0.3), 0 0 60px rgba(170, 0, 255, 0.12);
  --shadow-card: 0 8px 32px rgba(100, 0, 180, 0.12), 0 0 0 1px rgba(170, 0, 255, 0.2);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Rajdhani', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}

/* ── Crystal Background Particles ── */
.crystal-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.crystal-bg::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  top: -200px; left: -100px;
  background: radial-gradient(ellipse, rgba(170,0,255,0.12) 0%, transparent 70%);
  animation: drift1 18s ease-in-out infinite alternate;
}

.crystal-bg::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  bottom: -100px; right: -100px;
  background: radial-gradient(ellipse, rgba(224,64,251,0.1) 0%, transparent 70%);
  animation: drift2 22s ease-in-out infinite alternate;
}

@keyframes drift1 { from { transform: translate(0,0) rotate(0deg); } to { transform: translate(80px, 60px) rotate(15deg); } }
@keyframes drift2 { from { transform: translate(0,0) rotate(0deg); } to { transform: translate(-60px, -80px) rotate(-15deg); } }

/* Floating crystal shards */
.shard {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  animation: floatShard linear infinite;
}

.shard::before {
  content: '';
  display: block;
  width: 100%; height: 100%;
  background: var(--gradient-crystal);
  clip-path: polygon(50% 0%, 80% 30%, 100% 60%, 70% 100%, 30% 100%, 0% 60%, 20% 30%);
  filter: blur(1px);
}

@keyframes floatShard {
  0%   { transform: translateY(110vh) rotate(0deg);   opacity: 0;   }
  5%   { opacity: 0.4; }
  95%  { opacity: 0.2; }
  100% { transform: translateY(-10vh) rotate(360deg); opacity: 0;   }
}

/* ── Nav ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
  background: rgba(10, 0, 16, 0.75);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--surface-border);
  transition: var(--transition);
}

[data-theme="light"] nav {
  background: rgba(245, 238, 255, 0.8);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo-icon {
  width: 36px; height: 36px;
  background: var(--gradient-crystal);
  clip-path: polygon(50% 0%, 85% 25%, 100% 65%, 65% 100%, 35% 100%, 0% 65%, 15% 25%);
  filter: drop-shadow(0 0 8px var(--crystal-1));
  animation: crystalPulse 3s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes crystalPulse {
  0%, 100% { filter: drop-shadow(0 0 8px var(--crystal-1)); }
  50%       { filter: drop-shadow(0 0 18px var(--crystal-1)) drop-shadow(0 0 30px var(--crystal-2)); }
}

.nav-logo-text {
  font-family: 'Cinzel', serif;
  font-weight: 900;
  font-size: 1.3rem;
  background: var(--gradient-crystal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--crystal-1);
  transition: width 0.3s ease;
  box-shadow: 0 0 8px var(--crystal-1);
}

.nav-links a:hover { color: var(--crystal-1); }
.nav-links a:hover::after { width: 100%; }

/* ── Theme Toggle ── */
.theme-toggle {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  color: var(--text-secondary);
  padding: 0.45rem 1rem;
  border-radius: 40px;
  cursor: pointer;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.theme-toggle:hover {
  background: var(--crystal-glow-soft);
  border-color: var(--crystal-1);
  color: var(--crystal-1);
  box-shadow: 0 0 12px var(--crystal-glow);
}

/* ── Hero ── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem 6rem;
  background: var(--gradient-hero);
}

.hero-crystal-cluster {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Decorative crystal shapes in hero */
.crystal-deco {
  position: absolute;
  background: var(--gradient-crystal);
  opacity: 0.06;
  clip-path: polygon(50% 0%, 80% 25%, 100% 60%, 65% 100%, 35% 100%, 0% 60%, 20% 25%);
  animation: slowSpin linear infinite;
}

[data-theme="light"] .crystal-deco { opacity: 0.08; }

.crystal-deco:nth-child(1) { width: 400px; height: 400px; top: -100px; right: -100px; animation-duration: 60s; }
.crystal-deco:nth-child(2) { width: 250px; height: 250px; bottom: 50px; left: -60px; animation-duration: 45s; animation-direction: reverse; }
.crystal-deco:nth-child(3) { width: 150px; height: 150px; top: 30%; right: 8%; animation-duration: 35s; opacity: 0.1; }

@keyframes slowSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.hero-eyebrow {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--crystal-3);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block;
  width: 30px; height: 1px;
  background: var(--crystal-3);
  opacity: 0.6;
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 0.2em;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.4s forwards;
}

.hero-title .line1 {
  display: block;
  color: var(--text-primary);
}

.hero-title .line2 {
  display: block;
  background: var(--gradient-crystal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 30px rgba(224, 64, 251, 0.5));
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.7;
  margin: 1.5rem auto 2.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.6s forwards;
}

/* ── IP Box ── */
.ip-container {
  opacity: 0;
  animation: fadeUp 0.8s ease 0.8s forwards;
  margin-bottom: 3rem;
}

.ip-label {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.ip-box {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  padding: 0.85rem 1.5rem;
  box-shadow: var(--shadow-glow);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.ip-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-shimmer);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.ip-box:hover::before { transform: translateX(100%); }

.ip-box:hover {
  border-color: var(--crystal-1);
  box-shadow: var(--shadow-glow), 0 0 0 1px var(--crystal-1);
  background: var(--bg-card-hover);
}

.ip-text {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--crystal-5);
  letter-spacing: 0.05em;
}

.ip-copy-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
  padding: 0.2rem;
  display: flex;
  align-items: center;
}

.ip-copy-btn:hover { color: var(--crystal-1); }
.ip-copy-btn svg { width: 18px; height: 18px; }

.copy-toast {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--crystal-2);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.copy-toast.show { opacity: 1; }

/* ── Buttons ── */
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 0.8s ease 1s forwards;
}

.btn {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-crystal);
  color: white;
  box-shadow: 0 4px 20px rgba(170, 0, 255, 0.4);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.btn-primary:hover::before { transform: scaleX(1); }
.btn-primary:hover { box-shadow: 0 6px 30px rgba(170, 0, 255, 0.6), var(--shadow-glow); transform: translateY(-2px); }

.btn-secondary {
  background: transparent;
  color: var(--crystal-3);
  border: 1px solid var(--surface-border);
}

.btn-secondary:hover {
  border-color: var(--crystal-1);
  color: var(--crystal-1);
  background: var(--crystal-glow-soft);
  box-shadow: 0 0 20px var(--crystal-glow);
  transform: translateY(-2px);
}

/* ── Version Badge ── */
.version-badge {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease 1.2s forwards;
}

.version-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.version-pill .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--crystal-1);
  box-shadow: 0 0 6px var(--crystal-1);
}

/* ── Section Base ── */
section {
  position: relative;
  z-index: 1;
  padding: 6rem 2rem;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-eyebrow {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--crystal-1);
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.section-title span {
  background: var(--gradient-crystal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  margin-top: 1rem;
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ── Feature Cards ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-crystal);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(200, 80, 255, 0.4);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), 0 0 30px var(--crystal-glow-soft);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 52px; height: 52px;
  background: var(--gradient-crystal);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 15px rgba(170, 0, 255, 0.35);
}

.feature-title {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.feature-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ── Platform Section ── */
.platform-section {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.platform-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.platform-card {
  background: var(--bg-card);
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.platform-card.featured {
  border-color: rgba(224, 64, 251, 0.4);
  box-shadow: 0 0 40px rgba(170, 0, 255, 0.15);
}

.platform-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card), 0 0 40px var(--crystal-glow-soft);
  border-color: var(--crystal-1);
}

.platform-icon-wrap {
  width: 80px; height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--gradient-crystal);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  box-shadow: 0 8px 24px rgba(170, 0, 255, 0.35);
  animation: iconFloat 4s ease-in-out infinite;
}

.platform-card:nth-child(2) .platform-icon-wrap { animation-delay: 0.5s; }
.platform-card:nth-child(3) .platform-icon-wrap { animation-delay: 1s; }

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

.platform-name {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.platform-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.platform-versions {
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--crystal-3);
  letter-spacing: 0.05em;
}

/* ── Version Range Display ── */
.version-section {
  text-align: center;
}

.version-range-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 3rem auto;
  max-width: 700px;
  position: relative;
}

.version-end {
  background: var(--bg-card);
  border: 2px solid var(--crystal-1);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  text-align: center;
  box-shadow: 0 0 20px var(--crystal-glow);
  min-width: 130px;
}

.version-end-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.version-end-num {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--crystal-1);
  display: block;
  margin-top: 0.2rem;
}

.version-connector {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--crystal-1), var(--crystal-2), var(--crystal-1));
  position: relative;
  margin: 0 0.5rem;
  box-shadow: 0 0 8px var(--crystal-glow);
}

.version-connector::before {
  content: '⬥ All Versions ⬥';
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--crystal-3);
  white-space: nowrap;
}

/* ── How to Join ── */
.join-section {
  background: var(--bg-secondary);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.step-card:hover {
  border-color: rgba(200, 80, 255, 0.35);
  transform: translateY(-3px);
}

.step-num {
  font-family: 'Cinzel', serif;
  font-size: 3rem;
  font-weight: 900;
  background: var(--gradient-crystal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.step-title {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.step-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ── CTA ── */
.cta-section {
  text-align: center;
  padding: 6rem 2rem;
}

.cta-box {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid rgba(200, 80, 255, 0.3);
  border-radius: 24px;
  padding: 4rem 3rem;
  box-shadow: var(--shadow-card), 0 0 60px rgba(170, 0, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(224,64,251,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-box::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 150px; height: 150px;
  background: radial-gradient(circle, rgba(170,0,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.cta-title span {
  background: var(--gradient-crystal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

/* ── Footer ── */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--surface-border);
  padding: 2.5rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  background: var(--bg-secondary);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-logo-mini {
  width: 24px; height: 24px;
  background: var(--gradient-crystal);
  clip-path: polygon(50% 0%, 85% 25%, 100% 65%, 65% 100%, 35% 100%, 0% 65%, 15% 25%);
}

.footer-name {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 700;
  background: var(--gradient-crystal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

/* ── Divider ── */
.crystal-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 2rem;
  position: relative;
  z-index: 1;
}

.crystal-divider::before,
.crystal-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--surface-border));
}

.crystal-divider::after {
  background: linear-gradient(90deg, var(--surface-border), transparent);
}

.divider-gem {
  width: 10px; height: 10px;
  background: var(--gradient-crystal);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  box-shadow: 0 0 10px var(--crystal-glow);
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  nav { padding: 0.85rem 1.25rem; }
  .nav-links { display: none; }
  .hero { padding: 3rem 1.25rem 5rem; }
  section { padding: 4rem 1.25rem; }
  .cta-box { padding: 3rem 1.5rem; }
  footer { flex-direction: column; text-align: center; }
  .version-range-visual { flex-direction: column; gap: 1rem; }
  .version-connector { width: 2px; height: 60px; writing-mode: unset; }
}
