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

:root {
  --bg: #0c0c0c;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.1);
  --border-hover: rgba(255, 255, 255, 0.2);
  --text: #f0f0f0;
  --text-muted: rgba(240, 240, 240, 0.5);
  --radius: 16px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100dvh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 480px;
  margin: 0 auto;
  padding-bottom: 2rem;
}

/* Cover */
.cover {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.cover__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  display: block;
}

.cover__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 40%,
    var(--bg) 100%
  );
}

/* Profile */
.profile {
  text-align: center;
  padding: 0 1.5rem;
  margin-top: -64px;
  position: relative;
  z-index: 1;
}

.profile__avatar-wrapper {
  display: inline-block;
  padding: 3px;
  background: var(--border);
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.profile__avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 4px solid var(--bg);
}

.profile__name {
  margin-top: 1rem;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.profile__bio {
  margin-top: 0.35rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Links */
.links {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding: 2rem 1.5rem 1rem;
}

.link-btn {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  user-select: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.link-btn:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

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

.link-btn__icon {
  display: block;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 8px;
}

.link-btn__logo {
  width: 36px;
  height: 36px;
  object-fit: cover;
  display: block;
}

.link-btn__logo--round {
  border-radius: 50%;
}

.link-btn__text {
  flex: 1;
  text-align: left;
}

.link-btn__arrow {
  opacity: 0.4;
  font-size: 1.1rem;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.link-btn:hover .link-btn__arrow {
  opacity: 0.7;
  transform: translateX(3px);
}

/* Footer */
.footer {
  text-align: center;
  padding: 1.5rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Responsive */
@media (min-width: 480px) {
  .cover {
    height: 240px;
    border-radius: 0 0 24px 24px;
  }

  .cover__image {
    border-radius: 0 0 24px 24px;
  }
}
