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

:root {
  --bg: #0f0f0f;
  --surface: #1a1a2e;
  --text: #e0e0e0;
  --text-muted: #888;
  --accent: #4cc9f0;
  --accent-hover: #7dd3fc;
  --btn-bg: #2d2d44;
  --btn-hover: #3d3d5c;
  --radius: 8px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 3rem 1rem;
}

main {
  max-width: 640px;
  width: 100%;
}

header {
  margin-bottom: 2.5rem;
}

header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.subtitle {
  color: var(--text-muted);
  margin-top: 0.25rem;
  font-size: 0.95rem;
}

.project-card {
  background: var(--surface);
  border: 1px solid #2a2a3e;
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.project-card h2 {
  font-size: 1.25rem;
  font-weight: 600;
}

.project-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-top: 0.35rem;
}

.project-actions {
  display: flex;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn-download {
  background: var(--accent);
  color: #0f0f0f;
}

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

.btn-info {
  background: var(--btn-bg);
  color: var(--text);
  border: 1px solid #3a3a50;
}

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

footer {
  margin-top: 3rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

@media (min-width: 480px) {
  .project-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .project-actions {
    flex-shrink: 0;
  }
}
