:root {
  --primary: #1D4ED8;
  --primary-dark: #1E3A8A;
  --primary-light: #3B82F6;
  --secondary: #059669;
  --accent: #F59E0B;
}

/* ===== Y2K 千禧全息风 ===== */
body {
  background:
    radial-gradient(circle at 12% 8%, rgba(255,153,255,.35), transparent 42%),
    radial-gradient(circle at 88% 14%, rgba(120,220,255,.32), transparent 45%),
    radial-gradient(circle at 70% 92%, rgba(180,160,255,.30), transparent 48%),
    #f4f1fb;
}

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: #e9e4f7; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ff8fe0, #8fd0ff, #c8a8ff);
  border-radius: 999px;
  border: 2px solid #e9e4f7;
}

/* 全息镭射流动渐变文字 */
.holo-text {
  background: linear-gradient(110deg, #ff6ec7, #7d7dff, #4fd6ff, #b96bff, #ff6ec7);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: holoFlow 6s linear infinite;
}
@keyframes holoFlow {
  to { background-position: 300% 0; }
}

/* 全息渐变背景面 */
.holo-bg {
  background: linear-gradient(120deg, #ffd9f5, #d6e6ff, #e6dcff, #d2f7ff, #ffe1f3);
  background-size: 280% 280%;
  animation: holoShift 12s ease infinite;
}
@keyframes holoShift {
  0%,100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* 铬质金属银面 */
.chrome {
  background: linear-gradient(160deg, #ffffff 0%, #d4d8e6 28%, #9aa3bd 50%, #eef0f7 62%, #b6bcd0 80%, #ffffff 100%);
}

/* 气泡渐变按钮 */
.bubble-btn {
  position: relative;
  border-radius: 9999px;
  background: linear-gradient(135deg, #ff7ad1, #9d7bff 55%, #5ec8ff);
  color: #fff;
  box-shadow: 0 8px 22px rgba(157,123,255,.45), inset 0 2px 6px rgba(255,255,255,.65);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.bubble-btn::before {
  content: "";
  position: absolute;
  top: 4px; left: 12%; right: 12%; height: 42%;
  border-radius: 9999px;
  background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,0));
  pointer-events: none;
}
.bubble-btn:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 14px 30px rgba(157,123,255,.55), inset 0 2px 6px rgba(255,255,255,.7); }

/* 全息玻璃卡片 */
.holo-card {
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255,255,255,.9);
  box-shadow: 0 10px 34px rgba(150,130,220,.22), inset 0 1px 0 rgba(255,255,255,.9);
}

/* 全息描边 */
.holo-ring {
  border: 2px solid transparent;
  background-image: linear-gradient(#fff,#fff), linear-gradient(120deg,#ff7ad1,#7d7dff,#5ec8ff,#b96bff);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

/* 像素装饰小方块 */
.pixel-dot {
  width: 8px; height: 8px;
  display: inline-block;
  box-shadow: 10px 0 0 currentColor, 0 10px 0 currentColor, -10px 10px 0 currentColor;
}

/* 闪亮星星 */
.sparkle { animation: twinkle 2.4s ease-in-out infinite; }
@keyframes twinkle {
  0%,100% { opacity: .35; transform: scale(.8); }
  50% { opacity: 1; transform: scale(1.15); }
}

/* 移动端抽屉导航 */
.nav { transition: transform .3s ease; }
@media (max-width: 1023px) {
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: 82%; max-width: 330px;
    flex-direction: column;
    background: linear-gradient(160deg, #ffe5f7, #e3e9ff, #def7ff);
    padding: 5.5rem 1.5rem 2rem;
    transform: translateX(100%);
    z-index: 60; overflow-y: auto;
    border-left: 2px solid rgba(255,255,255,.9);
    box-shadow: -10px 0 40px rgba(150,130,220,.3);
  }
  .nav.active { transform: translateX(0); }
  .menu-overlay {
    position: fixed; inset: 0;
    background: rgba(120,90,180,.35);
    backdrop-filter: blur(2px);
    opacity: 0; visibility: hidden;
    transition: opacity .3s ease;
    z-index: 55;
  }
  .menu-overlay.active { opacity: 1; visibility: visible; }
  body.menu-open { overflow: hidden; }
}

/* FAQ 折叠 */
.faq-answer {
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .35s ease, opacity .35s ease;
}
.faq-icon { transition: transform .3s ease; }

/* 回到顶部 */
.back-to-top {
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, transform .3s ease;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-4px); }

@media print {
  header, footer, nav, .no-print { display: none !important; }
  body { background: #fff; color: #000; }
}
