* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: #05050a;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
  overflow-x: hidden;
}

/* ---------- Карточка (liquid glass) ---------- */

.card {
  position: relative;
  z-index: 2;
  width: min(420px, 100%);
  padding: 44px 32px 36px;
  border-radius: 32px;
  text-align: center;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.40),
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05);
}

.avatar {
  width: 92px;
  height: 92px;
  margin: 0 auto 18px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card h1 {
  margin: 0 0 6px;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.subtitle {
  margin: 0 0 30px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

/* ---------- Кнопки-ссылки (liquid glass) ---------- */

.links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.glass-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.30);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.1px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.glass-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -160%;
  width: 55%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s ease;
  pointer-events: none;
}

.glass-btn:hover {
  transform: translateY(-3px) scale(1.015);
  background: rgba(255, 255, 255, 0.16);
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.glass-btn:hover::before {
  left: 160%;
}

.glass-btn:active {
  transform: translateY(0) scale(0.98);
}

.glass-btn .icon {
  font-size: 1.25rem;
  line-height: 1;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.3));
}

.glass-btn .label {
  flex: 1;
  text-align: left;
}

@media (max-width: 420px) {
  .card {
    padding: 36px 22px 30px;
    border-radius: 26px;
  }
}
