* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #15161a;
  --card-bg: #1f2127;
  --card-bg-hover: #2a2d36;
  --text: #e6e6e9;
  --text-dim: #9a9ca3;
  --accent: #5ad1a5;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", "PingFang TC", "Microsoft JhengHei", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

main {
  width: 100%;
  max-width: 480px;
  text-align: center;
}

h1 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  text-transform: lowercase;
  margin-bottom: 2.5rem;
}

/* Plain flex-wrap grid for now (confirmed scope: keep markup semantic and
   simple so a future fan/radial layout is just a CSS swap, not a rewrite). */
.apps {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.apps li {
  width: 140px;
}

.app-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1.5rem 1rem;
  background: var(--card-bg);
  border-radius: 14px;
  text-decoration: none;
  color: var(--text);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.app-tile:hover,
.app-tile:focus-visible {
  background: var(--card-bg-hover);
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(90, 209, 165, 0.25);
}

.icon {
  width: 32px;
  height: 32px;
  fill: var(--accent);
}

.label {
  font-size: 0.9rem;
}
