:root {
  color-scheme: dark;
  --bg: #111116;
  --panel: #191920;
  --panel-2: #202028;
  --line: #2f2f39;
  --text: #ffffff;
  --muted: #a8a8b3;
  --accent: #ff7a3d;
  --accent2: #7b5cff;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #111116;
}

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 16px;
}

.card {
  width: min(100%, 420px);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 18px;
  background: var(--panel);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .32);
  text-align: center;
}

.cover {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.38)),
    linear-gradient(135deg, #ff8a3d 0%, #d14cff 48%, #3d9bff 100%);
}

.cover-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 28% 22%, rgba(255,255,255,.34), transparent 10%),
    radial-gradient(circle at 68% 17%, rgba(255,255,255,.18), transparent 8%);
}

.mountains {
  position: absolute;
  inset: auto 0 0;
  height: 47%;
  background:
    linear-gradient(140deg, transparent 0 31%, rgba(14,14,20,.86) 31% 54%, transparent 54%),
    linear-gradient(220deg, transparent 0 33%, rgba(18,18,25,.92) 33% 62%, transparent 62%),
    linear-gradient(160deg, transparent 0 24%, rgba(29,29,38,.9) 24% 48%, transparent 48%);
}

.cover-text {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  text-align: left;
}
.cover-text span {
  display: block;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  font-weight: 900;
  color: rgba(255,255,255,.72);
}
.cover-text strong {
  display: block;
  margin-top: 6px;
  font-size: clamp(28px, 7vw, 40px);
  line-height: .96;
  letter-spacing: -.055em;
}

h1 {
  margin: 20px 0 6px;
  font-size: clamp(32px, 8vw, 44px);
  line-height: 1;
  letter-spacing: -.055em;
}
.subtitle {
  margin: 0 0 18px;
  color: var(--muted);
  font-weight: 600;
}

.authors {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel-2);
}
.authors p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .11em;
}
.chips {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
.chips span {
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid #3a3a45;
  background: #272732;
  font-weight: 800;
  font-size: 14px;
}

.links {
  display: grid;
  gap: 10px;
  margin-top: 15px;
}
.link {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 66px;
  padding: 10px 13px;
  border-radius: 17px;
  text-align: left;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  background: var(--panel-2);
}
.link.disabled {
  cursor: not-allowed;
  opacity: .76;
}
.icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  font-size: 21px;
  font-weight: 900;
}
.link strong, .link small { display: block; }
.link strong { font-size: 16px; }
.link small { margin-top: 3px; color: var(--muted); }

@media (max-width: 420px) {
  .page { padding: 18px 12px; }
  .card { padding: 14px; border-radius: 22px; }
  .cover { border-radius: 18px; }
  .cover-text { left: 16px; right: 16px; bottom: 16px; }
}
