:root {
  --bg-deep: #12070d;
  --bg-wine: #2d0b1f;
  --bg-ember: #6b1f2f;
  --card: #2a101f;
  --card-top: #3a1427;
  --text: #ffe7dd;
  --muted: rgba(255, 222, 210, 0.78);
  --accent: #ff7b7b;
  --accent-strong: #ff4f6f;
  --gold: #f3c98b;
  --shadow: 0 30px 75px rgba(8, 2, 6, 0.56);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 117, 117, 0.3) 0 14%, transparent 38%),
    radial-gradient(circle at 88% 18%, rgba(243, 201, 139, 0.22) 0 10%, transparent 34%),
    radial-gradient(circle at 50% 100%, rgba(107, 31, 47, 0.45), transparent 60%),
    linear-gradient(125deg, var(--bg-deep) 0%, var(--bg-wine) 48%, #1a0812 100%);
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(20px);
}

body::before {
  width: 280px;
  height: 280px;
  left: -70px;
  top: 12%;
  background: radial-gradient(circle, rgba(255, 92, 114, 0.4) 0%, rgba(255, 92, 114, 0.06) 65%, transparent 100%);
}

body::after {
  width: 360px;
  height: 360px;
  right: -120px;
  bottom: 4%;
  background: radial-gradient(circle, rgba(243, 201, 139, 0.18) 0%, rgba(243, 201, 139, 0.05) 64%, transparent 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  width: min(100%, 680px);
  padding: 18px;
}

.profile-card {
  width: min(100%, 620px);
  min-height: 760px;
  margin: 0 auto;
  padding: 70px 32px 42px;
  border-radius: 28px;
  background:
    linear-gradient(165deg, rgba(255, 164, 150, 0.08) 0 24%, transparent 52%),
    linear-gradient(180deg, var(--card-top) 0%, var(--card) 100%);
  border: 1px solid rgba(255, 157, 157, 0.22);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  backdrop-filter: blur(3px);
}

.profile-photo {
  width: min(100%, 350px);
  aspect-ratio: 0.9;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.5);
  background: rgba(61, 39, 45, 0.22);
  border: 1px solid rgba(255, 186, 186, 0.26);
}

.profile-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 26%;
  filter: saturate(1.05) contrast(1.04);
}

.profile-copy {
  text-align: center;
}

.profile-copy h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
  letter-spacing: 0.01em;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  text-shadow: 0 6px 24px rgba(255, 111, 147, 0.25);
}

.status {
  margin: 10px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffb385, #ff6f7e);
  box-shadow: 0 0 0 4px rgba(255, 111, 126, 0.23);
}

.cta-button {
  width: min(100%, 470px);
  margin-top: 4px;
  padding: 20px 24px;
  border-radius: 999px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.86rem;
  font-weight: 800;
  color: #2a101f;
  background:
    linear-gradient(90deg, rgba(255, 241, 230, 0.2), rgba(255, 241, 230, 0)) border-box,
    linear-gradient(95deg, var(--gold) 0%, #ffaf82 38%, var(--accent-strong) 100%) padding-box;
  border: 1px solid rgba(255, 241, 230, 0.38);
  box-shadow: 0 18px 30px rgba(255, 79, 111, 0.33);
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.cta-button:hover {
  transform: translateY(-3px) scale(1.01);
  filter: brightness(1.05);
  box-shadow: 0 24px 38px rgba(255, 79, 111, 0.4);
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(26, 9, 16, 0.9);
  color: #ffe6dc;
  border: 1px solid rgba(255, 157, 157, 0.3);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  animation: popIn 760ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 720px) {
  body {
    overflow-y: auto;
  }

  .page-shell {
    width: min(100%, 100vw);
    padding: 0;
  }

  .profile-card {
    width: 100%;
    min-height: 100vh;
    border-radius: 0;
    padding: 48px 20px 36px;
  }

  .profile-photo {
    width: min(100%, 320px);
  }
}
