/* ============================================
   Void & Light — Abstract Aesthetic Page
   ============================================ */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-deep: #06060e;
  --bg-mid: #0c0c1d;
  --accent-1: #7c5bf5;
  --accent-2: #c84bfa;
  --accent-3: #2dd4bf;
  --accent-4: #f472b6;
  --text-primary: #f0eef6;
  --text-secondary: rgba(240, 238, 246, 0.5);
  --text-tertiary: rgba(240, 238, 246, 0.25);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.06);
  --font-display: 'Syne', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
}

html, body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-primary);
  position: relative;
}

/* ---- Canvas ---- */
#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ---- Scene Elements ---- */
.scene {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

/* Orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-1), transparent 70%);
  top: -10%;
  left: -5%;
  animation-delay: 0s;
  animation-duration: 22s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-2), transparent 70%);
  bottom: -15%;
  right: -5%;
  animation-delay: -5s;
  animation-duration: 25s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--accent-3), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -10s;
  animation-duration: 18s;
}

.orb-4 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--accent-4), transparent 70%);
  top: 20%;
  right: 15%;
  animation-delay: -8s;
  animation-duration: 20s;
}

.orb-5 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, #6366f1, transparent 70%);
  bottom: 10%;
  left: 20%;
  animation-delay: -3s;
  animation-duration: 24s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(40px, -30px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(30px, 40px) scale(1.02); }
}

/* Rings */
.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.04);
  top: 50%;
  left: 50%;
}

.ring-1 {
  width: 600px;
  height: 600px;
  transform: translate(-50%, -50%);
  animation: ringRotate 40s linear infinite;
}

.ring-2 {
  width: 450px;
  height: 450px;
  transform: translate(-50%, -50%);
  animation: ringRotate 30s linear infinite reverse;
  border-color: rgba(124, 91, 245, 0.08);
}

.ring-3 {
  width: 300px;
  height: 300px;
  transform: translate(-50%, -50%);
  animation: ringRotate 20s linear infinite;
  border-color: rgba(200, 75, 250, 0.06);
}

.ring::after {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-1);
  box-shadow: 0 0 12px var(--accent-1);
}

.ring-2::after {
  background: var(--accent-3);
  box-shadow: 0 0 12px var(--accent-3);
}

.ring-3::after {
  background: var(--accent-4);
  box-shadow: 0 0 12px var(--accent-4);
}

@keyframes ringRotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Grid */
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black, transparent);
}

/* ---- Content ---- */
.content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  text-align: center;
  padding: 2rem;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  font-size: 0.8rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease forwards;
  animation-delay: 0.3s;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-3);
  box-shadow: 0 0 8px var(--accent-3);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* Title */
.title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 10vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.title-line {
  display: block;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeSlideUp 0.8s ease forwards;
}

.title-line[data-delay="0"] { animation-delay: 0.5s; }
.title-line[data-delay="1"] { animation-delay: 0.7s; }
.title-line[data-delay="2"] { animation-delay: 0.9s; }

.title-line.accent {
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2), var(--accent-4));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Subtitle */
.subtitle {
  max-width: 540px;
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease forwards;
  animation-delay: 1.1s;
}

/* Stats */
.stats-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease forwards;
  animation-delay: 1.5s;
}

.stat {
  text-align: center;
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 30px;
  background: var(--glass-border);
}

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2.5rem;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 0.2s;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* ---- Scroll Hint ---- */
.scroll-hint {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 2s;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent-1), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ---- Corner Decorations ---- */
.corner-deco {
  position: fixed;
  width: 40px;
  height: 40px;
  z-index: 10;
  opacity: 0.15;
}

.corner-deco::before,
.corner-deco::after {
  content: '';
  position: absolute;
  background: var(--text-primary);
}

.corner-tl { top: 1.5rem; left: 1.5rem; }
.corner-tl::before { top: 0; left: 0; width: 20px; height: 1px; }
.corner-tl::after { top: 0; left: 0; width: 1px; height: 20px; }

.corner-tr { top: 1.5rem; right: 1.5rem; }
.corner-tr::before { top: 0; right: 0; width: 20px; height: 1px; }
.corner-tr::after { top: 0; right: 0; width: 1px; height: 20px; }

.corner-bl { bottom: 1.5rem; left: 1.5rem; }
.corner-bl::before { bottom: 0; left: 0; width: 20px; height: 1px; }
.corner-bl::after { bottom: 0; left: 0; width: 1px; height: 20px; }

.corner-br { bottom: 1.5rem; right: 1.5rem; }
.corner-br::before { bottom: 0; right: 0; width: 20px; height: 1px; }
.corner-br::after { bottom: 0; right: 0; width: 1px; height: 20px; }

/* ---- Cursor Glow ---- */
#cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 91, 245, 0.08), transparent 70%);
  pointer-events: none;
  z-index: 2;
  transform: translate(-50%, -50%);
  transition: left 0.15s ease, top 0.15s ease;
  display: none;
}

/* ---- Mobile Responsive ---- */
@media (max-width: 768px) {
  .nav {
    padding: 1rem 1.5rem;
  }

  .orb {
    filter: blur(60px);
    opacity: 0.3;
  }

  .orb-1 { width: 300px; height: 300px; }
  .orb-2 { width: 250px; height: 250px; }
  .orb-3 { width: 180px; height: 180px; }
  .orb-4 { width: 120px; height: 120px; }
  .orb-5 { width: 200px; height: 200px; }

  .ring-1 { width: 350px; height: 350px; }
  .ring-2 { width: 260px; height: 260px; }
  .ring-3 { width: 180px; height: 180px; }

  .badge {
    font-size: 0.7rem;
    margin-bottom: 1.5rem;
  }

  .subtitle {
    max-width: 90%;
    font-size: 0.85rem;
    margin-bottom: 2rem;
  }

  .stats-row {
    gap: 1.2rem;
  }

  .stat-value {
    font-size: 1.2rem;
  }

  .corner-deco {
    display: none;
  }

  .scroll-hint {
    bottom: 1rem;
  }

  #cursor-glow {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .stats-row {
    gap: 1rem;
  }

  .stat-value {
    font-size: 1rem;
  }

  .stat-label {
    font-size: 0.65rem;
  }
}
