:root {
  --bg: #050917;
  --panel: rgba(10, 14, 29, 0.72);
  --border: rgba(255,255,255,0.10);
  --text: #f3f6ff;
  --muted: #9da8c8;
  --accent: #5f84ff;
  --accent-2: #8fb1ff;
  --shadow: 0 30px 80px rgba(0,0,0,0.45);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  background:
    radial-gradient(circle at 15% 20%, rgba(95,132,255,0.24), transparent 24%),
    radial-gradient(circle at 82% 15%, rgba(143,177,255,0.16), transparent 18%),
    radial-gradient(circle at 45% 85%, rgba(95,132,255,0.12), transparent 28%),
    linear-gradient(180deg, #071020 0%, #050917 100%);
  overflow-x: hidden;
}
body.enter-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.enter-screen {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: opacity .6s ease, visibility .6s ease;
}
.enter-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.enter-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(95,132,255,0.18), transparent 35%),
    linear-gradient(180deg, rgba(2,6,16,0.92), rgba(4,7,19,0.98));
  backdrop-filter: blur(14px);
}
.enter-card {
  position: relative;
  width: min(540px, calc(100% - 28px));
  padding: 34px;
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,0.10);
  background: linear-gradient(180deg, rgba(14,18,36,.92), rgba(8,12,24,.98));
  box-shadow: 0 30px 100px rgba(0,0,0,0.48);
  text-align: center;
}
.enter-logo-wrap {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
}
.enter-logo-glow {
  position: absolute;
  inset: 10%;
  border-radius: 28%;
  background: radial-gradient(circle, rgba(95,132,255,0.52), rgba(95,132,255,0.12) 45%, transparent 72%);
  filter: blur(22px);
  animation: pulse 4s ease-in-out infinite;
}
.enter-logo {
  position: relative;
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 24px 60px rgba(95,132,255,0.28);
}
.enter-eyebrow {
  display: inline-block;
  color: var(--accent-2);
  letter-spacing: .22em;
  font-size: .76rem;
}
.enter-card h1 {
  margin: 14px 0 10px;
  font-size: clamp(2.8rem, 9vw, 4.6rem);
  letter-spacing: -.07em;
}
.enter-card p { color: var(--muted); line-height: 1.8; }
.enter-btn {
  margin-top: 18px;
  padding: 16px 26px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #88a8ff);
  color: #081120;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease;
}
.enter-btn:hover { transform: translateY(-2px); }

.music-hud {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  width: min(350px, calc(100% - 28px));
  padding: 16px;
  border-radius: 26px;
  border: 1px solid rgba(95,132,255,0.20);
  background: linear-gradient(180deg, rgba(14,18,36,.90), rgba(8,12,24,.95));
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 70px rgba(0,0,0,0.45);
}
.hud-brand {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  align-items: center;
}
.hud-brand img {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(95,132,255,0.26);
}
.hud-brand span {
  display: block;
  color: var(--accent-2);
  font-size: .72rem;
  letter-spacing: .18em;
  margin-bottom: 4px;
}
.hud-brand strong {
  display: block;
  font-size: .96rem;
  line-height: 1.4;
}
.hud-controls {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.hud-btn {
  flex: 1;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  border-radius: 16px;
  padding: 12px;
  cursor: pointer;
}
.hud-btn-primary {
  background: linear-gradient(135deg, var(--accent), #88a8ff);
  color: #081120;
  font-weight: 800;
}
.hud-bottom {
  display: grid;
  grid-template-columns: 1fr 42px;
  gap: 10px;
  margin-top: 12px;
  align-items: center;
}
.hud-bottom input { width: 100%; accent-color: var(--accent); }
.hud-min-btn, .hud-open {
  border: 1px solid var(--border);
  background: rgba(14,18,36,.92);
  color: var(--text);
  cursor: pointer;
}
.hud-min-btn {
  width: 42px;
  height: 42px;
  border-radius: 14px;
}
.hud-open {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 79;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.34);
}
.hidden { display: none !important; }

.noise {
  position: fixed; inset: 0; pointer-events: none; opacity: 0.05;
  background-image: radial-gradient(rgba(255,255,255,0.85) 0.8px, transparent 0.8px);
  background-size: 14px 14px;
}
.bg-grid {
  position: fixed; inset: 0; pointer-events: none; opacity: 0.06;
  background-image: linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 88%);
}
.orb {
  position: fixed; border-radius: 50%; filter: blur(90px); pointer-events: none;
  animation: float 16s ease-in-out infinite;
}
.orb-a { width: 260px; height: 260px; background: rgba(95,132,255,0.30); top: 0; left: -4%; }
.orb-b { width: 220px; height: 220px; background: rgba(124,168,255,0.16); right: 0; top: 35%; animation-delay: -5s; }
.orb-c { width: 180px; height: 180px; background: rgba(90,120,255,0.14); left: 40%; bottom: 4%; animation-delay: -9s; }

.topbar {
  width: min(1180px, calc(100% - 28px));
  margin: 18px auto 0;
  padding: 14px 18px;
  position: sticky;
  top: 16px;
  z-index: 30;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(8,12,24,0.72);
  border: 1px solid var(--border);
  border-radius: 22px;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: 0.18em; font-size: .84rem; }
.brand img { width: 40px; height: 40px; border-radius: 14px; box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 16px 30px rgba(95,132,255,0.28); }
.topbar nav { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar nav a { color: var(--muted); transition: .18s ease; }
.topbar nav a:hover { color: var(--text); }

.shell {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 24px 0 100px;
  position: relative;
  z-index: 2;
}
.hero, .panel, .link-card {
  background: linear-gradient(180deg, rgba(14,18,36,.86), rgba(8,12,24,.93));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}
.hero {
  margin-top: 22px;
  min-height: 760px;
  border-radius: 34px;
  padding: 42px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 26px;
  overflow: hidden;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -110px;
  top: -120px;
  background: radial-gradient(circle, rgba(95,132,255,0.25), transparent 62%);
}
.eyebrow, .tag {
  display: inline-block;
  color: var(--accent-2);
  font-size: .78rem;
  letter-spacing: .20em;
}
.hero-copy { display: flex; flex-direction: column; justify-content: center; }
.hero h1 {
  margin: 14px 0 18px;
  font-size: clamp(4rem, 9vw, 7.5rem);
  line-height: .88;
  letter-spacing: -.08em;
}
.hero p {
  max-width: 650px;
  color: var(--muted);
  line-height: 1.9;
  font-size: 1.07rem;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 22px; border-radius: 999px; font-weight: 800;
  transition: transform .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--accent), #88a8ff); color: #081120; }
.btn-secondary { border: 1px solid var(--border); }

.status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
  margin-top: 34px;
}
.mini-card {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
}
.mini-card strong { display: block; margin-bottom: 8px; }
.mini-card span { color: var(--muted); font-size: .95rem; line-height: 1.55; }

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 540px;
}
.logo-wrap {
  position: relative;
  width: min(430px, 78%);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}
.logo-glow {
  position: absolute;
  inset: 10%;
  border-radius: 30%;
  background: radial-gradient(circle, rgba(95,132,255,0.52), rgba(95,132,255,0.12) 45%, transparent 70%);
  filter: blur(28px);
  animation: pulse 4s ease-in-out infinite;
}
.hero-logo {
  position: relative;
  width: 100%;
  max-width: 430px;
  border-radius: 36px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 38px 90px rgba(95,132,255,0.34);
  animation: float 8s ease-in-out infinite;
}
.floating-card {
  position: absolute;
  max-width: 270px;
  padding: 18px 18px 16px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: rgba(10,14,29,0.82);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.floating-card span { display: block; color: var(--accent-2); font-size: .74rem; letter-spacing: .18em; margin-bottom: 8px; }
.floating-card strong { display: block; margin-bottom: 8px; font-size: 1.02rem; }
.floating-card p { margin: 0; color: var(--muted); line-height: 1.7; font-size: .95rem; }
.card-one { top: 9%; right: 0; animation: bob 7s ease-in-out infinite; }
.card-two { left: 2%; bottom: 10%; animation: bob 8s ease-in-out infinite reverse; }

.about-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
}
.about-main, .about-side, .stat-card {
  border-radius: 30px;
  padding: 30px;
}
.about-main h2, .section-head h2 {
  margin: 14px 0 12px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: -.06em;
}
.about-main p, .section-head p {
  color: var(--muted);
  line-height: 1.85;
}
.about-side {
  display: grid;
  gap: 12px;
  align-content: center;
}
.about-side span {
  color: var(--accent-2);
  letter-spacing: .2em;
  font-size: .76rem;
}
.about-side a {
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  color: var(--muted);
  transition: .18s ease;
}
.about-side a:hover { color: var(--text); transform: translateX(6px); border-color: rgba(95,132,255,0.28); }

.stats-section {
  margin-top: 34px;
}
.section-head {
  margin-bottom: 18px;
}
.stats-grid, .link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}
.stat-card strong {
  display: block;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  letter-spacing: -.07em;
  line-height: .9;
}
.stat-card span {
  display: block;
  color: var(--accent-2);
  margin: 14px 0 8px;
  font-weight: 800;
}
.stat-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}
.link-grid { margin-top: 34px; }
.link-card { border-radius: 28px; padding: 26px; transition: transform .18s ease, border-color .18s ease; }
.link-card:hover { transform: translateY(-6px); border-color: rgba(95,132,255,0.34); }
.link-card h2 { margin: 14px 0 10px; font-size: 1.45rem; }
.link-card p { margin: 0; color: var(--muted); line-height: 1.8; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes float { 0%,100% { transform: translateY(0px); } 50% { transform: translateY(-18px); } }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.08); opacity: 1; } }
@keyframes bob { 0%,100% { transform: translateY(0px); } 50% { transform: translateY(-10px); } }

@media (max-width: 980px) {
  .hero, .about-grid, .stats-grid, .link-grid, .status-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-visual { min-height: 460px; }
}
@media (max-width: 760px) {
  .topbar nav { display: none; }
  .hero { padding: 24px; }
  .hero h1 { font-size: clamp(3.2rem, 16vw, 5rem); }
  .floating-card { position: static; margin-top: 12px; max-width: none; }
  .hero-visual { display: block; min-height: auto; }
  .logo-wrap { width: min(100%, 320px); margin: 0 auto 18px; }
  .about-main, .about-side, .stat-card { padding: 24px; }
  .music-hud { left: 14px; right: 14px; width: auto; bottom: 14px; }
  .hud-open { right: 14px; bottom: 14px; }
}


.systems-section {
  margin-top: 34px;
}
.systems-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}
.system-card {
  border-radius: 30px;
  padding: 30px;
}
.system-card h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}
.system-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}
@media (max-width: 980px) {
  .systems-grid { grid-template-columns: 1fr; }
}


/* Navbar typewriter */
.typewriter {
  display: inline-block;
  min-width: 96px;
  color: var(--text);
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

.typewriter::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 3px;
  background: var(--accent-2);
  transform: translateY(2px);
  animation: cursorBlink .8s steps(2, start) infinite;
}

@keyframes cursorBlink {
  0%, 45% { opacity: 1; }
  46%, 100% { opacity: 0; }
}


/* removed stats */
.stats-section {
  display: none !important;
}

/* enter screen name row */
.enter-name {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
}

.enter-name img {
  width: 28px;
  height: 28px;
  border-radius: 9px;
}

.enter-typewriter {
  min-width: 96px;
  text-align: left;
}

/* slightly less stiff wording/layout feel */
.hero p,
.about-main p,
.mini-card span,
.link-card p {
  font-weight: 500;
}
