:root {
  --bg: #08162B;
  --bg-2: #0d2140;
  --bg-3: #050e1d;
  --yellow: #FFD84D;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, .78);
  --line: rgba(255, 255, 255, .12);
  --card: rgba(255, 255, 255, .045);
  --font: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-3) 0%, var(--bg) 25%, var(--bg-2) 60%, var(--bg) 100%) fixed;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(1120px, 100% - 48px); margin: 0 auto; }
.narrow { max-width: 760px; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px max(24px, calc((100% - 1120px) / 2));
  transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8, 22, 43, .82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .05em; }
.brand img { border-radius: 50%; width: 40px; height: 40px; }
.nav nav { display: flex; gap: 24px; font-size: 14px; color: var(--muted); }
.nav nav a:hover { color: var(--yellow); }

/* Hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 110px 0 90px; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(720px 480px at 85% 18%, rgba(255,216,77,.10), transparent 65%),
    radial-gradient(900px 620px at 8% 88%, rgba(38,92,168,.20), transparent 65%),
    linear-gradient(180deg, var(--bg-3) 0%, var(--bg) 55%, var(--bg-2) 100%);
}
.hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 48px;
}
.eyebrow {
  font-size: 14px; letter-spacing: .1em; color: var(--yellow); font-weight: 600;
  margin-bottom: 20px;
}
h1 {
  font-size: clamp(48px, 9vw, 112px); line-height: 1.05; font-weight: 800;
  letter-spacing: .02em;
}
.slogan { margin-top: 24px; font-size: clamp(18px, 2.4vw, 26px); font-weight: 600; }
.slogan i { font-style: normal; color: var(--yellow); margin: 0 .3em; }
.intro { margin-top: 12px; color: var(--muted); font-size: clamp(16px, 1.8vw, 20px); }
.cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-block; padding: 14px 32px; border-radius: 999px;
  font-weight: 700; font-size: 16px; border: 2px solid var(--yellow);
  transition: transform .25s, background .25s, color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: var(--yellow); color: var(--bg); }
.btn-primary:hover { box-shadow: 0 10px 28px rgba(255, 216, 77, .28); }
.btn-ghost { color: var(--yellow); }
.btn-ghost:hover { background: rgba(255, 216, 77, .12); }

.hero-avatar { justify-self: center; width: min(100%, 380px); position: relative; }
.hero-avatar::before {
  content: ""; position: absolute; inset: -12%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,216,77,.22), transparent 68%);
  animation: glow 5s ease-in-out infinite;
}
.hero-avatar img {
  position: relative; border-radius: 50%; width: 100%; height: auto;
  aspect-ratio: 1 / 1; object-fit: cover;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .5), 0 0 0 1px var(--line);
}
@keyframes glow { 50% { transform: scale(1.08); opacity: .7; } }

.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; width: 22px; height: 36px;
  margin-left: -11px; border: 2px solid var(--muted); border-radius: 12px;
}
.scroll-hint span {
  position: absolute; top: 6px; left: 50%; width: 3px; height: 7px; margin-left: -1.5px;
  background: var(--yellow); border-radius: 2px; animation: scroll 1.8s infinite;
}
@keyframes scroll { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(12px); } }

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.label { font-size: 13px; letter-spacing: .3em; color: var(--yellow); font-weight: 600; margin-bottom: 12px; }
h2 { font-size: clamp(32px, 5vw, 56px); line-height: 1.2; font-weight: 800; margin-bottom: 40px; }
#about p:not(.label) { color: var(--muted); font-size: clamp(16px, 1.8vw, 19px); }
#about .lead { color: var(--text); font-size: clamp(20px, 2.8vw, 28px); font-weight: 600; margin-bottom: 16px; }
#about em { font-style: normal; color: var(--yellow); }

/* Cards */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-6 { grid-template-columns: repeat(3, 1fr); }
.card {
  position: relative; display: block;
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: 32px 28px;
  transition: transform .3s, border-color .3s, background .3s, box-shadow .3s;
}
.card:hover {
  transform: translateY(-6px); border-color: rgba(255, 216, 77, .55);
  background: rgba(255, 255, 255, .07); box-shadow: 0 18px 40px rgba(0, 0, 0, .3);
}
.card h3 { font-size: 22px; margin-bottom: 10px; }
.card p { color: var(--muted); }
.num { display: block; font-size: 14px; letter-spacing: .2em; color: var(--yellow); font-weight: 700; margin-bottom: 20px; }

.platform .plat { display: block; font-size: 13px; letter-spacing: .2em; color: var(--yellow); font-weight: 700; text-transform: uppercase; margin-bottom: 20px; }
.platform .handle { font-size: 14px; }
.go { display: inline-block; margin-top: 20px; font-size: 14px; font-weight: 600; color: var(--yellow); }
.go.soon { color: var(--muted); font-weight: 500; }

/* Featured */
.featured { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; padding: clamp(28px, 5vw, 56px); overflow: hidden; }
.featured::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,216,77,.16), transparent 70%); pointer-events: none;
}
.featured-num {
  font-size: clamp(64px, 11vw, 140px); font-weight: 800; line-height: 1; color: var(--yellow);
  letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}
.featured-num small { font-size: .2em; letter-spacing: .2em; margin-left: .5em; color: var(--muted); }
.tag { display: inline-block; font-size: 12px; letter-spacing: .15em; padding: 4px 12px; border: 1px solid var(--yellow); color: var(--yellow); border-radius: 999px; margin-bottom: 16px; }
.featured h3 { font-size: clamp(22px, 3vw, 32px); line-height: 1.35; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 64px 0 48px; text-align: center; background: var(--bg-3); }
.footer-logo { margin: 0 auto 20px; border-radius: 50%; }
.motto { font-size: clamp(20px, 3vw, 28px); font-weight: 700; color: var(--yellow); margin-bottom: 16px; }
.meta { color: var(--muted); font-size: 14px; }
.meta a { color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; }
.footer-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 26px; margin-bottom: 26px; font-size: 15px; }
.footer-nav a { color: var(--muted); }
.footer-nav a:hover { color: var(--yellow); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.card.reveal.in { transition: opacity .6s ease, transform .3s, border-color .3s, background .3s, box-shadow .3s; }
.no-js .reveal { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .grid-6 { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-avatar { width: min(60%, 240px); order: -1; justify-self: start; }
  .featured { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 560px) {
  .nav nav a:nth-child(-n+2) { display: none; }
  .grid-4 { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: 1fr; }
  .grid-6 { grid-template-columns: 1fr; }
  .btn { padding: 13px 26px; }
  .eyebrow { letter-spacing: .06em; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
