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

html, body { min-height: 100%; }

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #fff;
  background: #2a1f3d;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

/* Blurred photo background, darkened so the white text stays readable. */
.bg {
  position: fixed;
  inset: -40px;
  z-index: -1;
  background: url(/img/bg.jpg) 50% 30% / cover, #2a1f3d;
  filter: blur(14px) brightness(0.55);
}

.page {
  max-width: 420px;
  margin: 0 auto;
  padding: 18px 14px 48px;
  text-align: center;
}

.avatar-wrap {
  position: relative;
  width: 132px;
  height: 132px;
  margin: 0 auto;
  border-radius: 50%;
  padding: 4px;
  background: #fff;
  box-shadow: 0 0 0 6px rgba(120, 94, 255, 0.4), 0 10px 30px rgba(0, 0, 0, 0.35);
}

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

.online {
  position: absolute;
  right: 6px;
  bottom: 14px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #22c55e;
  border: 4px solid #fff;
}

.name {
  margin-top: 30px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.tick { width: 24px; height: 24px; }

.bio {
  margin: 10px 6px 0;
  font-size: 16.5px;
  line-height: 1.5;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.loc {
  margin-top: 26px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.loc[hidden] { display: none; }
.loc svg { width: 16px; height: 16px; }

#cta-slot { margin-top: 24px; min-height: 120px; }

.cta {
  position: relative;
  display: block;
  height: 120px;
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background: url(/img/card.jpg) center / cover, #c084fc;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s ease;
  cursor: pointer;
}
.cta:active { transform: scale(0.98); }
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.45) 100%);
}
.cta-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  z-index: 1;
}
.cta-title { font-size: 17px; font-weight: 700; }
.cta-sub { font-size: 14px; margin-top: 4px; color: rgba(255, 255, 255, 0.85); }

.timer { margin-top: 32px; }
.timer-title { font-size: 19px; font-weight: 700; }
.timer-row {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
}
.unit span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.9);
}
.box {
  width: 52px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(180deg, #00AFF0, #0088cc);
  box-shadow: 0 4px 14px rgba(0, 175, 240, 0.35);
  font-size: 23px;
  font-weight: 800;
  line-height: 44px;
  font-variant-numeric: tabular-nums;
}
.colon {
  font-size: 22px;
  font-weight: 700;
  line-height: 44px;
  color: rgba(0, 175, 240, 0.8);
}

.sheet {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: none;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 14px;
  background: rgba(0, 0, 0, 0.6);
}
.sheet.show { display: flex; }
.sheet-card {
  width: min(300px, 100%);
  margin-top: 6px;
  padding: 20px 18px 16px;
  border-radius: 18px;
  background: #fff;
  color: #111;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.sheet-arrow { font-size: 30px; color: #6366f1; text-align: right; margin: -8px -2px 0 0; }
.sheet-card h2 { font-size: 19px; font-weight: 700; }
.sheet-card p { margin-top: 8px; font-size: 15px; line-height: 1.45; color: #374151; }
.sheet-close {
  margin-top: 14px;
  width: 100%;
  padding: 11px;
  border: 0;
  border-radius: 12px;
  background: #6366f1;
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
}

.noscript { padding: 20px; text-align: center; }
