:root {
  --bg: #f9f9f9;
  --text: #222;
  --card: #fff;
  --hover: #eee;
}

[data-theme="dark"] {
  --bg: #1e1e1e;
  --text: #f0f0f0;
  --card: #2a2a2a;
  --hover: #3a3a3a;
}

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  transition: background 0.3s, color 0.3s;
}

header {
  background: #111;
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 {
  margin: 0;
}

#theme-toggle {
  background: none;
  border: 1px solid #fff;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
}

.hero {
  text-align: center;
  padding: 2rem;
}

.apps {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem;
}

.card {
  background: var(--card);
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  text-align: center;
  width: 250px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  background: var(--hover);
}

.card img {
  height: 64px;
  margin-bottom: 1rem;
}

.card a {
  display: block;
  font-weight: bold;
  font-size: 1.1rem;
  color: #0077cc;
  text-decoration: none;
  margin-bottom: 0.5rem;
}

.card a:hover {
  text-decoration: underline;
}

.status {
  font-size: 0.9rem;
  color: gray;
}

footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.875rem;
  color: #666;
}
