/* ==========================================================================
   KanaGate - Ultra-Minimalist Placeholder Page Styles
   Aesthetic: Japanese Minimalism, Seigaiha Pattern, Deep Obsidian Canvas
   ========================================================================== */

/* Ambient Japanese Seigaiha Waves - Direct Absolute Asset Paths to avoid theme desync */
.ambient-seigaiha {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: url('/assets/Seigaiha-dark.svg');
  background-size: 100px 60px;
  background-repeat: repeat;
  opacity: 0.22;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.85) 15%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.85) 15%, transparent 75%);
  transition: opacity 0.3s var(--ease-out);
}

[data-theme="light"] .ambient-seigaiha {
  background-image: url('/assets/Seigaiha.svg');
  opacity: 0.25;
}

/* Central Stage - Perfectly Centered below header */
.placeholder-stage {
  position: relative;
  z-index: 10;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-height, 64px) + 2rem) 1.5rem 2rem;
  text-align: center;
  box-sizing: border-box;
}

/* Single Typography Focus */
.placeholder-title {
  font-family: var(--font-display, 'Outfit', 'Montserrat', sans-serif);
  font-size: clamp(2rem, 5.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  max-width: 900px;
  margin: 0 auto;
  user-select: none;
  text-wrap: balance;
  text-shadow: 0 0 35px var(--crimson-glow, rgba(225, 29, 72, 0.22));
  animation: placeholderReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes placeholderReveal {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.99);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* Responsive adjustment for mobile */
@media (max-width: 640px) {
  .placeholder-stage {
    padding: calc(var(--header-height, 64px) + 1.5rem) 1rem 1.5rem;
  }
  
  .placeholder-title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    line-height: 1.3;
  }
}
