/* モノクロのカッコいいLoading */
.cow-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.8s ease-out;
}

.cow-preloader.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-container {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* メインのローディングアニメーション */
.loading-circle {
  position: relative;
  width: 80px;
  height: 80px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid #ffffff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 30px;
}

.loading-circle::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

/* テキスト */
.loading-text {
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
  font-weight: 300;
  color: #ffffff;
  letter-spacing: 3px;
  text-align: center;
  animation: textFade 2s infinite ease-in-out;
}

/* アニメーション */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.05);
  }
}

@keyframes textFade {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .loading-container {
    width: 150px;
    height: 150px;
  }
  
  .loading-circle {
    width: 60px;
    height: 60px;
  }
  
  .loading-text {
    font-size: 16px;
  }
} 