/* ============ 基础 ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", -apple-system, sans-serif;
  background: #0b1020;
  color: #e8ecf8;
  overflow-x: hidden;
  line-height: 1.7;
}

/* ============ 背景装饰 ============ */
.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .45;
  z-index: -2;
  animation: drift 18s ease-in-out infinite alternate;
}
.orb-1 { width: 520px; height: 520px; background: #4f6ef7; top: -140px; left: -120px; }
.orb-2 { width: 460px; height: 460px; background: #8b5cf6; top: 38%; right: -160px; animation-delay: -6s; }
.orb-3 { width: 420px; height: 420px; background: #06b6d4; bottom: -120px; left: 24%; animation-delay: -12s; }

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(60px, -40px) scale(1.15); }
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 75%);
}

/* ============ 通用 ============ */
.glass {
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 20px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.glass:hover {
  transform: translateY(-6px);
  border-color: rgba(120, 160, 255, .45);
  box-shadow: 0 18px 50px rgba(70, 110, 255, .18);
}

.section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 96px 24px;
}

.section-title {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 44px;
}
.title-index {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #7c9bff;
  font-family: Consolas, monospace;
}
.section-title h2 {
  font-size: 34px;
  font-weight: 800;
  background: linear-gradient(120deg, #fff 20%, #9db4ff 60%, #6ee7f9);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(124,155,255,.5), transparent);
}

/* 滚动渐入 */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.sport-card, .college-card, .about-card { transition-delay: calc(var(--i, 0) * .1s); }

/* ============ 导航 ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  background: rgba(11, 16, 32, .55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-brand {
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 1px;
}
.nav-brand span { color: #7c9bff; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: #b6c2e6;
  text-decoration: none;
  font-size: 14.5px;
  transition: color .25s;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #4f6ef7, #6ee7f9);
  transition: width .3s;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }

/* ============ Hero ============ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 24px 40px;
  position: relative;
}
.hero-avatar {
  position: relative;
  width: 128px; height: 128px;
  margin-bottom: 26px;
  animation: floaty 4s ease-in-out infinite;
}
.avatar-ring {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 2px dashed rgba(124, 155, 255, .55);
  animation: spin 14s linear infinite;
}
.avatar-emoji {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 58px;
  background: linear-gradient(140deg, rgba(79,110,247,.35), rgba(139,92,246,.3));
  border: 1px solid rgba(124,155,255,.4);
  border-radius: 50%;
  box-shadow: 0 0 45px rgba(79, 110, 247, .45);
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-name {
  font-size: clamp(48px, 9vw, 84px);
  font-weight: 900;
  letter-spacing: 8px;
  background: linear-gradient(120deg, #fff, #a5b8ff 55%, #7ce7ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 14px;
}
.hero-type {
  font-size: clamp(18px, 2.6vw, 24px);
  color: #a9c0ff;
  min-height: 1.6em;
  font-weight: 600;
  letter-spacing: 2px;
}
.hero-type::after {
  content: "|";
  color: #6ee7f9;
  animation: blink .8s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hero-sub {
  margin-top: 16px;
  color: #93a2c8;
  font-size: 15.5px;
  letter-spacing: 1px;
}
.hero-badges {
  margin-top: 30px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.badge {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  background: rgba(124, 155, 255, .12);
  border: 1px solid rgba(124, 155, 255, .35);
  color: #c3d2ff;
  transition: all .3s;
}
.badge:hover {
  background: rgba(124, 155, 255, .28);
  color: #fff;
  transform: translateY(-2px);
}

.scroll-hint {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #7d8db5;
  text-decoration: none;
  font-size: 12.5px;
  letter-spacing: 3px;
  transition: color .3s;
}
.scroll-hint:hover { color: #a9c0ff; }
.mouse {
  width: 26px; height: 42px;
  border: 2px solid #5c6b94;
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}
.wheel {
  width: 4px; height: 9px;
  border-radius: 3px;
  background: #7c9bff;
  animation: wheelMove 1.6s ease-in-out infinite;
}
@keyframes wheelMove {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { opacity: 0; }
}

/* ============ 关于 ============ */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.about-card { padding: 32px 28px; }
.card-icon { font-size: 40px; margin-bottom: 16px; }
.about-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #fff;
}
.about-card p { color: #aab6d6; font-size: 15px; }
.about-card strong { color: #8fb3ff; }

/* ============ 运动 ============ */
.sport-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}
.sport-card { padding: 30px 26px; text-align: center; }
.sport-emoji { font-size: 52px; margin-bottom: 14px; }
.sport-card h3 { font-size: 19px; margin-bottom: 10px; color: #fff; }
.sport-card p { font-size: 14px; color: #aab6d6; margin-bottom: 18px; }
.sport-bar {
  height: 8px;
  border-radius: 6px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}
.sport-bar span {
  display: block;
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(90deg, #4f6ef7, #6ee7f9);
  font-size: 0;
  animation: grow 1.4s ease .3s both;
  transform-origin: left;
}
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ============ 学车 ============ */
.drive-wrap { padding: 44px 36px; }
.drive-progress {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 36px;
  position: relative;
}
.drive-progress::before {
  content: "";
  position: absolute;
  top: 26px; left: 10%; right: 10%;
  height: 3px;
  background: rgba(255,255,255,.1);
  border-radius: 3px;
}
.drive-progress::after {
  content: "";
  position: absolute;
  top: 26px; left: 10%;
  width: 45%;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #4f6ef7, #6ee7f9);
}
.step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 25%;
  text-align: center;
  color: #7d8db5;
  font-size: 14px;
  font-weight: 600;
}
.step small { font-weight: 400; color: #64739c; font-size: 12px; }
.dot {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: rgba(255,255,255,.07);
  border: 2px solid rgba(255,255,255,.15);
  transition: all .3s;
}
.step.done .dot {
  background: linear-gradient(140deg, #4f6ef7, #8b5cf6);
  border-color: transparent;
  color: #fff;
}
.step.active { color: #fff; }
.step.active .dot {
  background: rgba(79, 110, 247, .25);
  border-color: #6ee7f9;
  color: #6ee7f9;
  box-shadow: 0 0 24px rgba(110, 231, 249, .45);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 40px rgba(110, 231, 249, .7); } }

.drive-tips { display: grid; gap: 14px; }
.tip {
  padding: 14px 20px;
  border-radius: 12px;
  background: rgba(255,255,255,.05);
  border-left: 3px solid #6ee7f9;
  font-size: 14.5px;
  color: #b9c5e4;
}

/* ============ 大学 ============ */
.college-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
.college-card { padding: 30px 26px; position: relative; overflow: hidden; }
.college-num {
  position: absolute;
  top: -14px; right: 10px;
  font-size: 84px;
  font-weight: 900;
  color: rgba(124, 155, 255, .1);
  font-family: Consolas, monospace;
  line-height: 1;
}
.college-card h3 { font-size: 18px; margin-bottom: 10px; color: #fff; }
.college-card p { font-size: 14px; color: #aab6d6; }

/* ============ 页脚 ============ */
.footer {
  text-align: center;
  padding: 80px 24px 50px;
}
.footer-quote {
  font-size: clamp(20px, 3.4vw, 30px);
  font-weight: 700;
  letter-spacing: 2px;
  background: linear-gradient(120deg, #c3d2ff, #7ce7ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 28px;
}
.footer-line {
  width: 120px; height: 2px;
  margin: 0 auto 22px;
  background: linear-gradient(90deg, transparent, #7c9bff, transparent);
}
.footer-meta { color: #64739c; font-size: 13.5px; letter-spacing: 1px; }

/* ============ Toast ============ */
.toast {
  position: fixed;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%) translateY(90px);
  background: rgba(30, 40, 70, .9);
  border: 1px solid rgba(124, 155, 255, .4);
  color: #dbe5ff;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 34px rgba(0, 0, 0, .45);
  transition: transform .6s cubic-bezier(.2, .9, .3, 1.2);
  z-index: 200;
  opacity: 0;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ============ 响应式 ============ */
@media (max-width: 720px) {
  .section { padding: 72px 18px; }
  .nav { padding: 14px 18px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 13px; }
  .nav-brand { font-size: 14px; }
  .drive-wrap { padding: 32px 18px; }
  .drive-progress::before,
  .drive-progress::after { left: 6%; right: 6%; }
  .step { width: 25%; font-size: 12px; }
  .dot { width: 44px; height: 44px; font-size: 15px; }
  .section-title h2 { font-size: 27px; }
}
