/* GoldenChart splash — glassmorphism login + 차트 콜라주 배경 이미지 */

.splash {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #06080d;
  color: #e8eaed;
  overflow: hidden;
  font-family: var(--font, 'Noto Sans KR', 'Inter', sans-serif);
}

.splash-photo-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.splash-photo-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/splash-bg.png?v=3') center center / cover no-repeat;
  filter: saturate(1.06) brightness(0.94);
}

.splash-photo-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 108% 92% at 50% 50%, transparent 36%, rgba(2, 4, 8, 0.48) 100%),
    linear-gradient(to bottom, rgba(2, 4, 8, 0.28) 0%, rgba(2, 4, 8, 0.06) 44%, rgba(2, 4, 8, 0.3) 100%);
}

.splash-center {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: min(92vw, 380px);
  padding: 24px 16px;
}

.splash-glass {
  width: 100%;
  padding: 36px 32px 28px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(12, 14, 18, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.splash-brand {
  margin: 0 0 28px;
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  background: linear-gradient(180deg, #f9e29c 0%, #d4af37 42%, #b8860b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 12px rgba(212, 175, 55, 0.25));
}

.splash-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.splash-input {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.35);
  color: #f3f4f6;
  font-size: 0.95rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.splash-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.splash-input:focus {
  outline: none;
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
}

.splash-input:disabled {
  opacity: 0.6;
}

.splash-error {
  margin: 0;
  font-size: 0.78rem;
  color: #f87171;
  text-align: center;
}

.splash-login-btn {
  width: 100%;
  margin-top: 4px;
  padding: 13px 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 800;
  color: #1a1408;
  background: linear-gradient(180deg, #f9e29c 0%, #d4af37 48%, #c9a227 100%);
  box-shadow: 0 4px 16px rgba(201, 162, 39, 0.35);
  transition: transform 0.12s, filter 0.12s, box-shadow 0.12s;
}

.splash-login-btn:hover:not(:disabled) {
  filter: brightness(1.05);
  box-shadow: 0 6px 20px rgba(201, 162, 39, 0.45);
}

.splash-login-btn:active:not(:disabled) {
  transform: translateY(1px);
}

.splash-login-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.splash-version {
  margin: 22px 0 0;
  text-align: center;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.32);
  letter-spacing: 0.01em;
}

.splash-guest-link {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.78rem;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.15s;
}

.splash-guest-link:hover:not(:disabled) {
  color: rgba(249, 226, 156, 0.85);
}

.splash-guest-link:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 420px) {
  .splash-glass {
    padding: 28px 22px 22px;
    border-radius: 16px;
  }
  .splash-brand {
    font-size: 1.65rem;
    margin-bottom: 22px;
  }
}
