/* ===== NEBEMI colors — edit here to change the look ===== */
:root {
  --bg: #0b0716;
  --line: #2e1f55;
  --text: #fff8f0;
  --muted: #a99cc9;
  --purple: #a855f7;
  --pink: #f472b6;
  --yellow: #facc15;
  --pixel: "Press Start 2P", monospace;
  --display: "Unbounded", "Segoe UI", system-ui, sans-serif;
  --font: "Sora", "Segoe UI", system-ui, sans-serif;
}

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

/* One screen, no scrolling */
html, body { height: 100%; overflow: hidden; }
body {
  display: flex; flex-direction: column;
  height: 100vh; height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--purple); color: var(--text); }

/* ===== Background: stars + shooting stars + soft color glow ===== */
#sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; }
.glow {
  position: fixed; inset: 0; z-index: -3;
  background:
    radial-gradient(ellipse 55% 40% at 15% 20%, rgba(168, 85, 247, .20), transparent 70%),
    radial-gradient(ellipse 50% 40% at 85% 30%, rgba(244, 114, 182, .14), transparent 70%),
    radial-gradient(ellipse 70% 45% at 50% 105%, rgba(124, 58, 237, .32), transparent 70%),
    var(--bg);
}

/* ===== Center screen ===== */
.screen {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 24px 16px;
  text-align: center;
  min-height: 0;
}
.logo {
  display: flex; flex-direction: column; align-items: center;
  animation: rise 1.2s cubic-bezier(.2, .8, .2, 1) both;
}
.logo-mark {
  width: clamp(110px, min(22vw, 24vh), 210px); height: auto;
  margin-bottom: clamp(8px, 2vh, 18px);
  filter: drop-shadow(0 0 36px rgba(168, 85, 247, .45));
  animation: float 6s ease-in-out infinite;
}
.logo-word {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(46px, min(13vw, 15vh), 140px);
  line-height: 1;
  letter-spacing: .02em;
  transform: skewX(-8deg);
  text-shadow: -4px 0 0 var(--purple), 4px 0 0 var(--pink);
}
.tagline {
  margin-top: clamp(20px, 4vh, 40px);
  font-size: clamp(15px, 2vw, 20px);
  color: var(--muted);
  animation: rise 1.2s .25s both;
}

/* ===== PRESS START ===== */
.press-start {
  margin-top: clamp(28px, 6vh, 56px);
  padding: 12px 16px;
  font-family: var(--pixel); font-size: clamp(11px, 1.6vw, 15px);
  color: var(--yellow);
  background: none; border: 0; cursor: pointer;
  letter-spacing: 2px;
  text-shadow: 0 0 18px rgba(250, 204, 21, .45);
  animation: blink 1.2s steps(1) infinite;
}
.press-start span { font-size: .8em; }
.press-start:hover, .press-start:focus-visible { animation: none; outline: none; color: #fff; }
.press-start.pressed { animation: none; color: var(--pink); text-shadow: 0 0 18px rgba(244, 114, 182, .6); }

@keyframes blink { 50% { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px) scale(.97); } }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ===== Bottom bar ===== */
.bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px clamp(16px, 6vw, 96px);
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: 13px;
}
.socials { display: flex; gap: 20px; }
.socials a { width: 20px; height: 20px; color: var(--muted); transition: color .15s, transform .15s; }
.socials a:hover { color: var(--text); transform: translateY(-2px); }
.socials svg { width: 100%; height: 100%; }

@media (max-width: 600px) {
  .logo-word { text-shadow: -3px 0 0 var(--purple), 3px 0 0 var(--pink); }
  .socials { gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
