:root {
  color-scheme: dark;
  --background: #190508;
  --background-secondary: #790c29;
  --primary: #ffc65b;
  --secondary: #3b0b17;
  --text: #fff7ef;
  --muted: #dcb5bb;
  --accent: #ffe2a0;
  --border: #813345;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  padding: 40px 24px;
  background: radial-gradient(ellipse at 50% 15%, #a4103540, transparent 55%), radial-gradient(ellipse at 0% 50%, #730b2638, transparent 60%), radial-gradient(ellipse at 100% 70%, #730b2638, transparent 60%), var(--background);
  color: var(--text);
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.profile { width: 100%; max-width: 560px; min-width: 0; }
.identity { text-align: center; margin-bottom: 28px; animation: enter 550ms ease-out both; }
.portrait {
  display: block;
  width: 128px;
  height: 128px;
  margin: 0 auto 20px;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  border: 3px solid var(--primary);
  box-shadow: 0 0 0 7px #ffc65b0d, 0 0 34px #ffb72b26, 0 12px 32px #0006;
}
.profile-name { margin: 0 0 10px; color: var(--primary); font-size: 14px; font-weight: 750; letter-spacing: 5px; }
h1 { margin: 0; font-size: clamp(26px, 5.5vw, 36px); font-weight: 750; letter-spacing: -.8px; line-height: 1.25; }
.links { display: grid; gap: 14px; }
.link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 16px 46px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--secondary);
  color: var(--text);
  text-decoration: none;
  text-align: center;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: .4px;
  box-shadow: 0 5px 14px #00000014;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  animation: enter 500ms ease-out both;
  -webkit-tap-highlight-color: transparent;
}
.link-featured { background: linear-gradient(120deg, #ffe2a0, var(--primary), #efa936); border-color: var(--primary); color: #2b1007; box-shadow: 0 5px 24px #ffc65b18; }
.link-social { background: #ffffff04; border-color: #67303a; }
.arrow { position: absolute; right: 22px; font-size: 21px; font-weight: 400; opacity: .7; }
.link:nth-child(1) { animation-delay: 80ms; }
.link:nth-child(2) { animation-delay: 140ms; }
.link:nth-child(3) { animation-delay: 200ms; }
.link:nth-child(4) { animation-delay: 260ms; }
@media (hover: hover) {
  .link:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 10px 22px #0003; }
}
.link:active { transform: translateY(1px) scale(.99); }
.link:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
@keyframes enter { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }
@media (min-width: 768px) {
  body { padding: 64px 32px; }
  .portrait { width: 144px; height: 144px; margin-bottom: 22px; }
  .identity { margin-bottom: 32px; }
  .links { gap: 16px; }
  .link { font-size: 17px; }
}
@media (max-height: 620px) and (max-width: 767px) {
  body { padding-top: 24px; padding-bottom: 24px; }
  .portrait { width: 90px; height: 90px; margin-bottom: 18px; }
  .identity { margin-bottom: 22px; }
  .links { gap: 12px; }
  .link { min-height: 58px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
