:root {
  color-scheme: dark;
  --bg: #0d070e;
  --card: rgba(28, 15, 29, 0.82);
  --text: #fff8fc;
  --muted: #d4c3cf;
  --pink: #ff3d85;
  --orange: #ff7a1a;
  --green: #4ade80;
}

* { box-sizing: border-box; }

html { min-height: 100%; }

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 78, 142, .24), transparent 37%),
    radial-gradient(circle at 92% 72%, rgba(255, 122, 26, .12), transparent 30%),
    linear-gradient(155deg, #080508 0%, #170a15 50%, #090509 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .24;
  background-image: radial-gradient(rgba(255,255,255,.22) .65px, transparent .65px);
  background-size: 13px 13px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.page-shell {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  padding: max(20px, env(safe-area-inset-top)) 14px max(20px, env(safe-area-inset-bottom));
}

.profile-card {
  position: relative;
  width: min(100%, 430px);
  padding: 30px 22px 22px;
  text-align: center;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 30px;
  background: linear-gradient(155deg, rgba(42,22,41,.93), rgba(24,13,25,.88));
  box-shadow: 0 28px 80px rgba(0,0,0,.54), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
}

.profile-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,61,133,.34), transparent 45%, rgba(255,122,26,.16));
  filter: blur(13px);
}

.avatar-wrap {
  position: relative;
  width: 108px;
  height: 108px;
  margin: 0 auto 17px;
  border: 3px solid rgba(255,255,255,.9);
  border-radius: 50%;
  background: linear-gradient(145deg, #f84687, #ff8b35);
  box-shadow: 0 0 0 5px rgba(255,61,133,.12), 0 12px 28px rgba(0,0,0,.4);
  overflow: hidden;
}

.avatar, .avatar-fallback { position: absolute; inset: 0; }
.avatar { z-index: 2; width: 100%; height: 100%; object-fit: cover; }
.avatar-fallback { display: grid; place-items: center; font-size: 2rem; font-weight: 900; }

h1 { margin: 0; font-size: clamp(1.72rem, 8vw, 2.08rem); line-height: 1.05; letter-spacing: .075em; text-shadow: 0 2px 18px rgba(255,255,255,.08); }

.status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 7px 0 0;
  color: #ccefd8;
  font-size: .83rem;
  font-weight: 650;
  letter-spacing: .03em;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(74,222,128,.8);
}

.location { min-height: 1.3em; margin: 11px 0 0; color: #d8cbd4; font-size: .9rem; line-height: 1.35; }

.intro { margin: 25px 0 23px; line-height: 1.5; }
.intro p { margin: 0; }
.intro p:first-child { font-size: 1.02rem; font-weight: 800; }
.intro p + p { max-width: 335px; margin: 8px auto 0; color: #f5eaf1; font-size: .97rem; }

.cta-label { margin: 0 0 12px; color: #fff; font-size: .94rem; font-weight: 900; letter-spacing: .06em; }
.links { display: grid; gap: 13px; }

.link-button {
  position: relative;
  display: grid;
  min-height: 56px;
  place-items: center;
  padding: 14px 13px;
  overflow: hidden;
  color: white;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 18px;
  text-decoration: none;
  font-size: clamp(.86rem, 4vw, 1rem);
  font-weight: 900;
  letter-spacing: .018em;
  box-shadow: 0 9px 24px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.16);
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
  -webkit-tap-highlight-color: transparent;
}

.link-button::after {
  content: "";
  position: absolute;
  top: -70%;
  left: -28%;
  width: 20%;
  height: 240%;
  background: rgba(255,255,255,.23);
  transform: rotate(24deg);
  animation: shine 4.2s ease-in-out infinite;
}

.link-button span { position: relative; z-index: 1; }
.link-button--orange {
  min-height: 68px;
  border-color: rgba(255, 225, 188, .65);
  background: linear-gradient(110deg, #e94d05 0%, #ff7412 47%, #ff9d2e 100%);
  font-size: clamp(.93rem, 4.2vw, 1.06rem);
  box-shadow: 0 14px 32px rgba(255,92,10,.31), 0 4px 12px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.34);
  animation: primary-pulse 2.8s ease-in-out infinite;
}

.link-button--vip {
  min-height: 54px;
  border-color: rgba(255,116,169,.32);
  color: #fff5f9;
  background: linear-gradient(110deg, rgba(105,25,58,.92), rgba(156,30,79,.94) 52%, rgba(123,25,61,.92));
  font-size: clamp(.82rem, 3.8vw, .94rem);
  box-shadow: 0 8px 20px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.10);
}

.link-button--vip::after { opacity: .4; animation-delay: 1.2s; }
.link-button:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.33); }
.link-button--orange:hover { box-shadow: 0 16px 36px rgba(255,92,10,.39), 0 5px 14px rgba(0,0,0,.32); }
.link-button:active { transform: scale(.985); }
.link-button:focus-visible { outline: 3px solid white; outline-offset: 3px; }

footer { margin-top: 21px; color: #bdaeb8; font-size: .77rem; font-weight: 700; letter-spacing: .09em; }

@keyframes shine {
  0%, 68% { left: -28%; }
  84%, 100% { left: 118%; }
}

@keyframes primary-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.012); }
}

@media (max-width: 359px) {
  .profile-card { padding-inline: 16px; border-radius: 25px; }
  .link-button { padding-inline: 9px; letter-spacing: 0; }
  .link-button--orange { min-height: 64px; }
}

@media (max-height: 720px) {
  .page-shell { padding-block: 14px; }
  .profile-card { padding: 20px 20px 18px; }
  .avatar-wrap { width: 92px; height: 92px; margin-bottom: 12px; }
  .intro { margin-block: 17px; }
  .link-button--orange { min-height: 62px; }
  footer { margin-top: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@supports not (backdrop-filter: blur(18px)) {
  .profile-card { background: #21121f; }
}
