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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #ffffff;
  color: #111111;
  min-height: 100dvh;
  overflow-x: hidden;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  max-width: 480px;
  margin: 0 auto;
  background: #ffffff;
}

/* ── Profile banner (Beacons-style hero) ── */

.profile-banner {
  position: relative;
  flex-shrink: 0;
  width: 100%;
  height: clamp(260px, 48dvh, 420px);
  overflow: hidden;
  background: #f5f5f5;
}

.profile-banner__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.profile-banner__fade {
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.55) 45%,
    rgba(255, 255, 255, 0.92) 75%,
    #ffffff 100%
  );
  pointer-events: none;
}

/* ── Content section ── */

.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1.5rem calc(2rem + env(safe-area-inset-bottom, 0px));
  margin-top: -1.75rem;
  position: relative;
  z-index: 1;
}

.name {
  font-size: clamp(2rem, 9vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #111111;
}

.tagline {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #555555;
  letter-spacing: 0.01em;
}

/* ── OnlyFans link button ── */

.link-btn {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 340px;
  margin-top: 1.75rem;
  padding: 0.875rem 1rem;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: #ffffff;
  background: #0095f6;
  border-radius: 16px;
  box-shadow:
    0 2px 8px rgba(0, 149, 246, 0.25),
    0 1px 3px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.link-btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: #ffffff;
  border-radius: 10px;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #00aff0;
  line-height: 1;
}

.link-btn__label {
  text-align: center;
}

.link-btn__spacer {
  width: 36px;
  height: 36px;
}

.link-btn:hover {
  background: #0086de;
  transform: translateY(-1px);
  box-shadow:
    0 4px 14px rgba(0, 149, 246, 0.35),
    0 2px 6px rgba(0, 0, 0, 0.1);
}

.link-btn:active {
  transform: translateY(0);
  box-shadow:
    0 1px 4px rgba(0, 149, 246, 0.2),
    0 1px 2px rgba(0, 0, 0, 0.06);
}

/* ── Larger screens ── */

@media (min-width: 480px) {
  .page {
    border-left: 1px solid #f0f0f0;
    border-right: 1px solid #f0f0f0;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.04);
  }

  .content {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .link-btn {
    max-width: 360px;
    padding: 1rem 1.5rem;
    font-size: 1.125rem;
  }
}
