body{
  margin: 0;
}

.loader-container {
  display: flex;
  width: 100%;
  height: 100%;
  overflow: hidden;
  min-height: 100vh;
  background: radial-gradient(circle at center, #1b4d3e, #0c2e25 70%);
  position: relative;
}

/* 背景網格效果 */
.loader-container::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(16, 185, 129, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 185, 129, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  opacity: 0.5;
}

.loader {
  position: relative;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  z-index: 10;
}

.logo-animation {
  width: 120px;
  height: 120px;
  filter: drop-shadow(0 0 20px rgba(16, 185, 129, 0.4));
  animation: logoPulse 2s ease-in-out infinite;
}

.loading-text {
  color: #a7f3d0;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  animation: textFade 2s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 20px rgba(16, 185, 129, 0.4));
  }
  50% {
    transform: scale(1.1);
    filter: drop-shadow(0 0 30px rgba(16, 185, 129, 0.6));
  }
}

@keyframes textFade {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}
