:root {
  --bg: #f3f5f8;
  --bg-soft: #ffffff;
  --panel: #ffffff;
  --panel-border: #e1e6ed;
  --text: #131a24;
  --text-dim: #5c6a7d;
  --accent: #1d6fd8;
  --accent-dim: #bfe9d5;
}

html,
body {
  font-family: 'Manrope', system-ui, sans-serif;
}

.glow {
  background: radial-gradient(
    600px circle at 20% 20%,
    color-mix(in srgb, var(--accent) 24%, transparent),
    transparent 80%
  );
}

.mono {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}

#welcome-screen {
  color: var(--text);
}

.a-enter-vr,
#vr-mode-ui-icon {
  display: none !important;
}

video {
  max-width: none !important;
}

button {
  cursor: pointer;
}

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

.btn {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  box-shadow: 0 1px 2px rgba(19, 26, 36, 0.04);
  color: var(--text-dim);
  transition:
    border-color 0.15s ease,
    transform 0.15s ease,
    box-shadow 0.15s ease,
    color 0.15s ease,
    background-color 0.15s ease;
}

#start-btn.btn {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

#start-btn.btn:active {
  background: #0c7f52;
  border-color: #0c7f52;
}

#loading-btn.btn:not(.hidden) {
  animation: pulse 1.6s ease-in-out infinite;
}

/* notification */
.notification {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 1000;

  max-width: 360px;
  padding: 1rem 1.25rem;

  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--panel-border);
  border-left: 4px solid #d97706;
  border-radius: 0.75rem;

  box-shadow: 0 8px 24px rgba(19, 26, 36, 0.12);

  font-size: 0.875rem;
  line-height: 1.5;

  animation:
    notification-in 0.3s ease-out,
    notification-out 0.4s ease-in 2.6s forwards;
}

.notification-title {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.notification-text {
  color: var(--text-dim);
}

@keyframes notification-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes notification-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(16px);
    visibility: hidden;
  }
}

@media (max-width: 640px) {
  .notification {
    right: 1rem;
    bottom: max(1rem, env(safe-area-inset-bottom, 0px));
    left: 1rem;
    max-width: none;
  }
}
