/* ==========================================================================
   Zeon OS - First-run Welcome / Intro Screen
   ========================================================================== */

.zeon-welcome-overlay {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(59, 130, 246, 0.22), transparent 55%),
    radial-gradient(ellipse at 70% 80%, rgba(16, 185, 129, 0.12), transparent 50%),
    rgba(9, 10, 15, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  animation: zeon-welcome-fade-in 0.35s ease;
}

.zeon-welcome-overlay[hidden] {
  display: none !important;
}

@keyframes zeon-welcome-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.zeon-welcome-card {
  position: relative;
  width: min(440px, 100%);
  background: var(--bg-surface-elevated, rgba(28, 34, 52, 0.92));
  border: var(--glass-border, 1px solid rgba(255, 255, 255, 0.1));
  border-radius: var(--radius-xl, 20px);
  box-shadow: var(--shadow-lg, 0 16px 40px rgba(0, 0, 0, 0.5));
  padding: 36px 32px 28px;
  color: var(--text-primary, #f8fafc);
  font-family: var(--font-sans, 'Inter', sans-serif);
  animation: zeon-welcome-rise 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes zeon-welcome-rise {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.zeon-welcome-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary, #94a3b8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, transform 0.12s;
  font-size: 18px;
  line-height: 1;
}

.zeon-welcome-close:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  transform: scale(1.05);
}

.zeon-welcome-brand {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
  color: var(--text-primary, #f8fafc);
}

.zeon-welcome-dev {
  font-size: 13px;
  color: var(--accent, #3b82f6);
  font-weight: 600;
  margin: 0 0 18px;
}

.zeon-welcome-intro {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary, #94a3b8);
  margin: 0 0 16px;
}

.zeon-welcome-list {
  margin: 0 0 22px;
  padding-left: 18px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-secondary, #94a3b8);
}

.zeon-welcome-list li {
  margin-bottom: 4px;
}

.zeon-welcome-list strong {
  color: var(--text-primary, #f8fafc);
  font-weight: 600;
}

.zeon-welcome-actions {
  display: flex;
  justify-content: flex-end;
}

.zeon-welcome-btn {
  padding: 9px 20px;
  border-radius: 10px;
  border: none;
  background: var(--accent, #3b82f6);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, transform 0.12s;
}

.zeon-welcome-btn:hover {
  background: var(--accent-hover, #2563eb);
  transform: scale(1.03);
}

[data-theme="light"] .zeon-welcome-overlay {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(59, 130, 246, 0.18), transparent 55%),
    rgba(240, 242, 247, 0.75);
}

[data-theme="light"] .zeon-welcome-card {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(20, 22, 26, 0.1);
  color: #14161a;
}

[data-theme="light"] .zeon-welcome-brand { color: #14161a; }
[data-theme="light"] .zeon-welcome-intro,
[data-theme="light"] .zeon-welcome-list { color: rgba(20, 22, 26, 0.65); }
[data-theme="light"] .zeon-welcome-list strong { color: #14161a; }
[data-theme="light"] .zeon-welcome-close {
  color: rgba(20, 22, 26, 0.55);
  border-color: rgba(20, 22, 26, 0.12);
  background: rgba(20, 22, 26, 0.04);
}
