/* 基础样式 */
:root {
  --primary: #00d4ff;
  --secondary: #7c3aed;
  --accent: #f472b6;
  --bg: #0a0a0f;
  --text: #fff;
  --muted: rgba(255,255,255,0.5);
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow: hidden;
}

/* 背景网格 */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0,212,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

/* 鼠标跟随 */
.bg-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,212,255,0.15) 0%, rgba(124,58,237,0.1) 40%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* 浮动光球 */
.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  animation: float 20s ease-in-out infinite;
}

.orb-1 { width: 500px; height: 500px; background: rgba(0,212,255,0.15); top: -150px; right: -150px; }
.orb-2 { width: 400px; height: 400px; background: rgba(124,58,237,0.15); bottom: -100px; left: -100px; animation-delay: -7s; }
.orb-3 { width: 300px; height: 300px; background: rgba(244,114,182,0.1); top: 40%; left: 5%; animation-delay: -14s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -20px); }
}

/* 粒子 */
.bg-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0;
  animation: particleUp linear infinite;
}

.particle:nth-child(even) { background: var(--secondary); }
.particle:nth-child(3n) { background: var(--accent); }

@keyframes particleUp {
  0% { transform: translateY(100vh); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { transform: translateY(-100vh); opacity: 0; }
}

/* 装饰圆环 */
.deco-ring {
  position: fixed;
  border: 1px solid rgba(0,212,255,0.1);
  border-radius: 50%;
  pointer-events: none;
}

/* 数据流 */
.data-flow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.data-col {
  position: absolute;
  top: -100%;
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  line-height: 1.8;
  white-space: pre;
  animation: flowDown linear infinite;
  letter-spacing: 3px;
}

@keyframes flowDown {
  0% { transform: translateY(0); }
  100% { transform: translateY(calc(200vh + 100%)); }
}

.ring-1 {
  width: 600px; height: 600px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: ringPulse 8s ease-in-out infinite;
}

.ring-2 {
  width: 800px; height: 800px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-color: rgba(124,58,237,0.08);
  animation: ringPulse 10s ease-in-out infinite reverse;
}

.ring-3 {
  width: 1000px; height: 1000px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-color: rgba(244,114,182,0.05);
  animation: ringPulse 12s ease-in-out infinite;
}

@keyframes ringPulse {
  0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.02); }
}

/* 主容器 */
.main-container {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 120px;
  z-index: 10;
}

/* 侧边信息 */
.side {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.info-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  animation: fadeSlide 0.6s ease-out backwards;
}

.side.left .info-block:nth-child(1) { animation-delay: 0.2s; }
.side.left .info-block:nth-child(2) { animation-delay: 0.4s; }
.side.right .info-block:nth-child(1) { animation-delay: 0.3s; }
.side.right .info-block:nth-child(2) { animation-delay: 0.5s; }

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.info-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
}

.info-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  position: relative;
}

.info-value::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), transparent);
}

/* 中央内容 */
.center-content {
  text-align: center;
  animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* Logo */
.logo-area {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto 35px;
}

.orbit-ring {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(0,212,255,0.2);
  border-radius: 50%;
  animation: spin 12s linear infinite;
}

.orbit-ring::before {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 20px var(--primary);
}

.ring-inner {
  inset: 20px;
  border-color: rgba(124,58,237,0.2);
  animation-duration: 18s;
  animation-direction: reverse;
}

.ring-inner::before {
  background: var(--secondary);
  box-shadow: 0 0 15px var(--secondary);
  width: 8px;
  height: 8px;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.core-logo {
  position: absolute;
  width: 80px;
  height: 80px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 3s ease-in-out infinite;
}

.core-logo svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 25px rgba(0,212,255,0.6));
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.1); }
}

/* 标题 */
.main-title {
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: 0.35em;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #fff, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.website-name {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  margin-bottom: 10px;
  color: var(--text);
}

.subtitle {
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  color: var(--muted);
  margin-bottom: 30px;
}

/* 技术标签 */
.tech-tags {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.tag {
  padding: 10px 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  transition: all 0.3s;
  cursor: default;
}

.tag:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(0,212,255,0.1);
  transform: translateY(-3px);
}

/* 底部光线 */
.bottom-line {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), var(--accent), transparent);
  z-index: 10;
}

/* 备案 */
.filing {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
}

.filing a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
  padding: 8px 20px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 25px;
  background: rgba(10,10,15,0.9);
  transition: all 0.3s;
}

.filing a:hover {
  color: var(--primary);
  border-color: var(--primary);
}

/* 响应式 */
@media (max-width: 900px) {
  .side { display: none; }
  .main-container { gap: 0; }
  .main-title { font-size: 3rem; }
  .logo-area { width: 150px; height: 150px; }
  .core-logo { width: 65px; height: 65px; }
  .deco-ring { display: none; }
}

@media (max-width: 480px) {
  .main-title { font-size: 2.2rem; }
  .website-name { font-size: 1.2rem; }
}
