.modern-loading-container {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.modern-loading-main {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 40px;
}

.modern-loading-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid transparent;
  border-top: 2px solid #667eea;
  border-radius: 50%;
  animation: modernSpin 3s linear infinite;
  opacity: 0.8;
}

.modern-loading-ring:nth-child(2) {
  width: 70%;
  height: 70%;
  top: 15%;
  left: 15%;
  border-top: 2px solid rgba(102, 126, 234, 0.6);
  animation: modernSpin 2s linear infinite reverse;
  opacity: 0.6;
}

.modern-loading-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: #667eea;
  border-radius: 50%;
  animation: modernPulse 2s ease-in-out infinite;
  opacity: 0.9;
}

.modern-brand-container {
  text-align: center;
  margin-bottom: 30px;
}

.modern-logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: logoGentleFloat 4s ease-in-out infinite;
}

.modern-logo-svg {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.08));
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: logoBreath 3s ease-in-out infinite;
}

.modern-logo-text {
  font-size: 28px;
  font-weight: 700;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.modern-title {
  font-size: 28px;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.modern-subtitle {
  font-size: 16px;
  color: #718096;
  font-weight: 500;
}

.modern-progress-container {
  width: 200px;
  text-align: center;
}

.modern-progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.modern-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #667eea 0%, rgba(102, 126, 234, 0.8) 100%);
  border-radius: 2px;
  animation: modernProgress 2.5s ease-in-out infinite;
  box-shadow: 0 1px 2px rgba(102, 126, 234, 0.3);
}

.modern-progress-text {
  font-size: 14px;
  color: #4a5568;
  font-weight: 500;
}

.modern-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.modern-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: linear-gradient(45deg, #667eea, #764ba2);
  border-radius: 50%;
  opacity: 0.6;
}

.modern-particle:nth-child(1) {
  left: 20%;
  animation: modernFloat1 4s ease-in-out infinite;
}

.modern-particle:nth-child(2) {
  left: 40%;
  animation: modernFloat2 3s ease-in-out infinite 0.5s;
}

.modern-particle:nth-child(3) {
  left: 60%;
  animation: modernFloat3 5s ease-in-out infinite 1s;
}

.modern-particle:nth-child(4) {
  left: 80%;
  animation: modernFloat1 3.5s ease-in-out infinite 1.5s;
}

@keyframes modernSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes modernPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.9;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 0.6;
  }
}

@keyframes logoGentleFloat {
  0%, 100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.02);
  }
}

@keyframes logoBreath {
  0%, 100% {
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.08));
  }
  50% {
    filter: drop-shadow(0 6px 30px rgba(0, 0, 0, 0.12));
  }
}

@keyframes modernProgress {
  0% {
    width: 0%;
    opacity: 1;
  }
  50% {
    width: 70%;
    opacity: 0.8;
  }
  100% {
    width: 100%;
    opacity: 1;
  }
}

@keyframes modernFloat1 {
  0%, 100% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10%, 90% {
    opacity: 0.6;
  }
  50% {
    transform: translateY(-10px) rotate(180deg);
    opacity: 1;
  }
}

@keyframes modernFloat2 {
  0%, 100% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10%, 90% {
    opacity: 0.4;
  }
  50% {
    transform: translateY(-20px) rotate(270deg);
    opacity: 0.8;
  }
}

@keyframes modernFloat3 {
  0%, 100% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10%, 90% {
    opacity: 0.5;
  }
  50% {
    transform: translateY(-15px) rotate(360deg);
    opacity: 0.9;
  }
}

/* 响应式设计 */
@media (max-width: 768px) {
  .modern-loading-main {
    width: 100px;
    height: 100px;
  }
  
  .modern-title {
    font-size: 24px;
  }
  
  .modern-subtitle {
    font-size: 14px;
  }
  
  .modern-progress-container {
    width: 160px;
  }
}
