*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  height: 100%;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  color: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg__image {
  position: absolute;
  inset: 0;
  background: url("photo_2026-04-10_14-46-56.jpg") center / cover no-repeat;
  background-color: #1a1420;
}

.bg__wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(8, 6, 14, 0.28) 0%,
    rgba(8, 6, 14, 0.08) 42%,
    rgba(6, 4, 12, 0.38) 100%
  );
}

.bg__wash::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 18px 32px;
}

.glass-card {
  width: 100%;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 22px 26px;
  border-radius: 28px;
  background: rgba(32, 26, 40, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #2ecc71;
  box-shadow:
    0 0 0 3px rgba(46, 204, 113, 0.45),
    0 0 24px rgba(46, 204, 113, 0.65),
    0 0 48px rgba(46, 204, 113, 0.3),
    0 6px 20px rgba(0, 0, 0, 0.22);
}

.name {
  margin: 18px 0 0;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.badges {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  max-width: 100%;
}

.badge--available {
  background: #2ecc71;
  color: #fff;
  box-shadow: 0 2px 8px rgba(46, 204, 113, 0.35);
}

.badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
}

.badge--muted {
  background: rgba(45, 35, 40, 0.72);
  color: #fff;
  padding-left: 12px;
  padding-right: 12px;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
}

.badge__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.badge--geo--loading .badge--geo__text {
  opacity: 0.55;
  animation: geo-pulse 1.1s ease-in-out infinite;
}

.reduce-motion .badge--geo--loading .badge--geo__text {
  animation: none;
  opacity: 0.75;
}

@keyframes geo-pulse {
  50% {
    opacity: 0.35;
  }
}

.bio {
  margin: 18px 0 0;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.55;
  max-width: 280px;
  opacity: 0.98;
}

.cta {
  --cta-shine: rgba(255, 255, 255, 0.42);
  position: relative;
  isolation: isolate;
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 14px 20px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(
    105deg,
    #c9166f 0%,
    #ff2d8b 14%,
    #e018b0 28%,
    #b024e8 42%,
    #7a3cff 54%,
    #9b20d8 66%,
    #ff2d8b 78%,
    #a020e8 92%,
    #ff3d9a 100%
  );
  background-size: 320% 320%;
  box-shadow: 0 6px 24px rgba(176, 36, 232, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  animation: cta-shimmer-move 5.2s cubic-bezier(0.45, 0.05, 0.55, 0.95)
    infinite;
  will-change: background-position;
}

.cta::after {
  content: "";
  position: absolute;
  top: -10%;
  left: -90%;
  width: 55%;
  height: 120%;
  border-radius: inherit;
  background: linear-gradient(
    95deg,
    transparent 25%,
    var(--cta-shine) 48%,
    rgba(255, 245, 255, 0.65) 50%,
    var(--cta-shine) 52%,
    transparent 72%
  );
  transform: skewX(-18deg);
  animation: cta-shine-slide 5.2s cubic-bezier(0.45, 0.05, 0.55, 0.95)
    infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes cta-shimmer-move {
  0%,
  100% {
    background-position: 12% 40%;
  }
  25% {
    background-position: 88% 58%;
  }
  50% {
    background-position: 62% 12%;
  }
  75% {
    background-position: 35% 88%;
  }
}

@keyframes cta-shine-slide {
  0%,
  100% {
    left: -90%;
    opacity: 0.85;
  }
  40% {
    left: 115%;
    opacity: 1;
  }
  45% {
    left: 120%;
    opacity: 0;
  }
  55% {
    opacity: 0;
  }
}

.cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(176, 36, 232, 0.55);
}

.cta:active {
  transform: translateY(0);
}

.cta--unset {
  opacity: 0.65;
  pointer-events: none;
  cursor: not-allowed;
  animation: none;
  background: linear-gradient(90deg, #ff2d8b 0%, #b024e8 55%, #7a3cff 100%);
}

.cta--unset::after {
  display: none;
}

.reduce-motion .cta {
  transition: none;
  animation: none;
  will-change: auto;
  background: linear-gradient(90deg, #ff2d8b 0%, #b024e8 55%, #7a3cff 100%);
}

.reduce-motion .cta::after {
  display: none;
}

.reduce-motion .cta:hover,
.reduce-motion .cta:active {
  transform: none;
}

.cta__telegram {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta__telegram svg {
  display: block;
}

.cta__label {
  position: relative;
  z-index: 1;
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-image: linear-gradient(
    100deg,
    #f0e8ff 0%,
    #ffffff 6%,
    #ffc8ea 11%,
    #ffffff 15%,
    #d8f0ff 20%,
    #ffffff 26%,
    #e5d4ff 32%,
    #ffffff 38%,
    #ffb8dd 44%,
    #feffff 48%,
    #fff6fc 52%,
    #feffff 56%,
    #c4b5ff 62%,
    #ffffff 68%,
    #ffd6ef 74%,
    #ffffff 80%,
    #b8e8ff 86%,
    #ffffff 92%,
    #f5e0ff 100%
  );
  background-size: 450% 450%;
  background-clip: text;
  -webkit-background-clip: text;
  background-repeat: no-repeat;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.35))
    drop-shadow(0 0 24px rgba(255, 180, 240, 0.25));
  animation: cta-shimmer-move 5.2s cubic-bezier(0.45, 0.05, 0.55, 0.95)
    infinite;
  will-change: background-position;
}

.reduce-motion .cta__label {
  animation: none;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: #fff;
  color: #fff;
  filter: none;
  will-change: auto;
}

@media (min-width: 400px) {
  .glass-card {
    max-width: 360px;
    padding: 32px 26px 28px;
  }

  .name {
    font-size: 1.8rem;
  }
}
