@font-face {
  font-family: 'ZCOOL KuaiLe';
  src: url('./fonts/ZCOOLKuaiLe-Regular.woff2') format('woff2');
  font-display: swap;
}

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

body, html {
  height: 100%;
  font-family: 'Orbitron', sans-serif;
  color: #fff;
  background-color: #000;
  position: relative;
  overflow-x: hidden;
}


/* ✅ 强制所有元素继承 Orbitron 字体 */
body, html, h1, h2, h3, h4, h5, h6, p, a, span, button, div {
  font-family: 'Orbitron', sans-serif;
}
.gradient-bg {
  position: fixed;
  z-index: -1;
  width: 200%;
  height: 200%;
  background: linear-gradient(270deg, #00f, #0ff, #f0f, #f00, #ff0, #0f0);
  background-size: 1200% 1200%;
  animation: gradient 30s ease infinite;
  filter: blur(50px);
  transform: scale(1.2);
}

@keyframes gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.navbar {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.navbar a {
  color: #0ff;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s ease;
}

.navbar a:hover {
  color: #fff;
}

.pink-text {
  color: #ff69b4;
  font-size: 3rem;
  text-align: center;
  margin-bottom: 10px;
  font-family: 'ZCOOL KuaiLe', sans-serif;
}

.center-text {
  height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.cyber-text {
  font-size: 2rem;
  text-align: center;
  animation: colorCycle 5s infinite linear;
}

.cyber-text.delay {
  animation-delay: 2s;
}

@keyframes colorCycle {
  0% { color: #f0f; }
  25% { color: #0ff; }
  50% { color: #0f0; }
  75% { color: #ff0; }
  100% { color: #f0f; }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 60px;
}

.member-card {
  background-color: rgba(255,255,255,0.05);
  border: 1px solid #0ff;
  padding: 20px;
  border-radius: 12px;
  width: 200px;
  text-align: center;
  font-size: 20px;
  backdrop-filter: blur(5px);
  transition: transform 0.3s;
}

.member-card:hover {
  transform: scale(1.05);
}

.timeline {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 80px;
  gap: 20px;
}

.event {
  background-color: rgba(0,0,0,0.6);
  border-left: 4px solid #0ff;
  padding: 10px 20px;
  width: 60%;
  font-size: 18px;
}

.comments-section {
  width: 80%;
  max-width: 600px;
  margin: 40px auto;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #0ff;
  border-radius: 12px;
  backdrop-filter: blur(5px);
}

.comments-section h2 {
  color: #0ff;
  margin-bottom: 20px;
  text-align: center;
}

#comment-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#comment-form input,
#comment-form textarea {
  padding: 10px;
  border-radius: 8px;
  border: none;
  resize: none;
  font-size: 16px;
}

#comment-form button {
  padding: 10px;
  background: #0ff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  color: #000;
  font-weight: bold;
}

#comments-list {
  margin-top: 30px;
}
.comment {
  background: rgba(255, 255, 255, 0.08);
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 8px;
}

/* --- 微博式广场 --- */
.composer {
  max-width: 700px; margin: 100px auto 20px; padding:16px;
  background: rgba(255,255,255,0.06); border-radius: 12px; backdrop-filter: blur(6px);
}
.composer-head { display:flex; gap:12px; align-items:center; margin-bottom:10px; }
.composer .avatar { width:40px; height:40px; border-radius:50%; object-fit:cover; }
.composer input, .composer textarea {
  width:100%; padding:10px; border-radius:8px;
  border:1px solid rgba(255,255,255,0.2); background: rgba(0,0,0,0.2); color:#fff;
}
.upload-inline { display:flex; gap:12px; align-items:center; margin:8px 0 4px; flex-wrap:wrap; }
.hint { margin-left:6px; color:#9ee; font-size:12px; }
.btn { padding:8px 16px; border:none; border-radius:8px; background:#222; color:#ddd; cursor:pointer; }
.btn.primary { background:#0ff; color:#000; font-weight:700; }

.feed { max-width: 700px; margin: 0 auto 60px; display:grid; gap:12px; }
.post-card { background: rgba(255,255,255,0.06); border-radius:12px; padding:12px 14px; }
.post-head { display:flex; gap:12px; align-items:center; margin-bottom:8px; }
.post-head .avatar { width:42px; height:42px; border-radius:50%; object-fit:cover; }
.post-head .meta .author { font-weight:700; }
.post-head .meta .time { font-size:12px; color:#bbb; }
.content { white-space:pre-wrap; line-height:1.6; margin:6px 0; }
.post-image img { width:100%; border-radius:10px; margin-top:8px; display:block; }
.actions { display:flex; gap:12px; margin-top:10px; }
.action { background:transparent; border:1px solid rgba(255,255,255,0.2); color:#ddd; border-radius:8px; padding:6px 10px; cursor:pointer; }
.load-more { display:block; margin: 0 auto 80px; padding:8px 16px; border:none; border-radius:8px; background:#0ff; color:#000; font-weight:700; cursor:pointer; }
