/*
 * Body Collective Linktree — linktree.css
 * Page-specific styles for the phone mockup and linktree layout.
 * Extends the Goober framework for this unique page type.
 */

/* ── Remove nav padding (no header on this page) ────── */
.linktree-body {
  padding-top: 0;
  background: var(--color-bg, #fde8f3);
}

/* ── Full-viewport stage: centers the phone ─────────── */
.linktree-stage {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: var(--color-bg, #fde8f3);
  position: relative;
}

/* Soft decorative background blobs (desktop) */
.linktree-stage::before {
  content: '';
  position: fixed;
  top: -15%;
  right: -8%;
  width: 55vw;
  height: 55vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251,208,232,0.7) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.linktree-stage::after {
  content: '';
  position: fixed;
  bottom: -15%;
  left: -8%;
  width: 45vw;
  height: 45vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227,44,136,0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

@media (min-width: 768px) {
  .linktree-stage {
    align-items: center;
    padding: 48px 24px;
  }
}

/* ── Phone mockup wrapper ────────────────────────────── */
.phone-wrap {
  width: 100%;
  max-width: 430px;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .phone-wrap {
    width: 393px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 54px;
    padding: 14px 14px 10px;
    box-shadow:
      0 40px 80px rgba(227, 44, 136, 0.18),
      0 16px 32px rgba(0, 0, 0, 0.1),
      inset 0 0 0 1px rgba(227, 44, 136, 0.12);
  }
}

/* ── Dynamic island ──────────────────────────────────── */
.phone-island {
  display: none;
}

@media (min-width: 768px) {
  .phone-island {
    display: block;
    width: 126px;
    height: 36px;
    background: #1a1a1a;
    border-radius: 18px;
    margin: 0 auto 8px;
  }
}

/* ── Phone screen ────────────────────────────────────── */
.phone-screen {
  background: var(--color-bg, #fde8f3);
  overflow: hidden;
}

@media (min-width: 768px) {
  .phone-screen {
    border-radius: 44px;
    height: 780px;
    overflow-y: auto;
    scrollbar-width: none;
  }

  .phone-screen::-webkit-scrollbar {
    display: none;
  }
}

/* ── Home bar indicator ──────────────────────────────── */
.phone-bar {
  display: none;
}

@media (min-width: 768px) {
  .phone-bar {
    display: block;
    width: 134px;
    height: 5px;
    background: rgba(227, 44, 136, 0.25);
    border-radius: 3px;
    margin: 10px auto 4px;
  }
}

/* ── Scrollable content inside screen ───────────────── */
.lt-scroll {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

/* ── Cover area (video / gradient banner) ────────────── */
.lt-cover {
  position: relative;
  height: 188px;
  overflow: hidden;
  background: linear-gradient(135deg, #e32c88 0%, #f472b6 40%, #fbd0e8 80%, #fde8f3 100%);
  flex-shrink: 0;
}

.lt-cover-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lt-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.0) 100%);
}


/* ── Profile identity block ──────────────────────────── */
.lt-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px 12px;
  margin-top: -52px;
  position: relative;
  z-index: 2;
}

.lt-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 6px 24px rgba(227, 44, 136, 0.22);
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  flex-shrink: 0;
}

.lt-avatar img {
  width: 82%;
  height: 82%;
  object-fit: contain;
}

.lt-name {
  font-size: 1.375rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 4px;
  font-family: var(--font-heading, 'Inter', sans-serif);
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.lt-handle {
  font-size: 0.875rem;
  color: var(--color-text-muted, #475569);
  margin: 0 0 10px;
  font-weight: 500;
}

.lt-bio {
  font-size: 0.8125rem;
  color: var(--color-text-muted, #475569);
  line-height: 1.55;
  max-width: 270px;
  margin: 0;
}

/* ── Divider ─────────────────────────────────────────── */
.lt-divider {
  width: 48px;
  height: 2px;
  background: rgba(227, 44, 136, 0.2);
  border-radius: 1px;
  margin: 14px auto 2px;
}

/* ── Social icons row ────────────────────────────────── */
.lt-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px 8px;
}

.lt-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  color: var(--color-primary, #e32c88);
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(227, 44, 136, 0.14);
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease, color 200ms ease;
  flex-shrink: 0;
}

.lt-social-icon:hover,
.lt-social-icon:focus-visible {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 20px rgba(227, 44, 136, 0.28);
  background: var(--color-primary, #e32c88);
  color: #fff;
}

.lt-social-icon svg {
  display: block;
  flex-shrink: 0;
}

/* ── Link buttons list ───────────────────────────────── */
.lt-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 20px 28px;
}

.lt-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 58px;
  border-radius: 9999px;
  text-decoration: none;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  transition: transform 200ms ease, box-shadow 200ms ease;
  position: relative;
  gap: 10px;
  padding: 0 28px 0 52px;
  text-align: center;
}

.lt-btn:hover,
.lt-btn:focus-visible {
  transform: translateY(-2px);
}

/* Filled hot-pink button (hero action) */
.lt-btn-filled {
  background: var(--color-primary, #e32c88);
  color: #fff;
  box-shadow: 0 4px 18px rgba(227, 44, 136, 0.35);
}

.lt-btn-filled:hover,
.lt-btn-filled:focus-visible {
  box-shadow: 0 10px 28px rgba(227, 44, 136, 0.45);
  color: #fff;
}

/* Soft blush button */
.lt-btn-soft {
  background: #fbd0e8;
  color: #1a1a1a;
  border: 1.5px solid rgba(227, 44, 136, 0.2);
}

.lt-btn-soft:hover,
.lt-btn-soft:focus-visible {
  background: #f9c2e1;
  box-shadow: 0 6px 18px rgba(227, 44, 136, 0.18);
  color: #1a1a1a;
}

/* White / outlined button */
.lt-btn-white {
  background: #fff;
  color: #1a1a1a;
  border: 1.5px solid rgba(227, 44, 136, 0.22);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.lt-btn-white:hover,
.lt-btn-white:focus-visible {
  border-color: var(--color-primary, #e32c88);
  box-shadow: 0 6px 18px rgba(227, 44, 136, 0.16);
  color: #1a1a1a;
}

/* Icon bubble inside button */
.lt-btn-icon {
  position: absolute;
  left: 16px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  line-height: 1;
}

.lt-btn-filled .lt-btn-icon {
  background: rgba(255, 255, 255, 0.22);
}

.lt-btn-soft .lt-btn-icon {
  background: rgba(227, 44, 136, 0.12);
}

.lt-btn-white .lt-btn-icon {
  background: rgba(227, 44, 136, 0.09);
}

/* ── Image card button (full-width image top, content below) ── */
.lt-btn-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-radius: 20px;
  text-decoration: none;
  font-family: var(--font-body, 'Inter', sans-serif);
  color: #1a1a1a;
  background: #fff;
  border: 1.5px solid rgba(227, 44, 136, 0.18);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  transition: transform 200ms ease, box-shadow 200ms ease;
  padding: 0;
}

.lt-btn-card:hover,
.lt-btn-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(227, 44, 136, 0.18);
  border-color: rgba(227, 44, 136, 0.35);
  color: #1a1a1a;
}

.lt-card-img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  display: block;
}

.lt-card-body {
  padding: 14px 16px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.lt-card-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lt-card-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary, #e32c88);
}

.lt-card-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.25;
}

.lt-card-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-primary, #e32c88);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9375rem;
}

/* ── Stockist / wholesale content section ────────────── */
.lt-stockist {
  padding: 4px 20px 20px;
}

.lt-stockist-inner {
  background: #fff;
  border: 1.5px solid rgba(227, 44, 136, 0.18);
  border-radius: 20px;
  padding: 22px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.lt-stockist-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.lt-stockist-body {
  font-size: 0.8125rem;
  color: var(--color-text-muted, #475569);
  line-height: 1.6;
  margin: 0;
  max-width: 280px;
}

.lt-stockist .lt-btn {
  margin-top: 4px;
  width: 100%;
}

/* ── Footer inside phone ─────────────────────────────── */
.lt-footer {
  text-align: center;
  padding: 8px 20px 28px;
  font-size: 0.6875rem;
  color: var(--color-text-light, #94A3B8);
  letter-spacing: 0.02em;
}

.lt-footer a {
  color: var(--color-primary, #e32c88);
  text-decoration: none;
  font-weight: 600;
}

.lt-footer a:hover {
  text-decoration: underline;
}
