/* Same design as jadecurlygal.com. --brand-pink is set per site in the page. */
:root {
  --brand-pink: #ff0090;
  --text-main: #101827;
  --text-muted: #64748b;
  --overlay: rgba(36, 36, 36, 0.72);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: #ffffff;
  color: var(--text-main);
  font-family: "Outfit", sans-serif;
}

[hidden] {
  display: none !important;
}

.page-shell {
  min-height: 100dvh;
  background: #ffffff;
}

.profile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.banner {
  width: 100%;
  height: 160px;
  background: var(--brand-pink);
  position: relative;
  display: flex;
  justify-content: center;
}

.avatar-wrap {
  position: absolute;
  width: 200px;
  height: 200px;
  bottom: -100px;
  border-radius: 999px;
  overflow: hidden;
  border: 6px solid #ffffff;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.26);
  background: #f1f5f9;
}

.avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.identity-block {
  margin-top: 115px;
  padding: 0 16px;
  text-align: center;
}

.name-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.name-row h1 {
  margin: 0;
  font-size: 2rem;
  font-weight: 800;
  color: #111827;
}

.verified-icon {
  width: 20px;
  height: 20px;
  color: var(--brand-pink);
}

.identity-block p {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: 0.96rem;
  font-weight: 500;
}

.cta-area {
  width: 100%;
  max-width: 420px;
  margin-top: 28px;
  padding: 0 18px;
}

.main-cta {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-pink);
  color: #ffffff;
  border: 0;
  border-radius: 18px;
  font-family: inherit;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 16px 20px;
  cursor: pointer;
  box-shadow: 0 14px 32px color-mix(in srgb, var(--brand-pink) 28%, transparent);
  transition: transform 0.16s ease, filter 0.2s ease;
}

.main-cta:hover {
  filter: brightness(0.92);
}

.main-cta:active {
  transform: scale(0.98);
}

.main-cta:focus-visible,
.secondary-btn:focus-visible,
.primary-btn:focus-visible,
.modal-close:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  opacity: 0;
  pointer-events: none;
  background: var(--overlay);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: opacity 0.26s ease;
}

.modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.warning-modal {
  width: min(440px, 100%);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(17, 24, 39, 0.84);
  color: #ffffff;
  padding: 26px;
  text-align: center;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.4);
  transform: translateY(8px) scale(0.98);
  transition: transform 0.26s ease;
  outline: none;
}

.modal-overlay.is-open .warning-modal {
  transform: translateY(0) scale(1);
}

.warning-modal h2 {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 800;
}

.warning-modal p {
  margin: 12px 0 0;
  font-size: 1.02rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.84);
}

.modal-instruction {
  margin-top: 24px;
}

.modal-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.secondary-btn,
.primary-btn {
  min-width: 124px;
  border-radius: 999px;
  border: 0;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  padding: 12px 18px;
  cursor: pointer;
  transition: transform 0.14s ease, opacity 0.2s ease;
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.primary-btn {
  background: #ffffff;
  color: #111827;
}

.secondary-btn:active,
.primary-btn:active {
  transform: scale(0.98);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.modal-close svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 520px) {
  .banner {
    height: 150px;
  }

  .avatar-wrap {
    width: 170px;
    height: 170px;
    bottom: -86px;
  }

  .identity-block {
    margin-top: 98px;
  }

  .name-row h1 {
    font-size: 1.8rem;
  }

  .modal-actions {
    flex-direction: column-reverse;
  }

  .secondary-btn,
  .primary-btn {
    width: 100%;
  }
}
