:root {
  --bg: #1b1530;
  --panel: #2b2350;
  --panel-2: #392f6b;
  --text: #f4efff;
  --muted: #cfc3ef;
  --border: #7f69c7;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #473a83, var(--bg));
  color: var(--text);
  min-height: 100vh;
  line-height: 1.55;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.content { width: min(900px, 96vw); }

.panel {
  background: linear-gradient(165deg, var(--panel-2), var(--panel));
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 1.4rem;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
}

h1 { margin: 0; font-size: clamp(2rem, 4vw, 2.75rem); }
h2 { margin: 1.25rem 0 0.6rem; }
.subtitle { color: var(--muted); margin: 0.35rem 0 1rem; }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem;
}

.card {
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(16, 12, 35, 0.45);
  padding: 0.8rem;
  transition: transform 120ms ease, border-color 120ms ease;
}
.card:hover {
  transform: translateY(-2px);
  border-color: #bca8ff;
}
.card h3 { margin: 0 0 0.3rem; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); }

.copyright {
  font-size: 0.9rem;
  margin-top: 0.9rem;
  color: var(--muted);
}
