:root {
  --bg: #0f172a;
  --surface: #1e293b;
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --accent: #fbbf24;
  --accent-hover: #f59e0b;
  --radius: 12px;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.2), 0 2px 4px -2px rgb(0 0 0 / 0.15);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
  background: var(--bg);
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem;
}

.header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.logo {
  display: block;
  margin: 0 auto 1rem;
}

.title {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
  letter-spacing: -0.02em;
}

.subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0;
}

.main {
  width: 100%;
  max-width: 420px;
}

.app-list {
  width: 100%;
}

.loading,
.error,
.empty {
  text-align: center;
  color: var(--text-muted);
  margin: 0;
  padding: 1rem;
}

.error {
  color: #f87171;
}

.app-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.app-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.app-card-icon-wrap {
  flex-shrink: 0;
  line-height: 0;
}

.app-card:hover {
  background: #334155;
  border-color: var(--accent);
  transform: translateY(-1px);
}

.app-card:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.app-card strong {
  color: var(--accent);
}

@media (min-width: 480px) {
  .title {
    font-size: 2rem;
  }
}
