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

:root {
  --cyan: #00f0ff;
  --purple: #a855f7;
  --dark: #0a0a0f;
  --text: #e0e0e8;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--dark);
  color: var(--text);
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

/* ── Background Canvas ── */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 50% 50%, transparent 0%, var(--dark) 70%);
  z-index: 1;
  pointer-events: none;
}

/* ── Hero ── */
.hero {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
  padding: 2rem;
}

.hero-content {
  animation: fadeUp 1s ease-out;
}

/* ── Glitch Title ── */
.glitch {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 800;
  letter-spacing: 3px;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  margin-bottom: 0.75rem;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.6;
}

.glitch::before {
  animation: glitch-shift 3s infinite;
  clip-path: inset(0 0 60% 0);
}

.glitch::after {
  animation: glitch-shift 3s infinite reverse;
  clip-path: inset(60% 0 0 0);
}

@keyframes glitch-shift {
  0%, 90%, 100% { transform: translate(0); }
  92% { transform: translate(-3px, 1px); }
  94% { transform: translate(3px, -1px); }
  96% { transform: translate(-2px, -1px); }
  98% { transform: translate(2px, 1px); }
}

/* ── Tagline ── */
.tagline {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  color: var(--cyan);
  letter-spacing: 4px;
  text-transform: uppercase;
  text-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
  animation: fadeUp 1s ease-out 0.2s both;
}

/* ── Footer ── */
.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 2;
  text-align: center;
  padding: 1.5rem;
  color: rgba(107, 107, 128, 0.6);
  font-size: 0.75rem;
}

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