:root {
  color-scheme: dark;
  --bg: #041044cb;
  --card: #041044cb;
  --border: rgb(2, 61, 2);
  --text: #b8d4fa;
  --muted: #6e8bb4;
  --accent: #31c964;
  --accent-strong: #0b811f;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Amarante", system-ui, sans-serif;
  background: linear-gradient(rgb(1, 34, 131) 0%, rgb(2, 128, 54) 80%, rgba(184, 184, 7, 1) 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  color: var(--text);
}

body {
  display: grid;
  place-items: center;
  padding: 2rem;
  min-height: 100vh;
}

.container {
  width: min(100%, 520px);
  display: grid;
  gap: 1.25rem;
}

.profile-card,
.links-card,
.image-gallery {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.5rem;
  backdrop-filter: blur(18px);
}

.profile-card {
  text-align: center;
}

.avatar {
  width: 140px;
  height: 140px;
  border-radius: 999px;
  object-fit: cover;
  border: 3px solid rgba(56, 189, 248, 0.35);
  margin-bottom: 1rem;
}

.profile-card h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.6rem);
}

.bio {
  margin: 0.85rem auto 0;
  max-width: 36rem;
  color: var(--muted);
  line-height: 1.8;
}

.links-card {
  display: grid;
  gap: 0.9rem;
  font-family: "Amarante", system-ui, sans-serif;
}

.link-item {
  width: 100%;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.04);
  font-family: "Amarante", system-ui, sans-serif;
  color: var(--text);
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.link-item:hover,
.link-item:focus-visible {
  transform: translateY(-1px);
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.35);
  outline: none;
}

@media (max-width: 520px) {
  body {
    padding: 1rem;
  }
}
