:root {
  --bg: #070a14;
  --panel: #0c1120;
  --panel-hi: #111830;
  --border: rgba(130, 160, 255, 0.10);
  --border-hi: rgba(130, 160, 255, 0.24);
  --text: #eef2fa;
  --muted: #8e98ad;

  --blue: #3d8bff;
  --blue-2: #1fb6ff;
  --sand: #ff9a3c;
  --yellow: #ffd33d;
  --green: #3ddc84;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --max: 1180px;
  --narrow: 860px;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --font-title: "Plus Jakarta Sans", "Inter", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background:
    radial-gradient(1000px 600px at 85% 40%, rgba(61, 139, 255, 0.07), transparent 70%),
    radial-gradient(800px 500px at 10% 85%, rgba(255, 154, 60, 0.04), transparent 70%),
    var(--bg);
  background-attachment: fixed;
}
a { color: inherit; text-decoration: none; }
svg { display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.container { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.container.narrow { width: min(var(--narrow), 100% - 32px); }
.mono { font-family: var(--font-mono); font-weight: 500; letter-spacing: -0.01em; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 12px;
  font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .25s, background .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #fff; box-shadow: 0 6px 24px rgba(61, 139, 255, 0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(61, 139, 255, 0.5); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.1); transform: translateY(-2px); }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 10px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; pointer-events: none; }
.nav { position: relative; display: flex; align-items: center; justify-content: flex-end; height: 76px; }
.nav > * { pointer-events: auto; }
.site-header.moving .nav > * { filter: url(#motion-blur); }
.nav-links {
  display: flex; gap: 2px; align-items: center;
  padding: 5px; border-radius: 999px;
  background: rgba(7, 10, 20, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
}
.nav-links a, .nav-soon {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 14.5px;
}
.nav-links a { color: #d5dbe8; transition: color .15s, background .15s; }
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255, 255, 255, 0.12); }
.nav-soon { color: rgba(255, 255, 255, 0.55); cursor: not-allowed; user-select: none; }
.nav-soon small {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  padding: 2px 8px; border-radius: 999px; background: rgba(255, 211, 61, 0.14); color: var(--yellow);
}
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 999px; position: relative;
  background: rgba(7, 10, 20, 0.72); border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, top .2s; }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.eyebrow { font-size: 15px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }
h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.08; margin-top: 8px; }
.section { padding: 96px 0; }
.section-head { margin-bottom: 36px; }
.section-head.center { text-align: center; }

.chip {
  display: inline-flex; align-items: center; vertical-align: middle;
  margin: 0 2px; padding: 3px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-hi);
  font-size: 13.5px; color: var(--text);
}

.spotlight { position: relative; overflow: hidden; }
.spotlight::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(61, 139, 255, 0.14), transparent 45%);
}
.spotlight:hover::before { opacity: 1; }

.hero {
  position: relative; overflow: hidden;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 0 110px;
}
.hero-bg { position: absolute; inset: -8% -4% 0; will-change: transform; transition: opacity 1s ease; }
.js .hero-bg { opacity: 0; }
.js .hero-bg.loaded { opacity: 1; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background: url("images/c2s5.jpg") center / cover no-repeat;
  translate: var(--tx, 0px) var(--ty, 0px);
  transition: translate .6s var(--ease);
  animation: slowZoom 14s var(--ease) both, drift 26s ease-in-out 1s infinite alternate;
}
.js .hero-bg:not(.loaded)::before { animation-play-state: paused; }
@keyframes slowZoom { from { scale: 1.16; } to { scale: 1.06; } }
@keyframes drift {
  0%   { transform: translate3d(-1.6%, 0.6%, 0) rotate(-0.4deg); }
  100% { transform: translate3d(1.6%, -0.8%, 0) rotate(0.4deg); }
}
.hero-particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; mix-blend-mode: screen; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 25% 85%, rgba(255, 154, 60, 0.14), transparent 70%),
    linear-gradient(90deg, rgba(7, 10, 20, 0.95) 0%, rgba(7, 10, 20, 0.78) 38%, rgba(7, 10, 20, 0.2) 75%, rgba(7, 10, 20, 0.08) 100%);
}
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(to top, var(--bg), transparent); pointer-events: none; }
.hero-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; }

.hero h1 {
  display: flex; flex-direction: column; align-items: flex-start;
  font-family: var(--font-title); font-weight: 800;
  line-height: 1.05; letter-spacing: -0.03em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.h1-top { font-size: clamp(22px, 2.2vw, 32px); font-weight: 500; letter-spacing: -0.01em; color: rgba(255, 255, 255, 0.85); margin-bottom: 6px; }
.h1-main { font-size: clamp(38px, 4.45vw, 64px); color: #ffffff; white-space: nowrap; }
.hero-sub { margin: 20px 0 32px; font-size: 17px; color: #c6cddb; }
.hero-sub strong { color: #fff; font-weight: 700; }

.hero-content > * { animation: rise 1s var(--ease) both; }
.hero-content > :nth-child(2) { animation-delay: .12s; }
.hero-content > :nth-child(3) { animation-delay: .22s; }
.h1-top { animation: rise 1s var(--ease) both; }
.h1-main { animation: rise 1s var(--ease) .06s both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

.scroll-hint {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
  transition: opacity .3s;
}
.scrolled .scroll-hint { opacity: 0; }
.scroll-hint i { width: 1px; height: 30px; background: linear-gradient(var(--muted), transparent); animation: drip 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

.board { background: var(--panel); border: 1px solid var(--border); border-radius: 18px; }
.board-row {
  position: relative; display: grid; grid-template-columns: 1fr auto 130px; align-items: center; gap: 20px;
  padding: 20px 24px;
}
.board-row + .board-row { border-top: 1px solid var(--border); }
.board-name { display: flex; align-items: center; gap: 14px; font-size: 17px; font-weight: 600; }
.board-name svg { width: 22px; height: 22px; color: #dfe5f1; }
.ps-name { font-size: 17px; font-weight: 600; }
.status { font-size: 13.5px; font-weight: 600; }
.status.live { color: var(--green); }
.status.soon { color: var(--yellow); }
.board-row .btn, .board-wait { justify-self: end; }
.board-wait { font-size: 13.5px; color: var(--muted); }

.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; display: flex; align-items: center; gap: 22px;
  padding: 24px 4px; text-align: left;
}
.faq-q .num { font-family: var(--font-mono); font-size: 14px; color: var(--muted); transition: color .25s; min-width: 24px; }
.faq-q .q { flex: 1; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; transition: transform .35s var(--ease); }
.faq-q:hover .q { transform: translateX(6px); }
.faq-q:hover .num, .faq-item.open .num { color: var(--yellow); }
.faq-q i { position: relative; flex: none; width: 18px; height: 18px; transition: transform .4s var(--ease); }
.faq-q i::before, .faq-q i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; border-radius: 2px; background: var(--text); transform: translate(-50%, -50%); }
.faq-q i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .faq-q i { transform: rotate(135deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq-a > div { overflow: hidden; padding: 0 40px 0 50px; }
.faq-a p { color: var(--muted); font-size: 16px; }
.faq-a > div > :last-child { margin-bottom: 26px; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.faq-socials a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border-hi);
  font-size: 14px; font-weight: 600; transition: border-color .2s, background .2s, transform .2s var(--ease);
}
.faq-socials a svg { width: 15px; height: 15px; }
.faq-socials a:hover { border-color: rgba(61, 139, 255, 0.6); background: rgba(61, 139, 255, 0.12); transform: translateY(-2px); }
.faq-more { margin-top: 26px; color: var(--muted); }
.faq-more a { color: var(--text); font-weight: 600; }
.faq-more a:hover { color: var(--blue-2); }

.socials-section { padding-top: 40px; }
.social-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.social-tile {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; border-radius: 14px;
  background: var(--panel); border: 1px solid var(--border);
  transition: transform .3s var(--ease), border-color .25s, background .25s;
}
.social-tile svg { width: 22px; height: 22px; flex: none; color: var(--muted); transition: color .25s, transform .3s var(--ease); }
.social-tile div { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.social-tile strong { font-size: 15px; font-weight: 600; }
.social-tile span { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.social-tile:hover { transform: translateY(-3px); background: var(--panel-hi); border-color: rgba(61, 139, 255, 0.45); }
.social-tile:hover svg { color: #fff; }

.site-footer { border-top: 1px solid var(--border); margin-top: 40px; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 26px 0 30px; }
.footer-brand { font-weight: 800; font-size: 18px; letter-spacing: -0.03em; }
.footer-row p { font-size: 13.5px; color: var(--muted); }

.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .social-tile.reveal.in:hover { transform: translateY(-3px); transition-delay: 0s; }

@media (max-width: 900px) {
  .social-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav { justify-content: flex-end; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 68px; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    min-width: 240px; padding: 6px; border-radius: 18px;
    background: rgba(7, 10, 20, 0.9);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a, .nav-soon { padding: 12px 14px; font-size: 15px; justify-content: space-between; border-radius: 12px; }
  .hero { padding: 110px 0 72px; align-items: flex-end; }
  .hero-bg::after {
    background:
      radial-gradient(500px 300px at 10% 80%, rgba(255, 154, 60, 0.18), transparent 70%),
      linear-gradient(to top, rgba(7, 10, 20, 0.92) 15%, rgba(7, 10, 20, 0.75) 60%, rgba(7, 10, 20, 0.45) 100%);
  }
  .scroll-hint { display: none; }
  .section { padding: 72px 0; }
  .board-row { grid-template-columns: 1fr auto; padding: 18px; }
  .board-row .btn, .board-wait { display: none; }
  .faq-q .q { font-size: 16px; }
  .faq-a > div { padding: 0 8px 0 50px; }
}
@media (max-width: 560px) {
  .h1-top { font-size: 6vw; }
  .h1-main { font-size: 10vw; }
  .h1-main { white-space: normal; }
  .hero-sub { font-size: 15.5px; }
  .btn-row .btn { flex: 1 1 100%; }
  .footer-row { justify-content: center; text-align: center; }
}
