:root {
  color-scheme: dark;
  --bg: #0c0c0c;
  --fg: #f3f3f3;
  --muted: #888;
  --card: #161616;
  --card-border: #262626;
  --accent: #00bcd4;
  --accent-hover: #14d3ed;
}

html, body {
  margin: 0;
  padding: 0;
  background-color: #0c0c0c;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px; /* spacing between dots */
  color: #f3f3f3;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

main {
  max-width: 800px;
  width: 100%;
  padding: 3rem 1.5rem 2rem;
  text-align: center;
}

h1 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.subtitle {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 3rem;
}

.app-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: stretch;
}

.app-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.app-card:hover {
  background: #1c1c1c;
  border-color: #3a3a3a;
}

.app-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
}

.app-info img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: contain;
}

.app-info h2 {
  font-size: 1.1rem;
  margin: 0;
  color: var(--fg);
}

.app-info p {
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* --- Buttons --- */
.app-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  text-align: center;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  min-width: 140px;
}

.btn.primary {
  background: var(--accent);
  color: #000;
}

.btn.primary:hover {
  background: var(--accent-hover);
}

.btn.secondary {
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
}

.btn.secondary:hover {
  background: rgba(0, 188, 212, 0.1);
}

footer {
  margin-top: auto;
  padding: 1rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}
