:root {
  --ink: #eaf6ff;
  --muted: #a7b4c8;
  --glow: #59d2ff;
  --accent: #ff9f5a;
  --bg1: #0b1020;
  --bg2: #111b34;
}

body {
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--ink);
  font-weight: 500;
  background: radial-gradient(1200px 800px at 15% 10%, #1e2a4d 0%, transparent 55%),
    radial-gradient(900px 600px at 85% 20%, #27315b 0%, transparent 45%),
    linear-gradient(160deg, var(--bg1), var(--bg2));
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  color: #f1faff;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.3px;
}

.hero-title {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.5px;
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  color: #f4fbff;
  text-shadow: 0 0 22px rgba(89, 210, 255, 0.3);
}

.glass {
  background: rgba(18, 28, 52, 0.78);
  border: 1px solid rgba(89, 210, 255, 0.2);
  box-shadow: 0 18px 60px rgba(7, 12, 30, 0.45);
  backdrop-filter: blur(10px);
  border-radius: 18px;
}

.pulse {
  position: relative;
}

.pulse::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 24px;
  border: 1px solid rgba(89, 210, 255, 0.35);
  opacity: 0;
  animation: pulse 3.2s ease-in-out infinite;
  pointer-events: none;
}

.pulse > * {
  position: relative;
  z-index: 1;
}

@keyframes pulse {
  0% { transform: scale(0.98); opacity: 0; }
  40% { opacity: 0.55; }
  100% { transform: scale(1.05); opacity: 0; }
}

.stat-chip {
  border: 1px solid rgba(89, 210, 255, 0.25);
  border-radius: 999px;
  padding: 6px 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

.motd-box {
  white-space: pre-wrap;
  background: rgba(9, 14, 30, 0.7);
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px dashed rgba(255, 159, 90, 0.5);
}

.accent {
  color: var(--accent);
}

.footer-copyright {
  color: #98a6c4;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}

.fade-in {
  animation: fadeIn 1.4s ease;
}

.uk-form-label {
  color: #dbe6ff;
  font-weight: 600;
}

.uk-input,
.uk-select {
  color: #0c1020;
  border-radius: 12px;
  border: 1px solid rgba(89, 210, 255, 0.35);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.uk-input::placeholder {
  color: #7b879a;
}

.action-btn {
  position: relative;
  overflow: hidden;
}

.btn-spinner {
  display: none;
  margin-left: 10px;
}

.action-btn.is-loading {
  pointer-events: none;
  opacity: 0.85;
  box-shadow: 0 0 20px rgba(89, 210, 255, 0.35);
}

.action-btn.is-loading .btn-spinner {
  display: inline-flex;
}

.action-btn.is-loading .btn-text {
  opacity: 0.85;
}

.result-animate {
  animation: slideIn 0.9s ease;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-enter .hero-enter {
  animation: heroIn 1.2s ease both;
}

.page-enter .glass {
  animation: floatIn 1.2s ease both;
}

.page-enter .glass:nth-of-type(1) { animation-delay: 0.05s; }
.page-enter .glass:nth-of-type(2) { animation-delay: 0.15s; }
.page-enter .glass:nth-of-type(3) { animation-delay: 0.25s; }

@keyframes heroIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes floatIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
