/* ============================================================
   Killer Katrin — premium mobile link-in-bio
   Shared design system. Light "cream glass" aesthetic.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root{
  /* palette */
  --cream:        #e9e3dc;
  --cream-deep:   #ddd5cc;
  --card:         #f8f5f1;
  --card-soft:    #f2eee9;
  --ink:          #2a2724;
  --ink-soft:     #57514b;
  --muted:        #948b80;
  --line:         rgba(40,32,24,0.10);
  --line-soft:    rgba(40,32,24,0.06);
  --gold:         #bd9a5b;
  --gold-soft:    #d9c191;
  --blue:         #3a93f5;
  --online:       #46c46a;
  --black:        #181614;

  /* type */
  --display: 'Poppins', system-ui, sans-serif;
  --text:    'Manrope', system-ui, sans-serif;

  /* shape */
  --r-frame: 46px;
  --r-card:  32px;
  --r-row:   22px;
  --r-pill:  999px;

  --shadow-frame: 0 40px 90px -30px rgba(40,30,18,0.45), 0 8px 30px -12px rgba(40,30,18,0.25);
  --shadow-card:  0 18px 40px -22px rgba(40,30,18,0.45);
  --shadow-soft:  0 8px 22px -12px rgba(40,30,18,0.30);
}

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

html{ min-height: 100%; }

body{
  font-family: var(--text);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow-x: hidden;
}

/* ---- blurred ambient background (the portrait, way out of focus) ---- */
.ambient{
  position: fixed;
  inset: -12%;
  z-index: 0;
  background-size: cover;
  background-position: center 20%;
  filter: blur(60px) saturate(1.05) brightness(1.04);
  transform: scale(1.15);
  opacity: 0.9;
}
.ambient::after{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(233,227,220,0.25), rgba(233,227,220,0.78) 70%, var(--cream) 100%);
}
/* fallback wash when no bg image present */
.ambient.noimg{
  background:
    radial-gradient(90% 70% at 30% 15%, #efe7dd, transparent 60%),
    radial-gradient(90% 80% at 80% 85%, #e3d8cb, transparent 55%),
    var(--cream);
  filter: blur(0);
}

/* ============================================================
   PHONE FRAME
   ============================================================ */
.stage{
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(16px, 5vw, 48px);
  display: flex;
  gap: 28px;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
}

.frame{
  position: relative;
  width: min(440px, 100%);
  background: linear-gradient(180deg, #fbf9f6, #f1ece6);
  border-radius: var(--r-frame);
  padding: 14px;
  box-shadow: var(--shadow-frame);
  border: 1px solid rgba(255,255,255,0.7);
}
.frame::before{ /* faint inner hairline like a device */
  content:"";
  position:absolute; inset:7px;
  border-radius: calc(var(--r-frame) - 7px);
  border: 1px solid rgba(40,32,24,0.05);
  pointer-events:none;
}

.screen{
  position: relative;
  border-radius: calc(var(--r-frame) - 14px);
  background: var(--card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ============================================================
   PHOTO CARD (hero / profile)
   ============================================================ */
.photo{
  position: relative;
  width: 100%;
  border-radius: calc(var(--r-frame) - 14px);
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, #d9cfc3 0 14px, #d2c7ba 14px 28px);
  display: flex;
  align-items: flex-end;
}
.photo img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit: cover;
  object-position: center 22%;
  z-index:0;
}
.photo .ph-label{
  display:none;
  position:absolute; top:50%; left:50%;
  transform: translate(-50%,-50%);
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 12px; letter-spacing:.08em;
  color: rgba(40,32,24,0.5);
  background: rgba(255,255,255,0.5);
  padding: 7px 12px; border-radius: 8px;
  z-index:1;
}
.photo.noimg img{ display:none; }
.photo.noimg .ph-label{ display:block; }

/* gradient scrim so text reads on the photo */
.photo .scrim{
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 22px 22px 20px;
  background: linear-gradient(180deg, transparent, rgba(20,16,12,0.0) 30%, rgba(20,16,12,0.55) 100%);
}

/* frosted little pill badge (AI Creator / MODEL · CONTENT CREATOR) */
.eyebrow-pill{
  display: none;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow-pill svg{ width:13px; height:13px; }

.name-row{
  display: flex;
  align-items: center;
  gap: 10px;
}
.name{
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(30px, 9vw, 38px);
  line-height: 1.02;
  color: #fff;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 18px rgba(0,0,0,0.35);
}
.verified{
  width: 24px; height: 24px;
  flex: 0 0 auto;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35));
}
.tagline{
  margin-top: 8px;
  color: rgba(255,255,255,0.86);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .01em;
  text-shadow: 0 1px 10px rgba(0,0,0,0.3);
}

/* ONLINE chip — top-right, soft glow */
.online{
  position: absolute;
  top: 16px; right: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px 7px 11px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.16);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.34);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  animation: onlineBlink 2.4s ease-in-out infinite;
}
@keyframes onlineBlink{
  0%,100%{ opacity: 1;   box-shadow: 0 0 0 0 rgba(70,196,106,0.0); }
  50%    { opacity: .55; box-shadow: 0 0 16px -2px rgba(70,196,106,0.55); }
}
.online .dot{
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--online);
  box-shadow: 0 0 0 0 rgba(70,196,106,0.6);
  animation: onlinePulse 2.6s ease-in-out infinite;
}
@keyframes onlinePulse{
  0%,100%{ box-shadow: 0 0 0 0 rgba(70,196,106,0.55); opacity:.9; }
  50%    { box-shadow: 0 0 0 6px rgba(70,196,106,0);  opacity:1;  }
}

/* ============================================================
   CONTENT BELOW THE PHOTO
   ============================================================ */
.body{
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(214,191,140,0.10), transparent 55%),
    radial-gradient(120% 90% at 0% 100%, rgba(180,150,200,0.06), transparent 55%),
    linear-gradient(170deg, #fbf8f4 0%, #f4ede4 60%, #efe5d8 100%);
}
.section-label{
  text-align: center;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .02em;
}

/* ---- big black pill CTA (Subscribe / Hold to Enter / VIP) ---- */
.cta{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 19px 22px;
  border-radius: var(--r-pill);
  background: linear-gradient(180deg, #2a2622, var(--black));
  color: #fff;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: .01em;
  box-shadow: 0 14px 30px -14px rgba(24,22,20,0.8);
  border: 1px solid rgba(0,0,0,0.35);
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  isolation: isolate;
}
/* moving sheen */
.cta::before{
  content:"";
  position:absolute; inset:0; z-index:-1;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.18) 48%, transparent 66%);
  transform: translateX(-120%);
  animation: sheen 4.5s ease-in-out infinite;
}
@keyframes sheen{
  0%,55%{ transform: translateX(-120%); }
  78%   { transform: translateX(120%); }
  100%  { transform: translateX(120%); }
}
.cta__sub{
  font-family: var(--text);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .18em;
  opacity: .62;
  text-transform: uppercase;
}
.cta__col{ display:flex; flex-direction:column; align-items:center; gap:3px; line-height:1; }
.cta__star{ width:17px; height:17px; flex:0 0 auto; color: var(--gold-soft); }

/* hold-to-fill layer (left -> right) */
.cta__label{ position: relative; z-index: 2; }
.cta__fill{
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, #b6924f 0%, #d3b577 60%, #e6cf9b 100%);
  box-shadow: 0 0 22px rgba(214,191,140,0.45) inset;
  border-radius: inherit;
  pointer-events: none;
}
.cta__fill::after{ /* soft leading edge glow */
  content:"";
  position:absolute; top:0; bottom:0; right:0; width:34px;
  background: linear-gradient(90deg, transparent, rgba(255,247,224,0.55));
}
.cta.full{ filter: brightness(1.04); }

/* VIP button — icon tile left, text block left-aligned */
.cta.vip{
  justify-content: flex-start;
  gap: 16px;
  padding: 16px 22px;
}
.vip__icon{
  width: 50px; height: 50px;
  flex: 0 0 auto;
  border-radius: 15px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
  color: var(--gold-soft);
}
.vip__icon svg{ width: 24px; height: 24px; }
.vip__text{ display:flex; flex-direction:column; align-items:flex-start; gap:4px; line-height:1; }
.vip__title{
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.vip__sub{
  font-family: var(--text);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: .18em;
  opacity: .6;
  text-transform: uppercase;
}

/* gentle breathing glow */
.cta.glow{ animation: ctaGlow 2.7s ease-in-out infinite; }
@keyframes ctaGlow{
  0%,100%{ box-shadow: 0 14px 30px -14px rgba(24,22,20,0.8), 0 0 0 0 rgba(189,154,91,0.0); filter:brightness(1); }
  50%    { box-shadow: 0 16px 36px -12px rgba(24,22,20,0.85), 0 0 26px -2px rgba(189,154,91,0.45); filter:brightness(1.06); }
}
/* pressed state — thin clean outline, soft shadow (no thick inner border) */
.cta.pressing{
  background: linear-gradient(180deg, #34302b, #211e1b);
  border: 1.5px solid rgba(0,0,0,0.5);
  box-shadow: 0 0 0 3px rgba(189,154,91,0.35), 0 10px 26px -14px rgba(24,22,20,0.8);
  transform: scale(0.985);
}
.cta, .row, .widget{ transition: transform .18s ease, box-shadow .25s ease, background .25s ease; }

/* ---- footer micro links ---- */
.foot{
  text-align: center;
  margin-top: 2px;
}
.foot .tiny{
  font-size: 12.5px;
  color: var(--muted);
}
.foot .legal{
  margin-top: 8px;
  font-size: 11.5px;
  color: var(--muted);
  opacity: .85;
}
.foot .legal a{ color: inherit; text-decoration: none; }
.foot .legal a:hover{ color: var(--ink); }

/* ============================================================
   PLAN-STYLE ROWS (used on hero as the hint, reused on links)
   ============================================================ */
.row{
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 18px;
  border-radius: var(--r-row);
  background: var(--card-soft);
  border: 1px solid var(--line-soft);
  text-decoration: none;
  color: var(--ink);
}

/* ============================================================
   SOCIAL MINI-WIDGETS
   ============================================================ */
.widgets{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.widget{
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: var(--r-row);
  background: var(--card-soft);
  border: 1px solid var(--line-soft);
  text-decoration: none;
  color: var(--ink);
  -webkit-tap-highlight-color: transparent;
}
.widget:hover, .widget:focus-visible{
  transform: translateY(-2px) scale(1.012);
  border-color: rgba(189,154,91,0.55);
  box-shadow: 0 14px 30px -16px rgba(189,154,91,0.6), var(--shadow-soft);
  outline: none;
}
.widget__thumb{
  position: relative;
  width: 54px; height: 54px;
  flex: 0 0 auto;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(140deg, #d8cdbf, #c7baa9);
  display: grid; place-items: center;
}
.widget__thumb img{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit: cover; z-index:1;
}
.widget__thumb .letter{
  font-family: var(--display);
  font-weight: 700; font-size: 22px;
  color: rgba(255,255,255,0.96);
  text-shadow: 0 1px 3px rgba(0,0,0,0.28);
  z-index:0;
}

/* soft brand-tinted gradients for each social */
.brand-instagram{ background: linear-gradient(135deg,#f9d976 0%,#f39f6e 28%,#e76aa0 62%,#a86ccf 100%); }
.brand-telegram { background: linear-gradient(135deg,#7ecbf2 0%,#34a0e0 100%); }
.brand-tiktok   { background: linear-gradient(135deg,#4ee6dc 0%,#c9c2cf 46%,#f4708e 100%); }
.brand-x        { background: linear-gradient(135deg,#6a6d75 0%,#2a2c30 100%); }
.brand-threads  { background: linear-gradient(135deg,#585450 0%,#2a2724 100%); }
.widget__main{ display:flex; flex-direction:column; gap:3px; min-width:0; }
.widget__name{
  font-family: var(--display);
  font-weight: 600; font-size: 15.5px;
  letter-spacing: -0.01em;
}
.widget__cap{
  font-size: 13px; color: var(--muted); font-weight: 500;
}
.widget__icon{
  margin-left: auto;
  width: 34px; height: 34px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(40,32,24,0.05);
  color: var(--ink-soft);
}
.widget__icon svg{ width:17px; height:17px; }
.widget:hover .widget__icon{ background: rgba(189,154,91,0.16); color: var(--gold); }

/* divider label above widgets */
.widgets-label{
  display:flex; align-items:center; gap:12px;
  color: var(--muted); font-size:12.5px; font-weight:700;
  letter-spacing:.14em; text-transform:uppercase;
  margin: 4px 2px 0;
}
.widgets-label::before, .widgets-label::after{
  content:""; height:1px; flex:1; background: var(--line);
}

/* ============================================================
   TOAST
   ============================================================ */
.toast{
  position: fixed;
  left: 50%; bottom: 34px;
  transform: translateX(-50%) translateY(24px);
  z-index: 50;
  max-width: min(380px, 88vw);
  padding: 14px 20px;
  border-radius: 16px;
  background: rgba(24,22,20,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  line-height: 1.4;
  box-shadow: 0 18px 40px -16px rgba(0,0,0,0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
}
.toast.show{ opacity:1; transform: translateX(-50%) translateY(0); }

/* ============================================================
   DESKTOP — two phone-cards side by side (links page)
   ============================================================ */
.frame.profile{ }
.frame.aside{ display:none; }

@media (min-width: 920px){
  .stage.two .frame.aside{ display:block; }
  .stage.two{ align-items: flex-start; }
  .stage.two .frame{ width: min(420px, 44vw); }
}

/* mobile fit */
@media (max-width: 520px){
  .stage{ padding: 14px; min-height: 100dvh; align-items: stretch; }
  .frame{ width: 100%; padding: 11px; border-radius: 40px; }
  :root{ --r-frame: 40px; }
}

/* entrance */
.frame{ animation: rise .7s cubic-bezier(.2,.8,.2,1) forwards; }
.frame.aside{ animation-delay: .08s; }
@keyframes rise{ from{ opacity:0; transform: translateY(22px) scale(.985);} to{opacity:1; transform:none;} }

@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; }
}
