:root {
  --bg: #1d2433;
  --bg-2: #262f42;
  --card: #2d3850;
  --text: #eef1f7;
  --muted: #9aa5bd;
  --red: #e5484d;
  --blue: #3e8ef7;
  --white: #f7f7f2;
  --radius: 14px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: radial-gradient(circle at 50% 0%, var(--bg-2), var(--bg) 70%) fixed;
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

#app {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  padding: 28px 24px;
  width: 100%;
  max-width: 420px;
  text-align: center;
}

.logo {
  margin: 0 0 4px;
  font-size: 2.6rem;
  letter-spacing: 0.04em;
}

.tagline { color: var(--muted); margin: 0 0 22px; }

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

.app-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  text-decoration: none;
  text-align: left;
  border: 2px solid transparent;
  transition: transform 0.08s ease, border-color 0.15s ease, filter 0.15s ease;
}
.app-btn:hover { border-color: var(--blue); filter: brightness(1.1); }
.app-btn:active { transform: scale(0.98); }

.swatch {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.2);
}
.swatch.bobail { background: var(--white); }
.swatch.neutron { background: linear-gradient(135deg, var(--red), var(--blue)); }
.swatch.dao { background: conic-gradient(var(--red) 0 25%, var(--blue) 25% 50%, var(--red) 50% 75%, var(--blue) 75%); }

.info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.name { font-weight: 700; font-size: 1.15rem; }
.desc { color: var(--muted); font-size: 0.88rem; line-height: 1.35; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
