/* ===== base.css — 全局基础样式 ===== */
:root {
  --bg: #0a0a1a;
  --card: #16162a;
  --card-hover: #1e1e3a;
  --accent: #6c5ce7;
  --accent2: #a29bfe;
  --green: #00b894;
  --red: #e17055;
  --orange: #fdcb6e;
  --text: #dfe6e9;
  --text-dim: #636e72;
  --radius: 16px;
  --shadow: 0 8px 32px rgba(0,0,0,.4);
}

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

html, body {
  width: 100%; min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  overflow-y: auto; overflow-x: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

a { color: inherit; text-decoration: none; }

/* Scene container */
.scene {
  display: none;
  width: 100%; min-height: 100vh;
  padding: 60px 20px 20px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: fadeIn .5s ease;
}
.scene.active { display: flex; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes shake {
  0%,100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

@keyframes checkPop {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes pathGlow {
  0% { box-shadow: 0 0 0 rgba(0,184,148,0); }
  50% { box-shadow: 0 0 20px rgba(0,184,148,.4); }
  100% { box-shadow: 0 0 0 rgba(0,184,148,0); }
}

@keyframes fruitFall {
  0% { transform: scale(1); }
  30% { transform: scale(1.2) rotate(10deg); }
  100% { transform: translateY(20px) scale(.9); opacity: .8; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

/* Responsive */
@media (max-width: 600px) {
  .scene { padding: 56px 12px 12px; }
}
