:root {
  --bg: #07061a;
  --bg2: #0e0b26;
  --glass: rgba(22, 18, 52, .5);
  --line: rgba(170, 150, 255, .16);
  --text: #ece9ff;
  --dim: #a8a3d4;
  --cyan: #2fd8ff;
  --violet: #8a5cff;
  --pink: #ff4fd8;
  --grad: linear-gradient(90deg, var(--cyan), var(--violet) 50%, var(--pink));
  --radius: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 Inter, system-ui, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
code { font-family: ui-monospace, Consolas, monospace; background: rgba(138, 92, 255, .18); padding: .1em .45em; border-radius: 6px; color: #fff; }
h1, h2, h3 { font-family: Outfit, Inter, sans-serif; line-height: 1.12; margin: 0; }
[hidden] { display: none !important; }
section, header, footer { position: relative; z-index: 2; }

/* ---------- sky layers */
#stars { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.nebula { position: fixed; inset: -20%; z-index: 0; pointer-events: none; filter: blur(70px); opacity: .9; }
.nebula i { position: absolute; border-radius: 50%; animation: drift 38s ease-in-out infinite alternate; }
.nebula i:nth-child(1) { left: 8%;  top: 10%; width: 46vw; height: 34vw; background: radial-gradient(closest-side, rgba(138, 92, 255, .32), transparent); }
.nebula i:nth-child(2) { right: 6%; top: 28%; width: 40vw; height: 30vw; background: radial-gradient(closest-side, rgba(255, 79, 216, .2), transparent); animation-duration: 46s; animation-delay: -12s; }
.nebula i:nth-child(3) { left: 30%; top: 60%; width: 50vw; height: 32vw; background: radial-gradient(closest-side, rgba(47, 216, 255, .14), transparent); animation-duration: 52s; animation-delay: -20s; }
.nebula i:nth-child(4) { left: -6%; top: 82%; width: 38vw; height: 28vw; background: radial-gradient(closest-side, rgba(110, 70, 230, .24), transparent); animation-duration: 44s; }
@keyframes drift { to { transform: translate(6vw, -4vh) scale(1.15) rotate(8deg); } }
.cursor-glow {
  position: fixed; left: -300px; top: -300px; width: 600px; height: 600px; z-index: 1; pointer-events: none; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(138, 92, 255, .13), rgba(47, 216, 255, .05) 50%, transparent);
  opacity: 0; transition: opacity .4s;
}
.cursor-glow.on { opacity: 1; }

/* ---------- nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 30; height: 68px;
  display: flex; align-items: center; justify-content: space-between; padding: 0 28px;
  transition: background .3s, border-color .3s; border-bottom: 1px solid transparent;
}
.nav.solid, .nav.open { background: rgba(7, 6, 26, .72); backdrop-filter: blur(14px) saturate(140%); border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font: 800 20px Outfit, sans-serif; letter-spacing: .08em; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 9px; box-shadow: 0 0 18px rgba(138, 92, 255, .5); }
.links { display: flex; align-items: center; gap: 28px; }
.links a { color: var(--text); font-weight: 500; opacity: .8; position: relative; }
.links a:not(.pill)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transition: transform .25s; }
.links a:hover { opacity: 1; text-decoration: none; color: #fff; }
.links a:hover::after { transform: scaleX(1); }
.links .pill { padding: 8px 18px; border-radius: 999px; background: var(--grad); color: #0b0a1a; font-weight: 700; opacity: 1; box-shadow: 0 0 20px rgba(138, 92, 255, .45); }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }

/* ---------- hero */
.hero { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 120px 20px 200px; overflow: hidden; }
.hero-inner { position: relative; z-index: 3; width: 100%; max-width: 1400px; }
.moon { position: absolute; z-index: 1; right: 4%; top: 8%; width: clamp(150px, 17vw, 300px); animation: bob 9s ease-in-out infinite; will-change: transform; }
@keyframes bob { 50% { translate: 0 -14px; } }
.planet { position: absolute; z-index: 1; left: 50%; bottom: -60px; width: max(1500px, 140vw); max-width: none; transform: translateX(-50%); pointer-events: none; will-change: transform; }
.orbit { position: absolute; z-index: 2; left: 50%; top: 50%; width: min(1250px, 96vw); transform: translate(-50%, -62%); pointer-events: none; overflow: visible; }
.kicker { margin: 0 0 6px; font: 700 14px Outfit, sans-serif; letter-spacing: .32em; text-transform: uppercase; color: #cfc6ff; opacity: .85; }
.wordmark {
  position: relative; display: inline-block; white-space: nowrap; padding: 0 .08em;
  font-size: clamp(38px, 10.5vw, 156px); font-weight: 900; letter-spacing: .03em;
  background: linear-gradient(90deg, #2fd8ff, #8a5cff, #ff4fd8, #8a5cff, #2fd8ff); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 26px rgba(138, 92, 255, .6)) drop-shadow(0 0 6px rgba(47, 216, 255, .35));
  animation: shimmer 8s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }
.tagline { font: 600 clamp(17px, 2.4vw, 25px) Outfit, sans-serif; letter-spacing: .03em; color: #f4f2ff; margin: 6px 0 34px; text-shadow: 0 0 18px rgba(138, 92, 255, .7); }
.address {
  display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 12px;
  padding: 10px 12px 10px 20px; border-radius: 999px; background: rgba(7, 6, 26, .55); border: 1px solid var(--line);
  backdrop-filter: blur(10px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .03), 0 10px 40px rgba(0, 0, 0, .35);
}
.address code { background: none; font-size: 18px; padding: 0; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #777; }
.dot.on { background: #3ef08a; box-shadow: 0 0 12px #3ef08a; animation: pulse 2s infinite; }
.dot.off { background: #ff5b6e; }
@keyframes pulse { 50% { box-shadow: 0 0 2px #3ef08a; } }
.status { color: var(--dim); font-size: 14px; padding-right: 8px; }
.copy { border: 0; cursor: pointer; padding: 7px 16px; border-radius: 999px; background: rgba(138, 92, 255, .32); color: #fff; font: 600 14px Inter, sans-serif; transition: background .2s; }
.copy:hover { background: rgba(138, 92, 255, .6); }
.cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 30px 0 16px; }
.btn { position: relative; padding: 15px 30px; border-radius: 14px; font: 700 17px Outfit, sans-serif; letter-spacing: .02em; transition: transform .18s, box-shadow .18s; overflow: hidden; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn.primary { background: var(--grad); color: #0b0a1a; box-shadow: 0 8px 34px rgba(138, 92, 255, .5); }
.btn.primary:hover { box-shadow: 0 10px 46px rgba(255, 79, 216, .55); }
.btn.primary::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); animation: sweep 4.5s ease-in-out infinite; }
@keyframes sweep { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.btn span { position: relative; z-index: 1; }
.btn.ghost { color: #fff; border: 1px solid rgba(255, 255, 255, .26); background: rgba(7, 6, 26, .45); backdrop-filter: blur(6px); }
.btn.ghost:hover { border-color: rgba(255, 255, 255, .7); box-shadow: 0 0 24px rgba(47, 216, 255, .25); }
.small { color: var(--dim); font-size: 14px; }

/* ---------- stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 900px; margin: -70px auto 0; padding: 0 24px; }
.stats div { text-align: center; padding: 18px 10px; border-radius: 18px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(10px); }
.stats b { display: block; font: 900 40px Outfit, sans-serif; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { color: var(--dim); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- sections */
.section { max-width: 1180px; margin: 0 auto; padding: 110px 24px 20px; }
.eyebrow { text-align: center; margin: 0 0 10px; font: 700 13px Outfit, sans-serif; letter-spacing: .34em; text-transform: uppercase; color: var(--cyan); }
.section h2, .final h2 { font-size: clamp(32px, 4.4vw, 50px); font-weight: 800; text-align: center; }
.lead { text-align: center; color: var(--dim); max-width: 640px; margin: 16px auto 44px; }

/* glass panels with a spotlight that follows the mouse and a neon edge on hover */
.card, .steps li, .rules li, .shot {
  position: relative; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(10px);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.card::before, .steps li::before, .rules li::after, .shot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(138, 92, 255, .22), transparent 70%);
}
.card:hover::before, .steps li:hover::before, .rules li:hover::after, .shot:hover::before { opacity: 1; }
.card:hover, .steps li:hover, .rules li:hover { border-color: rgba(170, 150, 255, .5); box-shadow: 0 0 0 1px rgba(138, 92, 255, .25), 0 14px 50px rgba(60, 30, 160, .35); }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { border-radius: var(--radius); padding: 26px 22px; }
.card:hover { transform: translateY(-6px); }
.card h3 { font-size: 19px; margin: 16px 0 8px; }
.card p { margin: 0; color: var(--dim); font-size: 15px; }
.ico {
  position: relative; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; font-size: 21px; color: #fff;
  background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, .5), rgba(138, 92, 255, .55) 40%, rgba(40, 20, 110, .9));
  box-shadow: 0 0 22px rgba(138, 92, 255, .55), inset -6px -6px 12px rgba(0, 0, 0, .35);
}
.ico::after { content: ""; position: absolute; inset: -7px -14px; border-radius: 50%; border: 1px solid rgba(47, 216, 255, .5); transform: rotate(-18deg) scaleY(.35); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.shot { padding: 0; border-radius: 16px; overflow: hidden; cursor: zoom-in; aspect-ratio: 16 / 9; }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.shot:hover { border-color: rgba(47, 216, 255, .6); box-shadow: 0 0 30px rgba(47, 216, 255, .25); transform: translateY(-3px); }
.shot:hover img { transform: scale(1.06); }
.shot::before { z-index: 1; }
.shot span { position: absolute; z-index: 2; inset: auto 0 0 0; padding: 26px 16px 12px; text-align: left; font: 600 14px Inter, sans-serif; color: #fff; background: linear-gradient(transparent, rgba(5, 4, 20, .8)); transform: translateY(100%); transition: transform .3s; }
.shot:hover span, .shot:focus span { transform: none; }

.steps { list-style: none; padding: 0; margin: 44px auto 0; max-width: 760px; display: grid; gap: 22px; position: relative; }
.steps::before { content: ""; position: absolute; left: 47px; top: 30px; bottom: 30px; width: 2px; background: linear-gradient(var(--cyan), var(--violet), var(--pink)); opacity: .5; }
.steps li { display: flex; gap: 22px; align-items: center; border-radius: var(--radius); padding: 22px 24px; }
.planet-dot {
  position: relative; z-index: 1; flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; color: #fff; font: 800 20px Outfit, sans-serif;
  background: radial-gradient(circle at 32% 30%, #bfe9ff, var(--violet) 45%, #1d1050);
  box-shadow: 0 0 24px rgba(138, 92, 255, .7), inset -6px -6px 12px rgba(0, 0, 0, .35);
}
.steps li:nth-child(2) .planet-dot { background: radial-gradient(circle at 32% 30%, #ffd6f5, #b45cff 45%, #2a0f50); }
.steps li:nth-child(3) .planet-dot { background: radial-gradient(circle at 32% 30%, #ffd1ef, var(--pink) 45%, #4a0f3c); box-shadow: 0 0 24px rgba(255, 79, 216, .6), inset -6px -6px 12px rgba(0, 0, 0, .35); }
.steps h3 { font-size: 19px; margin-bottom: 4px; }
.steps p { margin: 0; color: var(--dim); }

.rules { max-width: 760px; margin: 44px auto 0; padding: 0; list-style: none; counter-reset: r; display: grid; gap: 12px; }
.rules li { counter-increment: r; padding: 15px 18px 15px 64px; border-radius: 16px; color: var(--dim); }
.rules li::before { content: counter(r); position: absolute; left: 18px; top: 50%; margin-top: -15px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, rgba(47, 216, 255, .5), rgba(255, 79, 216, .5)); color: #fff; font: 700 15px Outfit, sans-serif; }
.rules b { color: var(--text); }

.final { text-align: center; padding: 120px 24px 40px; }
.final h2 { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 20px rgba(138, 92, 255, .5)); }

.foot { margin-top: 70px; padding: 40px 24px 50px; text-align: center; border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; background: rgba(7, 6, 26, .7); backdrop-filter: blur(8px); }
.foot-links { display: flex; gap: 26px; justify-content: center; margin-bottom: 12px; font-weight: 600; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.card.reveal.in:hover { transform: translateY(-6px); transition-delay: 0ms; }
.shot.reveal.in:hover { transform: translateY(-3px); transition-delay: 0ms; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(4, 3, 14, .94); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 50px 70px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 130px); border-radius: 12px; box-shadow: 0 0 0 1px rgba(170, 150, 255, .25), 0 10px 80px rgba(80, 40, 200, .45); }
.lightbox p { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; margin: 0; color: var(--dim); }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .08); border: 0; color: #fff; cursor: pointer; border-radius: 50%; width: 48px; height: 48px; font-size: 30px; line-height: 1; }
.lightbox button:hover { background: rgba(255, 255, 255, .2); }
.lb-close { top: 16px; right: 18px; }
.lb-prev { left: 14px; top: 50%; margin-top: -24px; }
.lb-next { right: 14px; top: 50%; margin-top: -24px; }

/* smaller screens */
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) {
  .nav { padding: 0 16px; }
  .burger { display: block; }
  .links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 16px 18px; background: rgba(7, 6, 26, .96); border-bottom: 1px solid var(--line); }
  .nav.open .links { display: flex; }
  .links a { padding: 12px 0; width: 100%; text-align: center; }
  .links a::after { display: none; }
  .links .pill { margin-top: 6px; }
  .hero { padding-bottom: 170px; }
  .moon { right: 3%; top: 72px; width: 84px; opacity: .85; }
  .hero { padding-top: 150px; }
  .kicker { font-size: 11px; letter-spacing: .2em; }
  .planet { width: 1100px; bottom: -40px; }
  .orbit { width: 140vw; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: -40px; padding: 0 16px; }
  .stats b { font-size: 32px; }
  .cards, .grid { grid-template-columns: 1fr; }
  .section { padding: 80px 16px 10px; }
  .address { border-radius: 20px; }
  .steps::before { left: 47px; }
  .lightbox { padding: 60px 10px; }
  .lb-prev, .lb-next { top: auto; bottom: 10px; margin: 0; }
  .cursor-glow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .orbit circle { display: none; }
}
