:root {
  --black: #060608;
  --purple: #9b30ff;
  --purple-glow: rgba(155, 48, 255, 0.55);
  --red: #ff2d3d;
  --red-glow: rgba(255, 45, 61, 0.55);
  --pink: #ff5fb0;
  --pink-glow: rgba(255, 95, 176, 0.6);
  --ash: #6b6b76;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  min-height: 100vh;
  background: var(--black);
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: "Rajdhani", sans-serif;
  color: #e8e8ec;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.stage {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8vh 6vw;
}

.title {
  font-family: "Cinzel Decorative", serif;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.line {
  display: block;
}

.line-1 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5ch;
  font-weight: 700;
  font-size: clamp(1.4rem, 4.2vw, 3.1rem);
}

.half {
  animation: flicker-in 1.4s ease-out both;
}

.half-purple {
  color: var(--purple);
  text-shadow:
    0 0 12px var(--purple-glow),
    0 0 34px var(--purple-glow),
    0 0 70px rgba(155, 48, 255, 0.25);
}

.half-red {
  color: var(--red);
  text-shadow:
    0 0 12px var(--red-glow),
    0 0 34px var(--red-glow),
    0 0 70px rgba(255, 45, 61, 0.25);
  animation-delay: 0.18s;
}

.name {
  margin-top: 0.28em;
  font-weight: 900;
  font-size: clamp(2.4rem, 8vw, 6.2rem);
  background: linear-gradient(92deg, var(--purple) 0%, var(--purple) 42%, var(--red) 58%, var(--red) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 26px rgba(255, 45, 61, 0.22)) drop-shadow(0 0 26px rgba(155, 48, 255, 0.22));
  animation: flicker-in 1.4s ease-out 0.32s both, breathe 5s ease-in-out 1.8s infinite;
}

.divider {
  width: min(70vw, 420px);
  height: 1px;
  margin: 4.2vh 0;
  background: linear-gradient(90deg, transparent, var(--ash), transparent);
  position: relative;
}

.divider::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 10px 2px var(--pink-glow);
  transform: translate(-50%, -50%);
}

.tagline {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  letter-spacing: 0.38em;
  font-size: clamp(0.85rem, 2vw, 1.35rem);
  color: var(--pink);
  text-shadow: 0 0 14px var(--pink-glow), 0 0 44px rgba(255, 95, 176, 0.3);
  animation: flicker-in 1.6s ease-out 0.62s both, breathe 5s ease-in-out 2.4s infinite;
}

@keyframes flicker-in {
  0% { opacity: 0; filter: brightness(2.4) blur(6px); transform: translateY(6px); }
  8% { opacity: 1; }
  16% { opacity: 0.2; }
  24% { opacity: 1; filter: brightness(1.6) blur(1px); }
  40% { opacity: 0.55; }
  55% { opacity: 1; filter: brightness(1) blur(0); transform: translateY(0); }
  100% { opacity: 1; filter: brightness(1) blur(0); transform: translateY(0); }
}

@keyframes breathe {
  0%, 100% { filter: drop-shadow(0 0 18px rgba(255, 45, 61, 0.18)) drop-shadow(0 0 18px rgba(155, 48, 255, 0.18)); }
  50% { filter: drop-shadow(0 0 34px rgba(255, 45, 61, 0.32)) drop-shadow(0 0 34px rgba(155, 48, 255, 0.32)); }
}

@media (prefers-reduced-motion: reduce) {
  .half, .name, .tagline {
    animation: none !important;
    opacity: 1;
  }
}
