:root {
  --paper: #0d0e12;
  --ink: #f5f4f7;
  --muted: #9b9ba5;
  --orange: #ff2e63;
  --line: rgba(245, 244, 247, .15);
  --display: "Space Grotesk", Arial, sans-serif;
  --sans: "Manrope", Arial, sans-serif;
  --mono: "IBM Plex Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Compact creator profile layout */
body { min-height: 100vh; overflow-x: hidden; background: radial-gradient(ellipse at 50% 0%, #21141b 0, #101116 38%, #090a0d 82%); }
.ambient { position: fixed; z-index: 0; width: 360px; height: 360px; border-radius: 50%; filter: blur(110px); opacity: .12; pointer-events: none; }
.ambient-one { top: 8%; left: -180px; background: var(--orange); }
.ambient-two { right: -190px; bottom: 4%; background: #713c92; }
.profile-shell { position: relative; z-index: 1; width: min(100% - 32px, 640px); margin: 34px auto; overflow: hidden; border: 1px solid rgba(255,255,255,.09); border-radius: 28px; background: #090a0d; box-shadow: 0 32px 100px rgba(0,0,0,.48); }
.profile-hero { position: relative; height: 450px; overflow: hidden; isolation: isolate; background: #222229; }
.profile-hero::after { content: ""; position: absolute; z-index: 0; inset: 20% 0 0; background: linear-gradient(180deg, transparent 0%, rgba(7,8,11,.1) 20%, rgba(7,8,11,.45) 50%, rgba(7,8,11,.94) 100%); pointer-events: none; }
.profile-hero > img { position: absolute; inset: 0; object-position: center 31%; filter: saturate(.92) contrast(1.04); }
.hero-tag { position: absolute; z-index: 1; top: 18px; left: 18px; padding: 9px 11px; border: 1px solid rgba(255,255,255,.22); border-radius: 20px; color: #ff2e63; background: rgba(12,13,17,.38); backdrop-filter: blur(12px); font: 700 14px var(--display); letter-spacing: .08em; }
.hero-tag b { margin: 0 5px; color: var(--orange); }
.profile-identity { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 12%; text-align: center; }
.profile-identity h1 { display: inline-flex; align-items: center; justify-content: center; gap: 9px; margin: 0 0 5px; font: 800 clamp(30px, 5.5vw, 37px)/1.05 var(--display); letter-spacing: -.055em; line-height: 1; vertical-align: middle; }
.profile-identity p { margin: 0; color: rgba(255,255,255,.7); font: 500 13px var(--sans); }
.verified { width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: linear-gradient(135deg, #ff006e, #ff4d94); color: #fff; padding: 0; margin: 0 0 0 2px; flex-shrink: 0; align-self: center; vertical-align: middle; transform: translateY(2px); }
.verified svg { width: 14px; height: 14px; display: block; }
.profile-actions { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 9px; margin-top: 15px; }
.message-button, .social-icon { height: 57px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.38); color: #fff; background: rgba(12,13,17,.48); backdrop-filter: blur(10px); transition: transform .25s, color .25s, background .25s, border-color .25s, box-shadow .25s; }
.message-button { width: auto; height: 57px; gap: 12px; padding: 0 26px; border-color: #ff2e63; border-radius: 30px; background: linear-gradient(135deg, #ff006e, #ff4d94); color: #fff; font: 700 20px var(--sans); }
.message-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.social-actions { display: flex; justify-content: center; gap: 9px; }
.social-icon { width: 57px; border-color: #ff2e63; border-radius: 50%; background: linear-gradient(135deg, #ff006e, #ff4d94); color: #fff; }
.social-icon svg { width: 22px; height: 22px; fill: currentColor; }
.social-icon .instagram-mark { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.message-button:hover, .social-icon:hover { transform: translateY(-2px); box-shadow: 0 7px 22px rgba(0,0,0,.26); }
.message-button:hover { background: linear-gradient(135deg, #ff3385, #ff6eb0); border-color: #ff5a8a; color: #fff; }
.social-icon:hover { color: #fff; border-color: #ff5a8a; background: linear-gradient(135deg, #ff3385, #ff6eb0); }
.message-button:focus-visible, .social-icon:focus-visible { outline: 2px solid white; outline-offset: 3px; }
.swipe-panel { min-width: 0; padding: 24px 20px 17px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.swipe-heading { width: min(100%, 430px); text-align: center; }
.swipe-kicker { display: inline-flex; align-items: center; gap: 8px; color: #ff83a4; font: 8px var(--mono); letter-spacing: .16em; }
.swipe-kicker i { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 10px rgba(255,46,99,.8); }
.swipe-heading h2 { margin: 0 0 4px; color: #fff; font: 700 clamp(21px, 2.5vw, 29px)/1.15 var(--display); letter-spacing: -.045em; }
.swipe-hint { position: relative; width: 112px; height: 34px; display: flex; align-items: center; justify-content: center; margin: 5px auto 3px; }
.swipe-hint::before { content: ""; position: absolute; left: 15px; right: 15px; height: 1px; background: linear-gradient(90deg, transparent, var(--orange), transparent); opacity: .65; }
.swipe-hint span { position: relative; display: block; color: #ff4d94; font: 32px/1 "Segoe UI Symbol", "Apple Symbols", sans-serif; filter: drop-shadow(0 0 8px rgba(255,46,99,.4)); animation: finger-swipe 1.1s ease-in-out infinite alternate; }
@keyframes finger-swipe { from { opacity: .7; transform: translateX(-25px) rotate(-7deg); } to { opacity: 1; transform: translateX(25px) rotate(7deg); } }
.swipe-heading p { margin: 0; color: #9998a1; font: 10px var(--sans); }
.swipe-stage { position: relative; width: min(100%, 390px); height: auto; aspect-ratio: 9 / 16; margin: 18px auto 16px; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.swipe-card { position: absolute; inset: 0; overflow: hidden; isolation: isolate; border: 1px solid rgba(255,255,255,.12); border-radius: 19px; background: #1b1b21; box-shadow: 0 15px 40px rgba(0,0,0,.32); cursor: grab; touch-action: pan-y; will-change: transform, opacity; transition: transform .46s cubic-bezier(.2,.7,.2,1), opacity .4s ease, box-shadow .25s; }
.swipe-card.is-dragging { cursor: grabbing; transition: none; }
.swipe-card > img { position: absolute; inset: 0; pointer-events: none; object-position: center 32%; filter: saturate(.92) contrast(1.04); }
.swipe-card > img.photo-focus-left { object-position: 22% center; }
.swipe-card::after { content: ""; position: absolute; z-index: 0; inset: 48% 0 0; background: linear-gradient(180deg, transparent, rgba(5,6,9,.76)); pointer-events: none; }
.swipe-stamp { position: absolute; z-index: 2; top: 28px; opacity: 0; padding: 8px 12px; border: 3px solid currentColor; border-radius: 8px; font: 800 19px var(--display); letter-spacing: .1em; transition: opacity .12s; }
.stamp-nope { left: 22px; color: #ff5578; transform: rotate(-12deg); }
.stamp-like { right: 22px; color: #ff6eae; transform: rotate(12deg); }
.swipe-empty { position: absolute; inset: 0; z-index: 5; place-content: center; padding: 25px; border: 1px solid rgba(255,255,255,.12); border-radius: 19px; background: #15151b; color: #fff; text-align: center; font: 600 17px/1.6 var(--display); }
.swipe-empty[hidden] { display: none; }
.swipe-empty a { display: inline-block; margin-top: 12px; color: #ff83a4; font: 600 12px var(--sans); }
.swipe-controls { position: relative; width: min(100%, 410px); min-height: 54px; display: flex; justify-content: space-between; align-items: center; }
.pass-button { width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; background: #1b1b21; color: #ff6685; font: 300 32px/1 var(--sans); cursor: pointer; transition: transform .2s, border-color .2s, background .2s; }
.pass-button:hover { transform: scale(1.06); border-color: #ff5578; background: #25171d; }
.swipe-count { position: absolute; left: 50%; transform: translateX(-50%); color: #8c8b94; text-align: center; font: 9px var(--mono); letter-spacing: .12em; }
.connect-button { width: 48px; min-width: 48px; height: 48px; padding: 0; display: grid; place-items: center; border: 1px solid transparent; border-radius: 50%; background: linear-gradient(115deg, #ff006e, #ff4d94); color: white; transition: transform .2s, box-shadow .2s; }
.connect-button svg { width: 21px; height: 21px; fill: currentColor; }
.connect-button:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,0,110,.25); }
.model-bio { padding: 32px 22px 38px; border-top: 1px solid rgba(255,255,255,.1); background: #101116; }
.bio-kicker { display: flex; align-items: center; gap: 9px; margin: 0 0 14px; color: #ff83a4; font: 8px var(--mono); letter-spacing: .16em; }
.bio-kicker span { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 10px rgba(255,46,99,.8); }
.model-bio h2 { max-width: 500px; margin: 0 0 14px; color: #fff; font: 700 clamp(25px, 4vw, 36px)/1.12 var(--display); letter-spacing: -.05em; }
.model-bio h2 em { color: #ff4d94; font-style: normal; }
.bio-copy { max-width: 570px; margin: 0; color: #b8b7c0; font-size: 13px; line-height: 1.8; }
.bio-details { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 21px; color: #e4e2e8; font: 8px var(--mono); letter-spacing: .08em; }
.bio-details i { width: 3px; height: 3px; border-radius: 50%; background: var(--orange); }
.bio-cta { display: inline-flex; align-items: center; gap: 22px; margin-top: 24px; color: #ff83a4; font: 600 11px var(--sans); }
.bio-cta b { font-size: 16px; transition: transform .2s; }
.bio-cta:hover b { transform: translate(3px,-3px); }
.pass-button:focus-visible, .connect-button:focus-visible, .swipe-card:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* Subtle scroll reveals */
.js .reveal { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity .85s cubic-bezier(.2,.7,.2,1), transform .85s cubic-bezier(.2,.7,.2,1); transition-delay: var(--reveal-delay, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: translate3d(0, 0, 0); }

@media (max-width: 600px) {
  .profile-shell { width: min(100% - 18px, 480px); margin: 9px auto; border-radius: 23px; }
  .profile-hero { height: clamp(390px, 112vw, 510px); }
  .profile-hero > img { object-position: center 30%; }
  .profile-identity { bottom: 23px; }
  .swipe-panel { padding: 27px 15px 19px; }
  .swipe-heading h2 { font-size: 24px; }
  .swipe-stage { width: 100%; max-width: 400px; height: auto; margin: 19px auto 15px; }
  .swipe-controls { gap: 8px; }
  .model-bio { padding: 28px 20px 34px; }
  .model-bio h2 { font-size: 28px; }
  .bio-copy { font-size: 12px; }
}

@media (max-width: 360px) {
  .profile-hero { height: 390px; }
  .mini-title { letter-spacing: -.02em; }
}

@media (min-width: 900px) {
  body { min-height: 100vh; }
  .profile-shell {
    width: 100%;
    max-width: none;
    height: 100vh;
    min-height: 700px;
    margin: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: minmax(0, 2.25fr) minmax(0, 1fr);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
  }
  .profile-hero { grid-column: 1; grid-row: 1 / 3; height: 100%; min-height: 0; }
  .profile-hero > img { object-position: center 33%; }
  .profile-identity { bottom: 15%; }
  .profile-identity h1 { font-size: clamp(37px, 3.85vw, 57px); }
  .swipe-panel { grid-column: 2; grid-row: 1; min-height: 0; padding: 12px 42px 8px; }
  .swipe-heading h2 { font-size: clamp(22px, 2.3vw, 30px); }
  .swipe-heading p { font-size: 9px; }
  .swipe-hint { height: 28px; margin: 2px auto; }
  .swipe-stage { width: auto; max-width: 100%; height: clamp(260px, 46vh, 500px); margin: 8px auto 10px; }
  .swipe-controls { margin: 0 auto; }
  .model-bio { grid-column: 2; grid-row: 2; min-height: 0; padding: 18px 9% 16px; }
  .bio-kicker { margin-bottom: 8px; }
  .model-bio h2 { margin-bottom: 8px; font-size: clamp(22px, 2.2vw, 28px); }
  .bio-copy { font-size: 11px; line-height: 1.55; }
  .bio-details { gap: 8px; margin-top: 11px; font-size: 7px; }
  .bio-cta { margin-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media (max-width: 600px) and (orientation: portrait) {
  .profile-shell { width: calc(100% - 24px); margin: 8px auto; border-radius: 19px; }
  .profile-hero { height: clamp(334px, calc(95vw + 24px), 454px); }
  .profile-identity { bottom: 0; }
  .profile-identity h1 { font-size: clamp(25px, 6.6vw, 31px); }
  .profile-identity p { font-size: 11px; }
  .verified { width: 20px; height: 20px; }
  .verified svg { width: 11px; height: 11px; }
  .hero-tag { top: clamp(42px, 11vw, 52px); left: 14px; padding: 6px 8px; font-size: 11px; }
  .profile-actions { gap: 6px; margin-top: 9px; }
  .message-button { height: 46px; padding: 0 19px; font-size: 15px; }
  .message-button svg { width: 16px; height: 16px; }
  .social-actions { gap: 6px; }
  .social-icon { width: 46px; height: 46px; }
  .social-icon svg { width: 18px; height: 18px; }
  .swipe-panel { padding: 21px 12px 15px; }
  .swipe-heading h2 { font-size: 21px; }
  .swipe-heading p { font-size: 9px; }
  .swipe-hint { height: 27px; margin: 2px auto; }
  .swipe-stage { width: min(100%, clamp(237.5px, 68.4vw, 332.5px)); height: auto; margin: 14px auto 12px; }
  .swipe-controls { min-height: 46px; }
  .pass-button, .connect-button { width: 42px; min-width: 42px; height: 42px; }
  .pass-button { font-size: 28px; }
  .connect-button svg { width: 18px; height: 18px; }
  .swipe-count { font-size: 8px; }
  .model-bio { padding: 23px 17px 29px; }
  .model-bio h2 { font-size: 24px; }
  .bio-copy { font-size: 11px; }
  .bio-details { gap: 7px; margin-top: 15px; font-size: 7px; }
  .bio-cta { margin-top: 18px; }
}

@media (max-width: 360px) and (orientation: portrait) {
  .profile-hero { height: 414px; }
}
