@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  color-scheme: dark;
  --bg: #070a12;
  --panel: rgba(15, 19, 31, .82);
  --panel-deep: rgba(9, 12, 21, .9);
  --line: rgba(179, 195, 255, .12);
  --line-bright: rgba(179, 195, 255, .24);
  --text: #f5f7ff;
  --muted: #8b94aa;
  --cyan: #5ff6e8;
  --violet: #9f7cff;
  --pink: #ff5fb2;
  --orange: #ff9b58;
  --red: #ff5d64;
  --green: #73e89f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: "DM Sans", "Segoe UI", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -5;
  background:
    radial-gradient(circle at 12% 8%, rgba(82, 64, 177, .2), transparent 31%),
    radial-gradient(circle at 85% 30%, rgba(21, 133, 154, .15), transparent 28%),
    linear-gradient(145deg, #090c17, #060811 62%, #090d16);
  content: "";
}

a { color: inherit; }

#network { position: fixed; inset: 0; z-index: -3; width: 100%; height: 100%; opacity: .5; pointer-events: none; }

.noise {
  position: fixed;
  inset: 0;
  z-index: 30;
  opacity: .035;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(37deg, rgba(255,255,255,.4) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(113deg, rgba(255,255,255,.25) 0 1px, transparent 1px 5px);
  background-size: 7px 9px, 11px 13px;
}

.aurora { position: fixed; z-index: -4; width: 42rem; height: 42rem; border-radius: 50%; filter: blur(140px); opacity: .12; pointer-events: none; }
.aurora-a { top: -24rem; right: -8rem; background: var(--cyan); animation: auroraA 18s ease-in-out infinite alternate; }
.aurora-b { bottom: -28rem; left: -10rem; background: var(--violet); animation: auroraB 22s ease-in-out infinite alternate; }

.page-shell { width: min(1320px, calc(100% - 52px)); margin: 0 auto; }

.topbar {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  animation: topbarIn .7s cubic-bezier(.16,1,.3,1) both;
}

.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; }
.brand-symbol { position: relative; display: grid; width: 40px; height: 40px; place-items: center; transform: rotate(45deg); }
.brand-symbol::before, .brand-symbol::after, .brand-symbol i { position: absolute; border: 1px solid var(--cyan); content: ""; }
.brand-symbol::before { inset: 4px; opacity: .38; animation: logoSpin 12s linear infinite; }
.brand-symbol::after { inset: 10px; background: var(--cyan); border: 0; box-shadow: 0 0 24px rgba(95,246,232,.65); }
.brand-symbol i:nth-child(1) { width: 2px; height: 48px; border: 0; background: linear-gradient(transparent, var(--cyan), transparent); }
.brand-symbol i:nth-child(2) { width: 48px; height: 2px; border: 0; background: linear-gradient(90deg, transparent, var(--cyan), transparent); }
.brand-symbol i:nth-child(3) { inset: 0; border-color: rgba(95,246,232,.12); animation: logoSpin 18s linear infinite reverse; }

.brand-text { display: flex; align-items: baseline; font: 700 .97rem/1 "Space Grotesk", sans-serif; letter-spacing: .07em; }
.brand-text b { color: var(--cyan); }
.brand-text em { margin-left: 7px; color: #767f96; font-size: .64rem; font-style: normal; letter-spacing: .19em; }

.topbar-right { display: flex; align-items: center; gap: 26px; color: #818ba0; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.connection { display: flex; align-items: center; gap: 8px; }
.connection i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 13px var(--green); animation: pulse 2.2s ease-out infinite; }
#clock { min-width: 68px; color: #bdc5d6; font-family: "Space Grotesk", sans-serif; }

.hero { display: grid; min-height: 580px; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 40px; }
.hero-copy > * { animation: revealUp .85s cubic-bezier(.16,1,.3,1) both; }
.hero-copy h1 { animation-delay: .08s; }
.hero-copy .intro { animation-delay: .17s; }
.overline { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; color: var(--cyan); font-size: .7rem; font-weight: 700; letter-spacing: .2em; }
.overline span { display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid rgba(95,246,232,.28); border-radius: 50%; font-size: .58rem; }
.hero h1 { margin: 0; font: 600 clamp(4rem, 8vw, 7.5rem)/.87 "Space Grotesk", sans-serif; letter-spacing: -.07em; }
.hero h1 span { color: transparent; background: linear-gradient(100deg, var(--cyan), #9ed9ff 45%, var(--violet)); background-clip: text; -webkit-background-clip: text; }
.intro { max-width: 600px; margin: 32px 0 0; color: var(--muted); font-size: 1.05rem; line-height: 1.75; }

.hero-orbit { position: relative; justify-self: end; width: min(34vw, 390px); aspect-ratio: 1; animation: orbitReveal 1s .25s cubic-bezier(.16,1,.3,1) both; }
.orbit, .orbit-core { position: absolute; border-radius: 50%; }
.orbit { inset: 0; border: 1px solid rgba(154,168,215,.15); }
.orbit::before, .orbit::after { position: absolute; inset: 12%; border: 1px dashed rgba(95,246,232,.13); border-radius: 50%; content: ""; }
.orbit::after { inset: 30%; border-style: solid; border-color: rgba(159,124,255,.16); }
.orbit-one { animation: spin 20s linear infinite; }
.orbit-two { inset: 11%; border-color: transparent rgba(95,246,232,.35); animation: spin 13s linear infinite reverse; }
.orbit i { position: absolute; top: 48%; left: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 22px var(--cyan); }
.orbit-two i { top: 10%; left: 70%; width: 7px; height: 7px; background: var(--violet); box-shadow: 0 0 20px var(--violet); }
.orbit-core { inset: 32%; display: grid; place-content: center; text-align: center; border: 1px solid rgba(95,246,232,.25); background: radial-gradient(circle, rgba(95,246,232,.13), rgba(12,16,29,.88) 67%); box-shadow: 0 0 80px rgba(95,246,232,.08), inset 0 0 34px rgba(95,246,232,.06); }
.orbit-core span { color: var(--cyan); font: 700 clamp(1.5rem,4vw,2.7rem)/1 "Space Grotesk", sans-serif; letter-spacing: -.05em; }
.orbit-core small { margin-top: 7px; color: var(--green); font-size: .52rem; letter-spacing: .22em; }

.websites-panel { position: relative; padding: 34px; overflow: hidden; border: 1px solid var(--line-bright); border-radius: 26px; background: linear-gradient(145deg, rgba(17,22,36,.9), rgba(8,11,19,.86)); box-shadow: 0 35px 90px rgba(0,0,0,.32), inset 0 1px rgba(255,255,255,.04); animation: revealUp .85s .32s cubic-bezier(.16,1,.3,1) both; }
.websites-panel::before { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 20%, rgba(95,246,232,.025), transparent 65%); content: ""; }

.panel-topline { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.panel-title { display: flex; align-items: center; gap: 15px; }
.panel-icon { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(95,246,232,.22); border-radius: 13px; color: var(--cyan); background: rgba(95,246,232,.06); font: 700 .85rem/1 "Space Grotesk", sans-serif; }
.panel-title p, .category-header p { margin: 0 0 5px; color: #707a90; font-size: .58rem; font-weight: 700; letter-spacing: .18em; }
.panel-title h2 { margin: 0; font: 600 2rem/1 "Space Grotesk", sans-serif; letter-spacing: -.04em; }
.panel-meta { display: flex; align-items: center; gap: 14px; color: #707a90; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.panel-meta b { padding: 6px 9px; border: 1px solid rgba(115,232,159,.23); border-radius: 6px; color: var(--green); background: rgba(115,232,159,.05); font-size: .57rem; }

.category-grid { display: grid; grid-template-columns: 1.15fr .85fr 1fr; gap: 16px; padding-top: 18px; }
.category { min-width: 0; padding: 19px; border: 1px solid var(--line); border-radius: 18px; background: rgba(6,9,16,.48); }
.category-header { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; margin-bottom: 16px; }
.category-index { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid var(--line-bright); border-radius: 9px; color: #9ea7bb; font: 600 .7rem/1 "Space Grotesk", sans-serif; }
.category-header h3 { margin: 0; font: 600 1.18rem/1 "Space Grotesk", sans-serif; letter-spacing: -.025em; }
.category-total { color: #596277; font: 600 .7rem/1 "Space Grotesk", sans-serif; }
.link-stack { display: grid; gap: 10px; }

.launch-card { --accent: var(--cyan); position: relative; display: grid; min-height: 96px; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; padding: 14px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: rgba(16,20,32,.8); text-decoration: none; transform-style: preserve-3d; transition: border-color .25s ease, background .25s ease, box-shadow .25s ease, transform .2s ease; }
.launch-card[data-accent="pink"] { --accent: var(--pink); }
.launch-card[data-accent="orange"] { --accent: var(--orange); }
.launch-card[data-accent="red"] { --accent: var(--red); }
.launch-card[data-accent="cyan"] { --accent: var(--cyan); }
.launch-card[data-accent="violet"] { --accent: var(--violet); }
.launch-card[data-accent="green"] { --accent: var(--green); }
.launch-card::before { position: absolute; inset: 0; background: radial-gradient(300px circle at var(--x,50%) var(--y,50%), color-mix(in srgb,var(--accent) 14%,transparent), transparent 55%); content: ""; opacity: 0; transition: opacity .25s ease; pointer-events: none; }
.launch-card:hover, .launch-card:focus-visible { z-index: 2; border-color: color-mix(in srgb,var(--accent) 48%,transparent); outline: none; background: rgba(21,26,41,.96); box-shadow: 0 15px 35px rgba(0,0,0,.28), 0 0 24px color-mix(in srgb,var(--accent) 7%,transparent); transform: perspective(700px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) translateY(-3px); }
.launch-card:hover::before, .launch-card:focus-visible::before { opacity: 1; }
.monogram { display: grid; width: 43px; height: 43px; place-items: center; border: 1px solid color-mix(in srgb,var(--accent) 28%,transparent); border-radius: 11px; color: var(--accent); background: color-mix(in srgb,var(--accent) 7%,transparent); font: 700 .76rem/1 "Space Grotesk", sans-serif; letter-spacing: .04em; transform: translateZ(16px); }
.launch-copy { display: flex; min-width: 0; flex-direction: column; gap: 5px; transform: translateZ(10px); }
.launch-copy strong { overflow: hidden; font: 600 .88rem/1.2 "Space Grotesk", sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.launch-copy small { overflow: hidden; color: #778197; font-size: .69rem; text-overflow: ellipsis; white-space: nowrap; }
.launch-action { align-self: end; color: #677086; font-size: .52rem; font-weight: 700; letter-spacing: .13em; transition: color .2s ease; }
.launch-action b { margin-left: 3px; color: var(--accent); font-size: .9rem; }
.launch-card:hover .launch-action { color: #bbc3d3; }

.featured { min-height: 116px; }
.category-visual { position: relative; min-height: 188px; overflow: hidden; border: 1px dashed rgba(95,246,232,.14); border-radius: 14px; background: linear-gradient(145deg, rgba(95,246,232,.035), transparent); }
.code-line { position: absolute; left: 17px; height: 3px; border-radius: 9px; background: linear-gradient(90deg, var(--cyan), transparent); opacity: .34; animation: codePulse 3s ease-in-out infinite; }
.line-a { top: 20px; width: 56%; }.line-b { top: 31px; width: 36%; animation-delay: .4s; }.line-c { top: 42px; width: 68%; animation-delay: .8s; }
.visual-label { position: absolute; right: 17px; bottom: 16px; left: 17px; display: flex; align-items: end; justify-content: space-between; }
.visual-label b { color: rgba(95,246,232,.45); font: 700 2.4rem/1 "Space Grotesk", sans-serif; letter-spacing: -.08em; }
.visual-label span, .visual-label em { color: #4f586b; font-size: .53rem; font-style: normal; font-weight: 700; letter-spacing: .14em; writing-mode: vertical-rl; }

.equalizer { display: flex; min-height: 86px; align-items: center; justify-content: center; gap: 5px; overflow: hidden; border: 1px dashed rgba(159,124,255,.14); border-radius: 14px; background: linear-gradient(90deg, rgba(159,124,255,.025), rgba(115,232,159,.025)); }
.equalizer i { width: 3px; height: 42%; border-radius: 5px; background: linear-gradient(var(--violet), var(--green)); opacity: .5; animation: equalize 1.1s ease-in-out infinite alternate; }
.equalizer i:nth-child(2n) { animation-duration: .8s; }.equalizer i:nth-child(3n) { animation-duration: 1.4s; }.equalizer i:nth-child(4n) { animation-delay: -.5s; }

.private-systems { margin: 18px 0 70px; animation: revealUp .75s .48s cubic-bezier(.16,1,.3,1) both; }
.private-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; padding: 22px 4px 17px; }
.private-heading p { margin: 0 0 6px; color: #766a9f; font-size: .56rem; font-weight: 700; letter-spacing: .18em; }
.private-heading h2 { margin: 0; font: 600 1.55rem/1 "Space Grotesk", sans-serif; letter-spacing: -.035em; }
.private-heading > span { display: flex; align-items: center; gap: 8px; color: #70798e; font-size: .63rem; letter-spacing: .09em; text-transform: uppercase; }
.private-heading > span i { width: 6px; height: 6px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 12px var(--violet); }
.private-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.private-route { display: grid; min-height: 112px; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(110deg, rgba(159,124,255,.075), rgba(10,13,22,.82) 48%, rgba(95,246,232,.035)); text-decoration: none; transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.private-route:hover, .private-route:focus-visible { border-color: rgba(159,124,255,.36); outline: none; transform: translateY(-3px); box-shadow: 0 16px 44px rgba(0,0,0,.24); }
.private-games { background: linear-gradient(110deg, rgba(255,95,178,.065), rgba(10,13,22,.82) 48%, rgba(255,155,88,.03)); }
.private-ark { background: linear-gradient(110deg, rgba(255,155,88,.065), rgba(10,13,22,.82) 48%, rgba(255,93,100,.03)); }
.private-icarus { background: linear-gradient(110deg, rgba(95,246,232,.06), rgba(10,13,22,.82) 48%, rgba(115,232,159,.03)); }
.private-rust { grid-column: 1 / -1; background: linear-gradient(110deg, rgba(255,155,88,.075), rgba(10,13,22,.82) 42%, rgba(115,232,159,.035)); }
.lock-shape { position: relative; display: block; width: 45px; height: 42px; border: 1px solid rgba(159,124,255,.3); border-radius: 10px; background: rgba(159,124,255,.07); }
.lock-shape::before { position: absolute; top: -9px; left: 12px; width: 19px; height: 17px; border: 2px solid var(--violet); border-bottom: 0; border-radius: 12px 12px 0 0; content: ""; }
.lock-shape i { position: absolute; top: 15px; left: 20px; width: 4px; height: 11px; border-radius: 5px; background: var(--violet); box-shadow: 0 0 12px var(--violet); }
.private-copy { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px; }
.private-copy small { width: 100%; color: #766a9f; font-size: .55rem; font-weight: 700; letter-spacing: .18em; }
.private-copy strong { font: 600 1.12rem/1 "Space Grotesk", sans-serif; }
.private-copy em { color: #737d91; font-size: .72rem; font-style: normal; }
.private-button { padding: 10px 14px; border: 1px solid rgba(159,124,255,.22); border-radius: 9px; color: #aaa0ce; font-size: .56rem; font-weight: 700; letter-spacing: .12em; }
.private-button b { margin-left: 7px; color: var(--violet); font-size: .9rem; }

.footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 25px 0 34px; border-top: 1px solid var(--line); color: #596277; font-size: .59rem; letter-spacing: .14em; text-transform: uppercase; }
.footer b { color: #8993a7; }.footer-center { color: #687186; }

@keyframes revealUp { from { opacity: 0; transform: translateY(30px); filter: blur(7px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }
@keyframes orbitReveal { from { opacity: 0; transform: scale(.75) rotate(-18deg); filter: blur(10px); } to { opacity: 1; transform: scale(1) rotate(0); filter: blur(0); } }
@keyframes topbarIn { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes logoSpin { to { transform: rotate(360deg); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(115,232,159,.35),0 0 13px var(--green); } 70%,100% { box-shadow: 0 0 0 8px rgba(115,232,159,0),0 0 13px var(--green); } }
@keyframes equalize { from { height: 16%; opacity: .25; } to { height: 72%; opacity: .8; } }
@keyframes codePulse { 50% { opacity: .75; transform: scaleX(.72); transform-origin: left; } }
@keyframes auroraA { to { transform: translate(-14vw,18vh) scale(1.15); } }
@keyframes auroraB { to { transform: translate(18vw,-12vh) scale(.82); } }

@media (max-width: 1040px) {
  .hero { min-height: 500px; grid-template-columns: 1fr auto; }
  .hero-orbit { width: 270px; }
  .category-grid { grid-template-columns: 1fr 1fr; }
  .category-music { grid-column: 1 / -1; }
  .category-music .link-stack { grid-template-columns: 1fr 1fr; }
  .category-music .equalizer { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .page-shell { width: min(100% - 28px,1320px); }
  .topbar { min-height: 76px; }.connection span { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding: 76px 0 72px; }
  .hero-orbit { position: absolute; top: 106px; right: -92px; width: 230px; opacity: .38; }
  .hero-copy { position: relative; z-index: 2; }
  .hero h1 { font-size: clamp(3.8rem,17vw,6rem); }
  .intro { max-width: 85%; }
  .websites-panel { padding: 20px; border-radius: 20px; }
  .panel-meta span { display: none; }
  .category-grid { grid-template-columns: 1fr; }
  .category-music { grid-column: auto; }
  .category-music .link-stack { grid-template-columns: 1fr; }
  .category-music .equalizer { grid-column: auto; }
  .private-route { grid-template-columns: auto 1fr; padding: 20px; }
  .private-button { display: none; }
  .private-grid { grid-template-columns: 1fr; }
  .private-rust { grid-column: auto; }
}

@media (max-width: 480px) {
  .brand-text em, .footer-center { display: none; }
  .topbar-right { gap: 12px; }.connection { font-size: 0; }
  .hero h1 { font-size: 3.55rem; }
  .panel-title h2 { font-size: 1.65rem; }
  .panel-icon { width: 42px; height: 42px; }
  .launch-action { display: none; }
  .footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  #network { display: none; }
}
