:root {
  --bg: #0d1117;
  --card: #161b22;
  --text: #f0f3f8;
  --muted: #9ba3b4;
  --accent: #8b5cf6;
  --accent-light: #a78bfa;
  --radius: 18px;
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
  --max-width: 720px;
}

html, body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(1000px 800px at 15% 0%, rgba(139,92,246,0.15), transparent),
    radial-gradient(900px 600px at 85% 10%, rgba(6,182,212,0.15), transparent),
    var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.cover-container {
  max-width: var(--max-width);
  margin: 10vh auto;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 3rem;
  text-align: center;
}

.cover-header h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-light), #fff);
  -webkit-background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
}

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

.info {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 2.5rem;
}

.info-item {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.4rem;
}

.label {
  color: var(--muted);
  font-weight: 500;
}

.value {
  font-weight: 600;
  color: var(--text);
}

.links h2 {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--accent-light);
}

.note {
  text-align: center;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 1rem;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  justify-content: center;
  gap: 0.6rem;
  max-width: 600px;
}

li {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.7rem 1rem;
  text-align: center;
  transition: background 0.25s ease, transform 0.25s ease;
}

li:hover {
  background: rgba(139, 92, 246, 0.12);
  transform: translateY(-2px);
}

/* Center the final (odd) button neatly */
li.centered {
  grid-column: 1 / -1;
  justify-self: center;
  width: 200px;
}

a {
  color: var(--accent-light);
  text-decoration: none;
  font-weight: 600;
}

a:hover {
  color: #fff;
}

/* Print-friendly */
@media print {
  :root {
    --bg: #fff;
    --card: #fff;
    --text: #111;
    --muted: #555;
  }
  body {
    background: #fff;
    color: #111;
  }
  .cover-container {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}
