:root {
  --bg: #09070d;
  --panel: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.09);
  --text: #f7f7f7;
  --muted: #c9c9d2;
  --accent: #ff2748;
  --accent-2: #ff6b81;
  --shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  --radius: 16px;
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

.bg-texture {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 39, 72, 0.35), transparent 32%),
    radial-gradient(circle at 80% 10%, rgba(255, 107, 129, 0.25), transparent 30%),
    radial-gradient(circle at 50% 70%, rgba(255, 39, 72, 0.18), transparent 40%),
    linear-gradient(135deg, rgba(255, 39, 72, 0.08), rgba(0,0,0,0));
  filter: blur(0px);
  pointer-events: none;
  z-index: 0;
}

header, main, footer, section { position: relative; z-index: 1; }

.nav {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 26px;
  background: rgba(9,7,13,0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav__brand { display: flex; align-items: center; gap: 12px; }
.logo {
  width: 44px; height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid; place-items: center;
  font-family: inherit;
  font-weight: 700; color: #fff; letter-spacing: 1px;
}
.logo-img { object-fit: contain; background: #0b0b0b; padding: 6px; border: 1px solid var(--border); }
.brand-title { font-weight: 700; font-family: inherit; }
.brand-sub { color: var(--muted); font-size: 12px; letter-spacing: 0.5px; }

.nav__links { display: flex; gap: 16px; flex-wrap: wrap; }
.nav__links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: color 0.2s ease, transform 0.2s ease;
}
.nav__links a:hover { color: var(--accent); transform: translateY(-1px); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.btn-lg { padding: 16px 30px; font-size: 18px; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0b0b0b;
  box-shadow: 0 12px 30px rgba(255, 39, 72, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 42px rgba(255, 39, 72, 0.4); }

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: rgba(255,39,72,0.5); color: var(--accent); }

.btn-line {
  background: transparent;
  border-color: rgba(255,39,72,0.5);
  color: var(--accent);
}
.btn-line:hover { background: rgba(255,39,72,0.08); }

main { max-width: var(--max); margin: 0 auto; padding: 32px 24px 64px; }

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: center;
  gap: 38px;
  padding: 60px 0 20px;
}

.hero__content h1 {
  font-family: inherit;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  margin: 12px 0 14px;
}
.lead { color: var(--muted); max-width: 620px; }
.hero__actions { display: flex; gap: 12px; margin: 22px 0; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats div { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--panel); min-width: 150px; }
.num { display: block; font-size: 22px; font-weight: 700; color: var(--accent); }

.hero__visual { position: relative; min-height: 320px; }
.pulse {
  position: absolute; inset: 10% 5%; border-radius: 24px;
  background: linear-gradient(145deg, rgba(255,39,72,0.18), rgba(0,0,0,0));
  filter: blur(4px);
}
.glow {
  position: absolute; border-radius: 999px; filter: blur(18px); opacity: 0.9;
}
.glow-1 { width: 180px; height: 180px; top: -10px; right: 12%; background: rgba(255,39,72,0.4); animation: float 7s ease-in-out infinite; }
.glow-2 { width: 140px; height: 140px; bottom: -20px; left: 6%; background: rgba(255,107,129,0.35); animation: float 8s ease-in-out infinite reverse; }

.card {
  position: absolute;
  inset: 50px;
  background: rgba(18, 15, 22, 0.92);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.card__header { padding: 12px 14px; font-weight: 700; background: rgba(255,39,72,0.1); border-bottom: 1px solid var(--border); }
.card__body { display: grid; gap: 6px; padding: 14px; font-family: 'JetBrains Mono', 'SFMono-Regular', Consolas, Menlo, monospace; color: var(--muted); }
.line { position: relative; padding-left: 12px; }
.line::before { content: '›'; position: absolute; left: 0; color: var(--accent); }
.line.warn { color: #ffb347; }
.line.action { color: #6bffb0; }

.section { margin-top: 60px; }
.section__head { margin-bottom: 22px; }
.section__head h2 { font-family: inherit; font-size: clamp(26px, 3vw, 38px); margin: 6px 0; }
.section__head.inline { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }

.tag { letter-spacing: 3px; font-size: 12px; color: var(--accent); font-weight: 700; }
.muted { color: var(--muted); }

.grid-3, .grid-2 { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.tile, .card, .timeline__item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.tile::after, .card::after, .timeline__item::after {
  content: '';
  position: absolute;
  inset: -40% 60% auto -10%;
  background: radial-gradient(circle, rgba(255,39,72,0.16), transparent 60%);
  pointer-events: none;
}
.tile:hover, .card:hover, .timeline__item:hover { transform: translateY(-3px); border-color: rgba(255,39,72,0.4); box-shadow: var(--shadow); }

.tile__icon { font-size: 22px; margin-bottom: 8px; }
.tile h3 { margin-bottom: 6px; }
.tile p { color: var(--muted); margin-bottom: 8px; }
.link { color: var(--accent); text-decoration: none; font-weight: 700; }
.link:hover { text-decoration: underline; }

.highlight { border: 1px solid rgba(255,39,72,0.35); border-radius: 18px; padding: 18px; background: linear-gradient(135deg, rgba(255,39,72,0.08), rgba(0,0,0,0)); }

.timeline { display: grid; gap: 14px; }
.timeline__item { display: grid; grid-template-columns: 100px 1fr auto; gap: 12px; align-items: center; }
.date { font-size: 22px; font-weight: 700; color: var(--accent); font-family: 'Space Grotesk', sans-serif; }
.timeline__item p { color: var(--muted); }

.pill { display: inline-block; padding: 4px 10px; border-radius: 999px; background: rgba(255,39,72,0.12); color: var(--accent); font-weight: 700; font-size: 12px; letter-spacing: 1px; margin-bottom: 8px; }
.card h3 { margin: 4px 0 6px; }
.card p { color: var(--muted); }

.join { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; align-items: center; background: linear-gradient(120deg, rgba(255,39,72,0.12), rgba(0,0,0,0)); border: 1px solid rgba(255,39,72,0.35); border-radius: 18px; padding: 20px; }
.join__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.join__info { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; border-top: 1px solid var(--border); padding-top: 12px; }
.qr { width: 110px; height: 110px; border: 1px dashed var(--border); border-radius: 12px; display: grid; place-items: center; color: var(--muted); }
.qr img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }

.footer { border-top: 1px solid var(--border); margin-top: 60px; padding: 24px; background: rgba(0,0,0,0.2); }
.footer__top { max-width: var(--max); margin: 0 auto 12px; display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 14px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); text-decoration: none; font-weight: 600; }
.foot-links a:hover { color: var(--accent); }
.foot-grid { max-width: var(--max); margin: 0 auto 10px; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.foot-group h4 { margin-bottom: 8px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 6px 10px; border-radius: 999px; border: 1px solid var(--border); background: var(--panel); color: var(--muted); font-weight: 600; text-decoration: none; display: inline-block; }
.chip:hover { border-color: rgba(255,39,72,0.4); color: var(--accent); }
.foot-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.footer__meta { text-align: center; color: var(--muted); font-size: 13px; }

@media (max-width: 880px) {
  .timeline__item { grid-template-columns: 80px 1fr; }
  .timeline__item button { justify-self: start; }
}

@media (max-width: 620px) {
  .nav { flex-direction: column; align-items: flex-start; }
  .nav__links { width: 100%; }
  .hero__actions .btn { width: 100%; text-align: center; }
  .hero__stats div { width: 100%; }
}

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
