@charset "UTF-8";

/* ===========================
   Splash Overlay
=========================== */
.splash-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.55) 0%,
      rgba(0, 0, 0, 0.65) 50%,
      rgba(0, 0, 0, 0.85) 100%
    ),
    url("../img/splash.png") center center / cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 40px 24px;
  text-align: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.splash-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-overlay-logo {
  width: min(420px, 80vw);
  opacity: 0;
  transform: translateY(16px);
  animation: splashFadeIn 1.2s ease forwards 0.3s;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.4));
}

.splash-overlay-choices {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: splashFadeIn 1s ease forwards 0.8s;
}

@keyframes splashFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

.splash-overlay-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 220px;
  padding: 32px 24px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #ffffff;
  text-decoration: none;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
  font-family: "Cormorant Garamond", "Noto Serif JP", serif;
}

.splash-overlay-btn:hover {
  border-color: #b8965a;
  background: rgba(184, 150, 90, 0.15);
  transform: translateY(-4px);
}

.splash-overlay-btn-en {
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: #b8965a;
}

.splash-overlay-btn-ja {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.8);
}

.splash-overlay-btn-desc {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}

.splash-overlay-btn-arrow {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s;
}

.splash-overlay-btn:hover .splash-overlay-btn-arrow {
  color: #b8965a;
}

@media (max-width: 480px) {
  .splash-overlay-choices {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .splash-overlay-btn {
    width: 280px;
  }
}