/* 科幻主题变量 */
$neon-blue: #0ff;
$neon-purple: #f0f;
$dark-bg: #0a0a12;
$panel-bg: rgba(10, 10, 25, 0.8);
$text-glow: 0 0 8px;

/* 基础容器 */
.cyber-container {
  position: relative;
  height: 100vh;
  background: $dark-bg;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  font-family: 'Rajdhani', 'Arial Narrow', sans-serif;
}

/* 全息投影背景 */
.holographic-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 30% 50%, rgba($neon-blue, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 70% 50%, rgba($neon-purple, 0.1) 0%, transparent 40%);
  animation: hologram-pulse 8s infinite alternate;
}

/* 主面板样式 */
.cyber-panel {
  position: relative;
  width: 90%;
  max-width: 500px;
  padding: 30px;
  background: $panel-bg;
  border: 1px solid rgba($neon-blue, 0.3);
  box-shadow: 0 0 30px rgba($neon-blue, 0.2),
             0 0 15px rgba($neon-purple, 0.1) inset;
  backdrop-filter: blur(5px);
  z-index: 2;
}

/* 科幻标题 */
.cyber-title {
  color: white;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  
  .glow-text {
    text-shadow: $text-glow $neon-blue;
    font-size: 24px;
    letter-spacing: 2px;
  }
  
  .title-underline {
    height: 2px;
    width: 100px;
    background: linear-gradient(90deg, transparent, $neon-blue, $neon-purple, transparent);
    margin: 10px auto;
    animation: underline-glow 3s infinite;
  }
}

/* 卡片容器 */
.cyber-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 科幻卡片 */
.cyber-card {
  position: relative;
  padding: 25px;
  background: rgba(15, 15, 30, 0.7);
  border: 1px solid rgba($neon-blue, 0.2);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s;
  overflow: hidden;
  
  &:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba($neon-blue, 0.3);
    
    .card-glow {
      opacity: 1;
    }
  }
}

/* 图标样式 */
.card-icon {
  font-size: 40px;
  margin-bottom: 15px;
  
  &.pulse-blue {
    color: $neon-blue;
    animation: pulse 2s infinite;
  }
  
  &.pulse-purple {
    color: $neon-purple;
    animation: pulse 2s infinite 0.5s;
  }
}

/* 文字样式 */
.cyber-heading {
  color: white;
  margin-bottom: 8px;
  font-size: 18px;
  letter-spacing: 1px;
}

.cyber-desc {
  color: rgba(white, 0.7);
  font-size: 14px;
  margin: 0;
}

/* 卡片发光效果 */
.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba($neon-blue, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}

/* 底部样式 */
.cyber-footer {
  margin-top: 30px;
  position: relative;
  
  .scanline {
    height: 1px;
    background: linear-gradient(90deg, transparent, $neon-blue, transparent);
    margin-bottom: 15px;
    animation: scanline 3s linear infinite;
  }
  
  .cyber-copyright {
    color: rgba(white, 0.5);
    font-size: 12px;
    letter-spacing: 1px;
  }
}

/* 动画定义 */
@keyframes hologram-pulse {
  0% { opacity: 0.8; }
  100% { opacity: 1; }
}

@keyframes pulse {
  0% { text-shadow: 0 0 5px currentColor; }
  50% { text-shadow: 0 0 15px currentColor; }
  100% { text-shadow: 0 0 5px currentColor; }
}

@keyframes underline-glow {
  0% { opacity: 0.5; width: 100px; }
  50% { opacity: 1; width: 150px; }
  100% { opacity: 0.5; width: 100px; }
}

@keyframes scanline {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* 响应式调整 */
@media (max-width: 480px) {
  .cyber-panel {
    padding: 20px;
  }
  
  .cyber-title .glow-text {
    font-size: 20px;
  }
  
  .card-icon {
    font-size: 32px;
  }
}