@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg: #0b0f17;
  --panel: #0f172a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #e5e7eb;
  background: radial-gradient(circle at 20% 20%, #111827 0, #0b0f17 35%), radial-gradient(circle at 80% 0%, #0a1a2e 0, #0b0f17 40%);
  min-height: 100vh;
}

body.is-loading {
  overflow: hidden;
}

.bg-texture {
  position: fixed;
  inset: 0;
  background: linear-gradient(120deg, rgba(110, 231, 183, 0.08), rgba(244, 114, 182, 0.08));
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.6;
}

.shadow-soft {
  box-shadow: 0 10px 60px rgba(0, 0, 0, 0.35);
}

.card-glass {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(31, 41, 55, 0.8);
  border-radius: 16px;
}

#splash {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 20%, rgba(34, 197, 94, 0.08), rgba(15, 23, 42, 0.95)),
    radial-gradient(circle at 80% 10%, rgba(148, 163, 184, 0.08), rgba(15, 23, 42, 0.9));
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 200ms ease, visibility 200ms ease;
}

#splash.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.splash-box {
  min-width: 240px;
  padding: 24px 28px;
  border-radius: 18px;
  background: rgba(10, 12, 20, 0.95);
  border: 1px solid rgba(34, 197, 94, 0.25);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.45);
  text-align: center;
}

.splash-spinner {
  width: 54px;
  height: 54px;
  margin: 0 auto 12px auto;
  border-radius: 50%;
  border: 4px solid rgba(34, 197, 94, 0.15);
  border-top-color: #22c55e;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
