/* =========================================================
   Splash Page Styles
   Extracted from index.html inline styles
========================================================= */

/* Splash Overlay (dark translucent + BLUR BEHIND) */
.splash-overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay-bg, rgba(7, 12, 20, 0.78));
  backdrop-filter: blur(var(--blur, 14px));
  -webkit-backdrop-filter: blur(var(--blur, 14px));
  z-index: 2147483647;
  color: var(--white, #fff);
  transition: opacity 700ms ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: grid;
  grid-template-rows: minmax(24px, 1fr) auto minmax(24px, 1fr);
  padding-block: clamp(14px, 3vh, 28px);
}

.splash-overlay.fade-out { 
  opacity: 0; 
  pointer-events: none; 
}

/* The centered card/stack */
.splash-inner {
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  box-sizing: border-box;
  width: 100%;
  max-width: 920px;
  margin-inline: auto;
  padding-inline: clamp(20px, 6vw, 56px);
  padding-bottom: calc(clamp(16px, 3vh, 28px) + env(safe-area-inset-bottom));
}

/* Logo container so we can swap <img> for <canvas> in-place */
.logo-wrap {
  position: relative;
  width: min(460px, 80vw);
  aspect-ratio: 2 / 1;
  margin-top: -5px;
  margin-bottom: 1px;
}

.logo-wrap > img, 
.logo-wrap > canvas {
  position: absolute; 
  inset: 0; 
  width: 100%; 
  height: 100%;
  object-fit: contain; 
  display: block;
}

.splash-inner h1 {
  margin: 10px 0 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: 0.2px;
  text-shadow: 0 1px 0 rgba(0,0,0,0.2);
}

.splash-inner p.lead {
  margin: 12px auto 0;
  font-size: clamp(16px, 2.4vw, 20px);
  color: var(--muted, #ccc);
  max-width: var(--text-max, 800px);
}

/* Slim 3D Enter Button */
.enter-btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .1px;
  text-shadow: 0 1px 0 rgba(0,0,0,.22);
  background: linear-gradient(180deg, #55a7ff 0%, #2d7df6 60%, #0f57d6 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.35),
    inset 0 -2px 4px rgba(0,0,0,.18),
    0 3px 0 #5a76aa,
    0 10px 18px rgba(12,40,116,.28);
  transform: translateY(0);
  transition: transform .12s ease, box-shadow .18s ease, filter .18s ease, opacity .18s ease;
  cursor: pointer;
}

/* Subtle sheen */
.enter-btn::before {
  content: "";
  position: absolute; 
  inset: 2px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.45), rgba(255,255,255,0) 38%);
  mix-blend-mode: soft-light;
  pointer-events: none;
}

/* Smaller ground shadow */
.enter-btn::after {
  content: "";
  position: absolute;
  left: 15%; 
  right: 15%; 
  height: 12px; 
  bottom: -10px;
  border-radius: 50%;
  background: radial-gradient(50% 70% at 50% 20%, rgba(0,0,0,.32), rgba(0,0,0,0) 70%);
  filter: blur(3px);
  z-index: -1;
  transition: transform .18s ease, opacity .18s ease;
}

/* Hover: tiny lift, gentle ring */
.enter-btn:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.42),
    inset 0 -2px 5px rgba(0,0,0,.2),
    0 3px 0 #0a3ea3,
    0 12px 22px rgba(12,40,116,.32),
    0 0 0 2px rgba(110,160,255,.22);
}

/* Active: shallow press */
.enter-btn:active {
  transform: translateY(2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.3),
    inset 0 -2px 4px rgba(0,0,0,.18),
    0 2px 0 #637db1,
    0 8px 14px rgba(127, 151, 217, 0.34);
}

.enter-btn:active::after {
  transform: translateY(-2px) scaleX(.96);
  opacity: .9;
}

/* Focus ring */
.enter-btn:focus-visible {
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.38),
    0 0 0 3px rgba(0, 0, 0, 0.45),
    0 5px 0 #627eb6,
    0 12px 20px rgba(138, 147, 172, 0.28);
}

/* Disabled */
.enter-btn:disabled {
  opacity: .65; 
  pointer-events: none; 
  transform: none;
}

/* Optional ultra-slim variant */
.enter-btn.slim { 
  padding: 8px 18px; 
  font-weight: 600; 
}

/* Tiny "hint" text */
.micro {
  margin-top: 6px;
  font-size: 12px; 
  color: #c7d2e2;
}

/* Intro section styling */
.intro {
  max-width: 900px;
  margin: 0 auto;
}

.intro .copy {
  /* Remove column layout - keep single column */
  column-count: 1;
}

.nowrap {
  white-space: nowrap;
}
