body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, sans-serif;
  color: white;
  position: relative;
  overflow-x: hidden;
}

/* ================= 背景 ================= */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("assets/bg.jpg") center/cover no-repeat;
  z-index: -2;
  animation: floatBg 14s ease-in-out infinite alternate;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: -1;
}

@keyframes floatBg {
  from { transform: translateY(0) scale(1.05); }
  to   { transform: translateY(-30px) scale(1.1); }
}

/* ================= 主体 ================= */
.container {
  text-align: center;
  padding: 90px 20px 50px;
}

/* 头像 */
.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,0.3);
  margin-bottom: 20px;
}

/* 标题 */
h1 {
  font-size: 32px;
  margin: 10px 0 16px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

/* 副标题 */
.sub {
  color: #ddd;
  margin-bottom: 35px;
}

/* ================= 项目卡片 ================= */
.card {
  display: inline-block;
  background: rgba(22, 27, 34, 0.6);
  backdrop-filter: blur(10px);
  padding: 18px 26px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: 0.25s;
}

.card:hover {
  transform: translateY(-5px);
  background: rgba(33, 38, 45, 0.8);
}

.card a {
  color: white;
  text-decoration: none;
  font-size: 16px;
}

/* ================= 支持模块 ================= */
.support {
  margin-top: 30px;
  text-align: center;
}

.support-desc {
  font-size: 13px;
  color: #ddd;
  margin-bottom: 15px;
}

.support-btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 10px;
  border: none;

  background: linear-gradient(135deg, #ffb347, #ffcc33);
  color: #000;
  font-weight: bold;

  cursor: pointer;
  transition: 0.2s;
}

.support-btn:hover {
  transform: scale(1.05);
  filter: brightness(1.05);
}

/* ================= 弹窗 ================= */
.modal {
  display: none;
  position: fixed;
  inset: 0;

  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);

  justify-content: center;
  align-items: center;
}

.modal-box {
  background: rgba(20,20,20,0.95);
  padding: 25px;
  border-radius: 15px;
  text-align: center;
}

.qr-list {
  display: flex;
  gap: 20px;
  margin-top: 15px;
}

.qr-list img {
  width: 140px;
  border-radius: 10px;
}

/* ================= footer ================= */
.footer {
  margin-top: 60px;
  color: #ddd;
  font-size: 14px;
}

/* ================= 光标 ================= */
.cursor {
  display: inline-block;
  margin-left: 2px;
  animation: blink 0.8s infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* ================= 菜单 ================= */
.menu {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 999;
}

.menu-btn {
  font-size: 26px;
  cursor: pointer;
  padding: 8px 12px;
  background: rgba(0,0,0,0.4);
  border-radius: 8px;
  user-select: none;
  transition: 0.2s;
}

.menu-btn:hover {
  background: rgba(255,255,255,0.12);
}

.menu-list {
  position: absolute;
  right: 0;
  margin-top: 10px;
  min-width: 160px;

  background: rgba(22, 27, 34, 0.9);
  backdrop-filter: blur(10px);

  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);

  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;

  transition: all 0.25s ease;
}

.menu-list.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.menu-list a {
  display: block;
  padding: 10px 14px;
  color: white;
  text-decoration: none;
  font-size: 14px;
}

.menu-list a:hover {
  background: rgba(255,255,255,0.1);
}

/* ================= 手机优化 ================= */
@media (max-width: 600px) {

  .container {
    padding-top: 110px;
  }

  h1 {
    font-size: 26px;
  }

  .avatar {
    width: 110px;
    height: 110px;
  }

  .card {
    padding: 16px 22px;
  }

  .qr-list img {
    width: 120px;
  }

  .menu {
    top: 14px;
    right: 14px;
  }
}