/* ==========================================================================
   Template 100: 极光流幕 (Aurora Curtains / Aurora Stream)
   Deep Cybernetic Cosmic Abyss + Luminous Undulating Aurora Ribbons
   ========================================================================== */

:root {
  --aurora-bg-deep: #050811;
  --aurora-bg-surface: #0a1120;
  --aurora-bg-card: rgba(13, 22, 40, 0.72);
  --aurora-bg-glass: rgba(15, 26, 48, 0.55);
  
  --aurora-emerald: #10b981;
  --aurora-emerald-glow: rgba(16, 185, 129, 0.35);
  --aurora-cyan: #06b6d4;
  --aurora-cyan-glow: rgba(6, 182, 212, 0.35);
  --aurora-violet: #8b5cf6;
  --aurora-violet-glow: rgba(139, 92, 246, 0.25);
  --aurora-gold: #f59e0b;
  --aurora-gold-glow: rgba(245, 158, 11, 0.4);

  --aurora-border: rgba(6, 182, 212, 0.18);
  --aurora-border-hover: rgba(16, 185, 129, 0.45);
  --aurora-text-bright: #ffffff;
  --aurora-text-main: #e2e8f0;
  --aurora-text-muted: #94a3b8;
  --aurora-text-dim: #64748b;

  --aurora-font-mono: "Space Mono", "JetBrains Mono", Consolas, monospace;
}

/* Base Body Background with Aurora Atmospheric Mist */
body {
  background-color: var(--aurora-bg-deep);
  color: var(--aurora-text-main);
  position: relative;
  overflow-x: hidden;
}

/* Canvas Aurora Container */
#aurora-canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: 0.9;
}

#aurora-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  filter: blur(28px);
}

/* Ambient Cyber Grid Overlay */
.aurora-cyber-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  background-image: 
    linear-gradient(to right, rgba(6, 182, 212, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(16, 185, 129, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 50% 30%, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, black 40%, transparent 85%);
}

/* Aurora Flowing Curtain Ribbon CSS Fallback / Accent Layer */
.aurora-ribbon-blur {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.45;
  animation: auroraFloat 16s ease-in-out infinite alternate;
}

.aurora-ribbon-1 {
  top: -120px;
  left: 15%;
  width: 650px;
  height: 420px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.4) 0%, rgba(6, 182, 212, 0.2) 60%, transparent 80%);
}

.aurora-ribbon-2 {
  top: 180px;
  right: 5%;
  width: 720px;
  height: 480px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.35) 0%, rgba(139, 92, 246, 0.25) 55%, transparent 75%);
  animation-delay: -6s;
}

.aurora-ribbon-3 {
  top: 900px;
  left: 5%;
  width: 680px;
  height: 450px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.22) 0%, rgba(16, 185, 129, 0.2) 60%, transparent 80%);
  animation-delay: -11s;
}

@keyframes auroraFloat {
  0% {
    transform: translateY(0) scale(1) rotate(0deg);
  }
  50% {
    transform: translateY(35px) scale(1.08) rotate(4deg);
  }
  100% {
    transform: translateY(-25px) scale(0.96) rotate(-3deg);
  }
}

/* Aurora Glass Card */
.aurora-card {
  background: var(--aurora-bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--aurora-border);
  border-radius: 16px;
  box-shadow: 0 12px 36px -10px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.aurora-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--aurora-cyan), var(--aurora-emerald), transparent);
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.aurora-card:hover {
  border-color: var(--aurora-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 18px 42px -10px rgba(6, 182, 212, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.aurora-card:hover::before {
  opacity: 1;
}

/* Aurora Shimmer Badge */
.aurora-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  color: #34d399;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.15);
  letter-spacing: 0.5px;
}

.aurora-badge-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: auroraPulse 2s ease-in-out infinite;
}

@keyframes auroraPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.35);
    opacity: 0.65;
  }
}

/* Luminous Action Buttons */
.btn-aurora-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 700;
  color: #04101e;
  background: linear-gradient(135deg, #10b981 0%, #06b6d4 50%, #38bdf8 100%);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.btn-aurora-primary::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: rotate(30deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.btn-aurora-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.5);
  color: #02070e;
}

.btn-aurora-primary:hover::after {
  opacity: 1;
  transform: rotate(30deg) translate(20%, 20%);
}

.btn-aurora-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  font-size: 15px;
  font-weight: 600;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(6, 182, 212, 0.28);
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.btn-aurora-secondary:hover {
  background: rgba(6, 182, 212, 0.12);
  border-color: var(--aurora-cyan);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.2);
}

.btn-aurora-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 700;
  color: #1a0f00;
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #fef08a 100%);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 22px rgba(245, 158, 11, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: all 0.25s ease;
}

.btn-aurora-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(245, 158, 11, 0.6);
  color: #000;
}
