:root {
  --bg-0: #04101f;
  --bg-1: #071c33;
  --bg-2: #0b2946;
  --ink: #e8f4ff;
  --ink-dim: #9db9d4;
  --accent: #4cc2ff;
  --accent-2: #7fe3ff;
  --card: rgba(255, 255, 255, 0.055);
  --card-border: rgba(127, 227, 255, 0.18);
  --radius: 18px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 700px at 15% 0%, #0d3355 0%, transparent 60%),
    radial-gradient(900px 600px at 90% 15%, #123a5e 0%, transparent 55%),
    linear-gradient(170deg, var(--bg-0) 0%, var(--bg-1) 45%, var(--bg-2) 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- 背景气泡 ---------- */
.bubbles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bubble {
  position: absolute;
  bottom: -60px;
  border-radius: 50%;
  border: 1px solid rgba(127, 227, 255, 0.35);
  background: radial-gradient(circle at 30% 30%, rgba(127, 227, 255, 0.28), rgba(127, 227, 255, 0.02) 70%);
  animation: rise linear infinite;
}

@keyframes rise {
  0%   { transform: translateY(0) translateX(0) scale(0.9); opacity: 0; }
  10%  { opacity: 0.75; }
  90%  { opacity: 0.45; }
  100% { transform: translateY(-108vh) translateX(30px) scale(1.15); opacity: 0; }
}

.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

.glow-a {
  width: 480px; height: 480px;
  top: -160px; left: -120px;
  background: #1e6fa8;
}

.glow-b {
  width: 420px; height: 420px;
  bottom: -180px; right: -100px;
  background: #17557f;
}

/* ---------- 布局 ---------- */
.wrap {
  flex: 1 0 auto;
  position: relative;
  z-index: 1;
  width: min(940px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0 48px;
}

/* ---------- Hero ---------- */
.hero {
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 8px 0 44px;
}

.avatar-ring {
  position: relative;
  flex: 0 0 auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  padding: 5px;
  background: conic-gradient(from 200deg, #4cc2ff, #7fe3ff, #2b7fb8, #4cc2ff);
  box-shadow: 0 0 0 1px rgba(127, 227, 255, 0.25), 0 24px 60px rgba(0, 0, 0, 0.45);
  animation: spin 14s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.avatar {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #06182b;
  animation: spin 14s linear infinite reverse;
}

.status-dot {
  position: absolute;
  right: 10px;
  bottom: 14px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #3ddc97;
  border: 3px solid #06182b;
  box-shadow: 0 0 12px #3ddc97;
}

.hero-text { min-width: 0; }

.kicker {
  margin: 0 0 4px;
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-2);
  opacity: 0.9;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 8vw, 66px);
  line-height: 1.05;
  letter-spacing: 0.02em;
  background: linear-gradient(100deg, #ffffff 10%, #b7e7ff 55%, #6cc8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.wave {
  display: inline-block;
  margin-left: 10px;
  font-size: 0.55em;
  -webkit-text-fill-color: initial;
  animation: bob 2.6s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50%      { transform: translateY(-8px) rotate(6deg); }
}

.tagline {
  margin: 12px 0 18px;
  color: var(--ink-dim);
  font-size: 16px;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  font-size: 12.5px;
  padding: 3px 11px;
  border-radius: 999px;
  color: #bde9ff;
  background: rgba(76, 194, 255, 0.1);
  border: 1px solid rgba(76, 194, 255, 0.28);
}

/* ---------- 卡片 ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 16px;
  padding-bottom: 34px;
}

.card {
  padding: 22px 22px 20px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(127, 227, 255, 0.42);
  background: rgba(255, 255, 255, 0.075);
}

.card h2 {
  margin: 0 0 10px;
  font-size: 17px;
  letter-spacing: 0.04em;
  color: #cfeaff;
}

.card p { margin: 0 0 8px; font-size: 14.5px; color: #c3d8ea; }
.card p:last-child { margin-bottom: 0; }

.muted { color: var(--ink-dim); }
.tiny { font-size: 12.5px; }

.food { list-style: none; margin: 0 0 10px; padding: 0; }

.food li {
  display: grid;
  grid-template-columns: 68px 1fr 44px;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  margin-bottom: 9px;
}

.food-name { color: #bfe6ff; }
.food em { font-style: normal; font-size: 12px; color: var(--ink-dim); text-align: right; }

.food-bar {
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  overflow: hidden;
}

.food-bar i {
  display: block;
  height: 100%;
  width: var(--w, 50%);
  border-radius: 999px;
  transform-origin: left center;
  background: linear-gradient(90deg, #2b8fd0, #7fe3ff);
  animation: fill 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes fill { from { transform: scaleX(0); } }

/* ---------- 投喂区 ---------- */
.feed {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(127, 227, 255, 0.22);
  background:
    linear-gradient(120deg, rgba(76, 194, 255, 0.14), rgba(76, 194, 255, 0.04)),
    rgba(255, 255, 255, 0.04);
}

.feed-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 22px;
}

.feed h2 { margin: 0 0 4px; font-size: 17px; color: #cfeaff; }
.feed p { margin: 0; font-size: 14px; min-height: 1.75em; }

.feed-right { display: flex; align-items: center; gap: 14px; }

.counter { font-size: 14px; color: var(--ink-dim); white-space: nowrap; }
.counter strong { font-size: 22px; color: var(--accent-2); margin-right: 2px; }

.btn {
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 11px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  color: #04202f;
  background: linear-gradient(135deg, #7fe3ff, #33a8e6);
  box-shadow: 0 10px 26px rgba(51, 168, 230, 0.32);
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(51, 168, 230, 0.45); }
.btn:active { transform: translateY(1px) scale(0.98); filter: brightness(1.08); }
.btn:focus-visible { outline: 2px solid #cdf3ff; outline-offset: 3px; }

.tokens { position: absolute; inset: 0; pointer-events: none; }

.token {
  position: absolute;
  font-size: 18px;
  font-weight: 700;
  color: #eaffff;
  text-shadow: 0 0 14px rgba(127, 227, 255, 0.9);
  animation: fly 1.15s ease-out forwards;
}

@keyframes fly {
  0%   { transform: translateY(0) scale(0.7); opacity: 0; }
  20%  { opacity: 1; }
  100% { transform: translateY(-92px) scale(1.1) rotate(12deg); opacity: 0; }
}

/* ---------- 页脚 ---------- */
.foot {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 34px 20px 44px;
  font-size: 13.5px;
  color: var(--ink-dim);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: auto;
}

.foot p { margin: 4px 0; }

/* ---------- 响应式 ---------- */
@media (max-width: 640px) {
  .wrap { padding-top: 52px; }
  .hero { flex-direction: column; text-align: center; gap: 22px; }
  .avatar-ring { width: 148px; height: 148px; }
  .chips { justify-content: center; }
  .feed-inner { flex-direction: column; align-items: flex-start; }
  .feed-right { width: 100%; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  .avatar-ring, .avatar, .wave, .bubble, .token { animation: none !important; }
}

