:root {
  --bg: #000000;
  --bg-elevated: #0a0a0c;
  --pink: #ff2bd6;
  --pink-soft: rgba(255, 43, 214, 0.35);
  --blue: #2de0ff;
  --blue-soft: rgba(45, 224, 255, 0.35);
  --text: #f4f7fb;
  --muted: #9aa3ad;
  --border: rgba(255, 255, 255, 0.12);
  --radius: 16px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(45, 224, 255, 0.12), transparent 55%),
    radial-gradient(ellipse 70% 45% at 50% 100%, rgba(255, 43, 214, 0.1), transparent 50%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

.page {
  width: min(100% - 2rem, 420px);
  margin: 0 auto;
  padding: 2.5rem 0 3rem;
}

.profile {
  text-align: center;
  margin-bottom: 1.75rem;
}

.avatar {
  display: block;
  width: min(100%, 280px);
  height: auto;
  margin: 0 auto 1.25rem;
}

.profile h1 {
  margin: 0 0 0.6rem;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 1rem;
  margin-bottom: 0.65rem;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
}

.contact-item svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--pink);
}

.contact-item:hover,
.contact-item:focus-visible {
  color: var(--blue);
  outline: none;
}

.tagline {
  margin: 0 0 0.35rem;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 600;
}

.bio {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.link {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.85rem;
  min-height: 58px;
  padding: 0.85rem 1.1rem 0.85rem 0.95rem;
  text-align: left;
  text-decoration: none;
  color: var(--text);
  background: rgba(18, 18, 22, 0.92);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.link:hover,
.link:focus-visible {
  transform: translateY(-2px);
  border-color: var(--blue-soft);
  box-shadow:
    0 0 0 1px rgba(45, 224, 255, 0.25),
    0 0 28px rgba(255, 43, 214, 0.18),
    var(--shadow);
  outline: none;
}

.link:active {
  transform: translateY(0);
}

.link-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(45, 224, 255, 0.08);
  color: var(--blue);
}

.link-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.link-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  flex: 1;
}

.link-title {
  font-size: 0.98rem;
  font-weight: 650;
  line-height: 1.3;
}

.link-note {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--pink);
  line-height: 1.35;
}

.footer {
  margin-top: 2rem;
  text-align: center;
}

.footer p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
}

@media (max-width: 380px) {
  .link {
    min-height: 54px;
    padding: 0.85rem 1rem;
  }

  .link-title {
    font-size: 0.92rem;
  }
}
