:root {
  --bg-1: #09070f;
  --bg-2: #130d1f;
  --bg-3: #26153a;
  --accent: #8b5cf6;
  --accent-2: #22d3ee;
  --text: #ece6ff;
  --muted: #c7b8f0;
  --glass: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.2);
  --shadow: 0 20px 50px rgba(8, 5, 20, 0.55);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at 15% 15%, #2f1760 0%, var(--bg-2) 28%, var(--bg-1) 100%);
  color: var(--text);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

body.loading {
  overflow: hidden;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  gap: 1rem;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(circle at 50% 35%, #1a1130, #040309 72%);
  transition: opacity 700ms ease, visibility 700ms ease;
}

.site-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.site-loader::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 42%, rgba(8, 5, 20, 0.08), rgba(8, 5, 20, 0.72) 74%);
  pointer-events: none;
  z-index: 1;
}

.loader-smoke {
  position: absolute;
  z-index: 2;
  width: min(54vw, 620px);
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(35px);
  opacity: 0;
}

.loader-smoke-a {
  background: radial-gradient(circle, #6d28d95e, transparent 62%);
  animation: smokeRise 2.7s ease-out infinite;
}

.loader-smoke-b {
  background: radial-gradient(circle, #0891b24d, transparent 64%);
  animation: smokeRise 3.1s ease-out 380ms infinite;
}

.loader-smoke-c {
  background: radial-gradient(circle, #4c1d954f, transparent 66%);
  animation: smokeRise 3.4s ease-out 180ms infinite;
}

.loader-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: videoDematerialize 4s ease-out forwards;
}

.loader-text {
  position: relative;
  z-index: 3;
  margin-top: min(56vh, 620px);
  font-family: "Cinzel", Georgia, serif;
  letter-spacing: 0.08em;
  color: #d6c9ff;
  text-transform: uppercase;
  font-size: 0.9rem;
  opacity: 0.9;
  animation: textPulse 2.2s ease-in-out infinite;
}

.stars,
.mist {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.stars {
  background-image: radial-gradient(2px 2px at 20px 30px, #ffffffad, transparent),
    radial-gradient(1px 1px at 40px 70px, #ffffff8f, transparent),
    radial-gradient(2px 2px at 140px 120px, #c9b7ff, transparent),
    radial-gradient(1px 1px at 280px 180px, #ffffff87, transparent);
  background-size: 320px 220px;
  animation: drift 24s linear infinite;
  opacity: 0.55;
}

.mist {
  filter: blur(50px);
}

.mist-a {
  background: radial-gradient(circle at 25% 20%, #7c3aed3d, transparent 48%);
  animation: pulse 12s ease-in-out infinite;
}

.mist-b {
  background: radial-gradient(circle at 80% 75%, #06b6d43b, transparent 44%);
  animation: pulse 16s ease-in-out infinite reverse;
}

.site-header,
main,
.site-footer {
  width: min(1080px, 92vw);
  margin-inline: auto;
}

.site-shell {
  opacity: 0;
  transform: translateY(16px) scale(0.987);
  filter: blur(10px);
  transition: opacity 920ms ease, transform 920ms ease, filter 920ms ease;
}

body.site-revealed .site-shell {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.reveal-item {
  opacity: 0;
  transform: translateY(14px);
  filter: blur(8px);
}

body.site-revealed.content-revealed .reveal-item {
  animation: staggerReveal 650ms ease forwards;
  animation-delay: var(--reveal-delay, 0ms);
}

.site-header {
  text-align: center;
  padding: 4rem 1rem 2.4rem;
}

.brand-crown {
  display: block;
  width: clamp(72px, 12vw, 140px);
  height: auto;
  margin: 0 auto;
  opacity: 0;
  filter: drop-shadow(0 0 18px rgba(139, 92, 246, 0.4));
  animation: crownMaterialize 1.5s ease-out forwards, crownPulse 4.8s ease-in-out 1.5s infinite;
}

.eyebrow {
  margin: 1rem 0 0;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.7rem;
}

h1,
h2 {
  font-family: "Cinzel", Georgia, serif;
  margin: 0;
  letter-spacing: 0.04em;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 5rem);
  text-shadow: 0 0 18px rgba(139, 92, 246, 0.45);
}

.tagline {
  margin: 0.8rem auto 1.3rem;
  max-width: 60ch;
  color: var(--muted);
}

.cta-button {
  display: inline-block;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(120deg, #7c3aed, #0891b2);
  box-shadow: 0 10px 24px #4c1d95a8;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.cta-button:hover,
.cta-button:focus-visible {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 28px #4c1d95cc;
}

.stream-feed {
  width: min(1080px, 92vw);
  margin: 0 auto 1.2rem;
  padding: 1rem;
  border-radius: 18px;
}

.stream-feed-header p {
  margin: 0.3rem 0 0.8rem;
  color: var(--muted);
}

.stream-frame-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(7, 7, 20, 0.85);
  aspect-ratio: 16 / 9;
}

.stream-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.spotlight {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
}

.card {
  padding: 1.3rem;
  border-radius: 18px;
}

.glass {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04));
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.vibe-list {
  padding-left: 1.2rem;
  margin-bottom: 0;
}

.status-pill {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-size: 0.92rem;
}

.dot {
  width: 0.65rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #facc15;
  box-shadow: 0 0 0 0 #facc15;
  animation: ping 1.8s infinite;
}

.socials {
  margin: 2.4rem 0;
  text-align: center;
}

.social-intro {
  margin-top: 0.4rem;
  color: var(--muted);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  text-decoration: none;
  color: inherit;
  padding: 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(7, 7, 20, 0.7);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-4px);
  border-color: #a78bfa;
  background: rgba(28, 18, 52, 0.85);
}

.platform {
  display: block;
  font-weight: 700;
}

.handle {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  text-align: center;
  padding: 0.5rem 1rem 2rem;
  color: var(--muted);
}

@keyframes drift {
  from { transform: translateY(0); }
  to { transform: translateY(220px); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 1; }
}

@keyframes ping {
  0% { box-shadow: 0 0 0 0 #facc1599; }
  65% { box-shadow: 0 0 0 8px #facc1500; }
  100% { box-shadow: 0 0 0 0 #facc1500; }
}

@keyframes smokeRise {
  0% {
    transform: translateY(24px) scale(0.78);
    opacity: 0;
  }
  35% { opacity: 0.42; }
  100% {
    transform: translateY(-55px) scale(1.16);
    opacity: 0;
  }
}

@keyframes videoDematerialize {
  0%, 45% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0) saturate(1.06);
  }
  100% {
    opacity: 0;
    transform: scale(1.08);
    filter: blur(20px) saturate(0.8);
  }
}

@keyframes crownMaterialize {
  0% {
    opacity: 0;
    transform: translateY(-8px) scale(0.94);
    filter: blur(6px) drop-shadow(0 0 0 rgba(139, 92, 246, 0));
  }
  100% {
    opacity: 0.75;
    transform: translateY(0) scale(1);
    filter: blur(0) drop-shadow(0 0 18px rgba(139, 92, 246, 0.4));
  }
}

@keyframes crownPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.75; }
}

@keyframes textPulse {
  0%, 100% { opacity: 0.48; }
  50% { opacity: 1; }
}

@keyframes staggerReveal {
  from {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@media (max-width: 900px) {
  .spotlight {
    grid-template-columns: 1fr;
  }

  .social-grid {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-top: 2.8rem;
  }

  .tagline {
    font-size: 0.96rem;
  }

  .social-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .social-link,
  .stream-feed {
    padding: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stars,
  .mist-a,
  .mist-b,
  .dot,
  .loader-smoke,
  .loader-video,
  .loader-text,
  .brand-crown {
    animation: none;
  }

  .brand-crown {
    opacity: 0.75;
  }

  .site-loader,
  .site-shell,
  .reveal-item {
    transition-duration: 0ms;
    animation: none;
  }

  .site-shell,
  .reveal-item,
  body.site-revealed.content-revealed .reveal-item {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
