:root {
  --neon-blue:   #00d4ff;
  --neon-cyan:   #00ffcc;
  --neon-purple: #a855f7;
  --neon-gold:   #ffd700;
}

*, *::before, *::after { box-sizing: border-box; }

body, html {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  overflow: hidden;
  font-family: '微软雅黑', '黑体', sans-serif;
}

#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.title, .title2 {
  text-align: center;
  font-family: '微软雅黑', '黑体', sans-serif;
  font-weight: 900;
  position: relative;
  z-index: 1;
}

.title {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.15;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #ffffff 0%, var(--neon-blue) 50%, var(--neon-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 18px rgba(0, 212, 255, 0.6));
}

.title::before,
.title::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  background: linear-gradient(135deg, #ffffff 0%, var(--neon-blue) 50%, var(--neon-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title::before {
  animation: glitch1 4s infinite;
  clip-path: polygon(0 20%, 100% 20%, 100% 40%, 0 40%);
}

.title::after {
  animation: glitch2 4s infinite;
  clip-path: polygon(0 60%, 100% 60%, 100% 80%, 0 80%);
}

@keyframes glitch1 {
  0%, 90%, 100% { transform: none; opacity: 0; }
  92%           { transform: translate(-3px, 1px); opacity: 0.7; }
  94%           { transform: translate(3px, -1px); opacity: 0.7; }
  96%           { transform: none; opacity: 0; }
}

@keyframes glitch2 {
  0%, 93%, 100% { transform: none; opacity: 0; }
  95%           { transform: translate(3px, 2px); opacity: 0.5; }
  97%           { transform: translate(-3px, -2px); opacity: 0.5; }
  99%           { transform: none; opacity: 0; }
}

.title2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: lighter;
  color: var(--neon-cyan);
  letter-spacing: 0.1em;
  text-shadow: 0 0 12px rgba(0, 255, 204, 0.7);
}

.icon-container {
  margin: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 15px;
  position: relative;
  z-index: 1;
}

.icon {
  width: 100px;
  height: 100px;
  transition: transform 0.3s ease;
  display: block;
  position: relative;
  border-radius: 50%;
}

.icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: linear-gradient(135deg, rgba(0,212,255,0), rgba(0,212,255,0)) border-box;
  opacity: 0;
  transition: opacity 0.3s ease, box-shadow 0.3s ease;
  pointer-events: none;
}

.icon:hover {
  transform: scale(1.2);
}

.icon:hover::after {
  opacity: 1;
  box-shadow: 0 0 8px rgba(0, 212, 255, 0.55), 0 0 14px rgba(0, 212, 255, 0.2);
}

.icon img {
  width: 100%;
  border-radius: 50%;
  transition: filter 0.3s ease;
  display: block;
}

.icon:hover img {
  filter: brightness(150%);
}

.pic {
  width: 100%;
  max-width: 600px;
  margin: 20px auto;
  overflow: hidden;
  position: relative;
  z-index: 1;
  border-radius: 10px;
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.25), 0 0 48px rgba(0, 212, 255, 0.1);
}

.carousel-inner {
  display: flex;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.carousel-inner a {
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

.carousel-inner img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.carousel-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #00d4ff, #00ffcc);
  box-shadow: 0 0 8px rgba(0, 212, 255, 0.8);
  transition: width 0.1s linear;
}

@media (max-width: 768px) {
  .title { font-size: 1.5rem; }
  .title2 { font-size: 1rem; }
  .icon-container { gap: 10px; }
  .icon { width: 50px; height: 50px; }
}
