:root {
  --white: #fff;
  --line: rgba(255, 255, 255, 0.55);
  --glass: rgba(18, 18, 22, 0.42);
  --glass-hover: rgba(255, 255, 255, 0.16);
  --blue: #3385ff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: var(--white);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(8, 16, 36, 0.28) 0%, rgba(42, 24, 18, 0.22) 45%, rgba(18, 12, 28, 0.45) 100%),
    url("https://images.unsplash.com/photo-1500534314209-a25ddb2bd429?auto=format&fit=crop&w=1920&q=80")
      center / cover no-repeat;
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 42%, rgba(0, 0, 0, 0.38) 100%);
}

.snow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.snow span {
  position: absolute;
  top: -12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  animation: fall linear infinite;
}

.snow span:nth-child(odd) {
  width: 4px;
  height: 4px;
  opacity: 0.55;
}

.snow span:nth-child(3n) {
  width: 8px;
  height: 8px;
  opacity: 0.35;
}

.snow span:nth-child(1) { left: 4%; animation-duration: 11s; animation-delay: -2s; }
.snow span:nth-child(2) { left: 8%; animation-duration: 14s; animation-delay: -6s; }
.snow span:nth-child(3) { left: 13%; animation-duration: 9s; animation-delay: -1s; }
.snow span:nth-child(4) { left: 18%; animation-duration: 16s; animation-delay: -8s; }
.snow span:nth-child(5) { left: 22%; animation-duration: 12s; animation-delay: -3s; }
.snow span:nth-child(6) { left: 27%; animation-duration: 15s; animation-delay: -10s; }
.snow span:nth-child(7) { left: 31%; animation-duration: 10s; animation-delay: -4s; }
.snow span:nth-child(8) { left: 36%; animation-duration: 18s; animation-delay: -7s; }
.snow span:nth-child(9) { left: 41%; animation-duration: 13s; animation-delay: -1.5s; }
.snow span:nth-child(10) { left: 45%; animation-duration: 11s; animation-delay: -9s; }
.snow span:nth-child(11) { left: 50%; animation-duration: 17s; animation-delay: -5s; }
.snow span:nth-child(12) { left: 54%; animation-duration: 12s; animation-delay: -2.2s; }
.snow span:nth-child(13) { left: 59%; animation-duration: 14s; animation-delay: -11s; }
.snow span:nth-child(14) { left: 63%; animation-duration: 9s; animation-delay: -0.8s; }
.snow span:nth-child(15) { left: 68%; animation-duration: 16s; animation-delay: -6.4s; }
.snow span:nth-child(16) { left: 72%; animation-duration: 13s; animation-delay: -3.3s; }
.snow span:nth-child(17) { left: 76%; animation-duration: 15s; animation-delay: -8.1s; }
.snow span:nth-child(18) { left: 81%; animation-duration: 10s; animation-delay: -1.1s; }
.snow span:nth-child(19) { left: 85%; animation-duration: 18s; animation-delay: -12s; }
.snow span:nth-child(20) { left: 89%; animation-duration: 11s; animation-delay: -4.7s; }
.snow span:nth-child(21) { left: 93%; animation-duration: 14s; animation-delay: -2.8s; }
.snow span:nth-child(22) { left: 11%; animation-duration: 19s; animation-delay: -13s; }
.snow span:nth-child(23) { left: 48%; animation-duration: 8s; animation-delay: -0.4s; }
.snow span:nth-child(24) { left: 97%; animation-duration: 12s; animation-delay: -5.5s; }
.snow span:nth-child(25) { left: 2%; animation-duration: 20s; animation-delay: -15s; }
.snow span:nth-child(26) { left: 34%; animation-duration: 21s; animation-delay: -9.2s; }
.snow span:nth-child(27) { left: 66%; animation-duration: 22s; animation-delay: -14s; }
.snow span:nth-child(28) { left: 78%; animation-duration: 9.5s; animation-delay: -3.8s; }
.snow span:nth-child(29) { left: 16%; animation-duration: 13.5s; animation-delay: -7.6s; }
.snow span:nth-child(30) { left: 91%; animation-duration: 16.5s; animation-delay: -1.9s; }

@keyframes fall {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  100% {
    transform: translateY(110vh) translateX(28px);
    opacity: 0.15;
  }
}

.page {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.line-v {
  width: 1px;
  background: var(--line);
}

.line-v-top {
  height: 28px;
}

.line-h {
  width: min(420px, 72vw);
  height: 1px;
  background: var(--line);
}

.line-h-bottom {
  margin-top: 18px;
}

.desc {
  max-width: 560px;
  margin-top: 18px;
  padding: 0 12px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.from {
  margin-top: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.search {
  display: flex;
  width: min(640px, 100%);
  margin: 36px 0 36px;
  height: 44px;
  border-radius: 999px;
  overflow: hidden;
  background: #f5f5f5;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.search-engine {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  padding: 0 14px;
  background: #fff;
  color: var(--blue);
  font-size: 15px;
  font-weight: 600;
}

.search input {
  flex: 1;
  border: 0;
  outline: none;
  background: #f3f3f3;
  padding: 0 14px;
  font-size: 14px;
  color: #222;
}

.search button {
  min-width: 88px;
  border: 0;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  cursor: pointer;
}

.search button:hover {
  background: #2b74e4;
}

.boards {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 32px;
}

.board h2 {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.links a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 6px 8px;
  font-size: 13px;
  border-radius: 4px;
  background: var(--glass);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease, transform 0.2s ease;
}

.links a:hover {
  background: var(--glass-hover);
  transform: translateY(-1px);
}

footer {
  margin-top: 48px;
  text-align: center;
  font-size: 12px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 960px) {
  .boards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .boards {
    grid-template-columns: 1fr;
  }
}
