:root {
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.28);
  --button-bg: rgba(255, 255, 255, 0.08);
  --button-bg-hover: rgba(255, 255, 255, 0.92);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

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

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 35%, rgba(255,255,255,0.12), transparent 34%),
    linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.72)),
    url("assets/bg.jpg") center / cover no-repeat fixed;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  filter: blur(70px);
  pointer-events: none;
  animation: floatGlow 9s ease-in-out infinite alternate;
}

body::before {
  top: 14%;
  left: 12%;
}

body::after {
  right: 12%;
  bottom: 12%;
  animation-delay: -3s;
}

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

.card {
  width: min(100%, 420px);
  text-align: center;
  padding: 34px 24px 28px;
  border: 1px solid var(--glass-border);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255,255,255,0.13), rgba(255,255,255,0.045));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  animation: fadeUp 900ms ease both;
}

.avatar-wrap {
  width: 138px;
  height: 138px;
  margin: 0 auto 22px;
  padding: 4px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.18));
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.18),
    0 0 34px rgba(255,255,255,0.24);
  animation: pulseGlow 3.5s ease-in-out infinite;
}

.avatar {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 50%;
  background: #000;
}

.eyebrow {
  margin-bottom: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 {
  font-size: clamp(2.5rem, 9vw, 4.35rem);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-shadow: 0 0 26px rgba(255,255,255,0.22);
}

.subtitle {
  margin: 14px 0 26px;
  color: var(--muted);
  font-size: 0.96rem;
  letter-spacing: 0.08em;
}

.links {
  display: grid;
  gap: 13px;
}

.link-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 14px 20px;
  border: 1px solid rgba(255,255,255,0.34);
  border-radius: 999px;
  color: #fff;
  background: var(--button-bg);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, color 220ms ease, box-shadow 220ms ease;
  animation: fadeUp 700ms ease both;
}

.link-button:nth-child(1) { animation-delay: 160ms; }
.link-button:nth-child(2) { animation-delay: 260ms; }
.link-button:nth-child(3) { animation-delay: 360ms; }

.link-button::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.32), transparent);
  transform: translateX(-120%);
  transition: transform 520ms ease;
}

.link-button img {
  width: 20px;
  height: 20px;
  filter: invert(1);
  transition: filter 220ms ease, transform 220ms ease;
  z-index: 1;
}

.link-button span {
  z-index: 1;
}

.link-button:hover {
  transform: translateY(-3px) scale(1.015);
  color: #050505;
  background: var(--button-bg-hover);
  border-color: rgba(255,255,255,0.9);
  box-shadow: 0 16px 34px rgba(0,0,0,0.34), 0 0 26px rgba(255,255,255,0.18);
}

.link-button:hover::before {
  transform: translateX(120%);
}

.link-button:hover img {
  filter: invert(0);
  transform: scale(1.08);
}

.link-button:focus-visible {
  outline: 3px solid rgba(255,255,255,0.7);
  outline-offset: 4px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 1px rgba(255,255,255,0.18), 0 0 28px rgba(255,255,255,0.18);
  }
  50% {
    box-shadow: 0 0 0 1px rgba(255,255,255,0.32), 0 0 48px rgba(255,255,255,0.34);
  }
}

@keyframes floatGlow {
  from {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.55;
  }
  to {
    transform: translate3d(24px, -18px, 0) scale(1.16);
    opacity: 0.9;
  }
}

@media (max-width: 420px) {
  .page-shell {
    padding: 18px;
  }

  .card {
    padding: 28px 18px 22px;
    border-radius: 28px;
  }

  .avatar-wrap {
    width: 124px;
    height: 124px;
  }
}
