:root {
  --bg-top: #fff3a7;
  --bg-mid: #ffd19e;
  --bg-bottom: #f8f8f8;
  --card-bg: rgba(255, 255, 255, 0.9);
  --line: rgba(0, 0, 0, 0.08);
  --text-main: #222;
  --text-sub: #656565;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: var(--text-main);
}

body {
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(255, 255, 255, 0.8), transparent 68%),
    linear-gradient(180deg, var(--bg-top), var(--bg-mid) 34%, var(--bg-bottom) 70%);
  padding: 22px 14px 36px;
}

.page {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
}

.card {
  background: var(--card-bg);
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.profile {
  text-align: center;
  padding: 20px 18px 16px;
}

.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  margin-bottom: 10px;
}

.title {
  font-size: 22px;
  line-height: 1.2;
}

.subtitle {
  margin-top: 4px;
  font-size: 15px;
  color: #ef6a4a;
  font-weight: 600;
}

.desc {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-sub);
}

.domain {
  margin-top: 10px;
  font-size: 13px;
  color: #444;
}

.tips {
  margin-top: 6px;
  font-size: 13px;
  color: #d95f34;
}

.link-list {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.link-item {
  text-decoration: none;
  color: #232323;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 14px;
  min-height: 62px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.link-main {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.item-logo {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  margin-right: 10px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 4px 10px rgba(0, 0, 0, 0.18);
}

.item-logo::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: 3px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
}

.logo-shop1 { background: linear-gradient(135deg, #ff8a00, #ff4d4f); }
.logo-shop2 { background: linear-gradient(135deg, #3aa0ff, #0066ff); }
.logo-shop3 { background: linear-gradient(135deg, #6fba2c, #16a34a); }
.logo-join { background: linear-gradient(135deg, #7e57c2, #5b3db6); }
.logo-free { background: linear-gradient(135deg, #18b67a, #059669); }
.logo-notice { background: linear-gradient(135deg, #ff6a3d, #ef4444); }
.logo-info { background: linear-gradient(135deg, #0ea5e9, #2563eb); }
.logo-tg { background: linear-gradient(135deg, #2aabee, #1d8cd8); }
.logo-qq { background: linear-gradient(135deg, #2d87ff, #1662d9); }

.link-item:hover,
.link-item:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.18);
}

.link-copy {
  display: grid;
  min-width: 0;
}

.link-title {
  font-size: 15px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.link-sub {
  margin-top: 2px;
  font-size: 12px;
  color: #8a8a8a;
  line-height: 1.2;
}

.link-arrow {
  font-size: 22px;
  color: #888;
  line-height: 1;
}

.brand {
  margin-top: 18px;
  text-align: center;
  opacity: 0.85;
}

.brand-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: linear-gradient(135deg, #ff6a3d, #7c3aed);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(83, 36, 150, 0.25);
}

.brand-text {
  margin-top: 6px;
  font-size: 12px;
  color: #666;
  letter-spacing: 0.2px;
}

.reveal {
  opacity: 0;
  transform: translateY(8px);
  animation: rise-in 0.45s ease forwards;
}

.link-list .reveal:nth-child(1) { animation-delay: 0.06s; }
.link-list .reveal:nth-child(2) { animation-delay: 0.1s; }
.link-list .reveal:nth-child(3) { animation-delay: 0.14s; }
.link-list .reveal:nth-child(4) { animation-delay: 0.18s; }
.link-list .reveal:nth-child(5) { animation-delay: 0.22s; }
.link-list .reveal:nth-child(6) { animation-delay: 0.26s; }
.link-list .reveal:nth-child(7) { animation-delay: 0.3s; }
.link-list .reveal:nth-child(8) { animation-delay: 0.34s; }
.link-list .reveal:nth-child(9) { animation-delay: 0.38s; }

@keyframes rise-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 420px) {
  body {
    padding: 14px 10px 28px;
  }

  .profile {
    padding: 16px 14px 12px;
  }

  .title {
    font-size: 20px;
  }

  .link-title {
    font-size: 14px;
  }

  .link-sub {
    font-size: 11px;
  }
}
