* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #1a1a1a;
  display: flex; justify-content: center; align-items: center;
  min-height: 100vh;
  padding: 16px;
}

.phone {
  width: min(390px, calc(100vw - 32px));
  height: min(844px, calc(100vh - 32px));
  background: radial-gradient(circle at 50% 30%, #6b111e 0%, #2a050b 70%);
  border-radius: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 50px rgba(0,0,0,.5), inset 0 0 0 4px #333;
  color: #fff;
}

.heart { position: absolute; background: rgba(255,255,255,.03); border-radius: 50%; filter: blur(20px); pointer-events: none; }
.h1 { width: 150px; height: 150px; top: 10%; left: -50px; }
.h2 { width: 200px; height: 200px; bottom: 20%; right: -80px; }
.h3 { width: 100px; height: 100px; top: 40%; left: 10%; }

.screen {
  position: absolute; inset: 0;
  padding: 60px 24px 40px;
  display: flex; flex-direction: column; align-items: center;
  overflow-y: auto;
  opacity: 0; pointer-events: none;
  transform: scale(.98);
  transition: opacity .35s ease, transform .35s ease;
}
.screen.is-active { opacity: 1; pointer-events: auto; transform: scale(1); }

.title { font-size: 26px; font-weight: 600; text-align: center; line-height: 1.2; margin-bottom: 8px; }
.subtitle { font-size: 14px; color: rgba(255,255,255,.6); text-align: center; margin-bottom: 30px; }
.subtitle--top { margin-bottom: 6px; }
.name { font-size: 20px; font-weight: 600; margin-bottom: 4px; }

.avatar-wrap { position: relative; display: flex; justify-content: center; align-items: center; flex-shrink: 0; }
.avatar-wrap--lg { width: 220px; height: 220px; margin-bottom: 40px; }
.avatar-wrap--md { width: 160px; height: 160px; margin: 20px 0 40px; }

.glow {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(234,42,77,.4) 0%, transparent 70%);
  animation: pulse 3s infinite alternate;
}
@keyframes pulse { 0% { transform: scale(.9); opacity: .7; } 100% { transform: scale(1.1); opacity: 1; } }

.avatar {
  border-radius: 50%; overflow: hidden;
  border: 3px solid rgba(255,255,255,.2); z-index: 2;
  box-shadow: 0 0 30px rgba(234,42,77,.5); background: #8a5a48;
}
.avatar--lg { width: 180px; height: 180px; }
.avatar--md { width: 130px; height: 130px; }
.avatar svg { width: 100%; height: 100%; display: block; }

.btn {
  background: #ea2a4d; color: #fff; border: none; border-radius: 30px;
  padding: 18px 32px; font-size: 16px; font-weight: 500;
  display: flex; align-items: center; gap: 10px; justify-content: center;
  width: 100%; cursor: pointer; font-family: inherit;
  box-shadow: 0 4px 15px rgba(234,42,77,.3);
  flex-shrink: 0;
  margin-top: auto;
}
.btn:active { transform: scale(.97); }
.note { font-size: 12px; color: rgba(255,255,255,.6); margin-top: 16px; flex-shrink: 0; }