/* ==========================================================================
   ClipsBazaar Unified Stylesheet
   Redesigned header, updated typography, stronger mobile behavior.
   Keeps the existing pink, purple, gold, and dark color palette.
   ========================================================================== */

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

:root{
  --bg:#0f0b14;
  --bg2:#15101d;
  --panel:#1a1522;
  --panel2:#21192d;
  --pink:#ff4f8b;
  --pink-soft:#ff8ab4;
  --purple:#a855f7;
  --gold:#f6c667;
  --text:#ffffff;
  --muted:#c4bfd1;
  --line:rgba(255,255,255,.09);
  --danger:#ff6b7a;
  --success:#5ed6a7;
  --shadow:0 24px 64px rgba(0,0,0,.34);
  --shadow-soft:0 12px 34px rgba(0,0,0,.24);
  --radius-xl:24px;
  --radius-lg:18px;
  --radius-md:14px;
  --container:1180px;
}

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

html{
  scroll-behavior:smooth;
}

body{
  min-height:100vh;
  overflow-x:hidden;
  color:var(--text);
  font-family:"Manrope",sans-serif;
  background:
    radial-gradient(circle at 10% 10%,rgba(168,85,247,.16),transparent 28%),
    radial-gradient(circle at 88% 12%,rgba(255,79,139,.16),transparent 24%),
    linear-gradient(180deg,#100b16,#0f0b14 55%,#0b0810);
}

body.locked{
  overflow:hidden;
}

a{
  color:inherit;
  text-decoration:none;
}

img{
  display:block;
  max-width:100%;
}

button,
input,
textarea,
select{
  font:inherit;
}

button{
  -webkit-tap-highlight-color:transparent;
}

.container{
  width:min(calc(100% - 32px),var(--container));
  margin-inline:auto;
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */

.topbar{
  position:sticky;
  top:0;
  z-index:100;
  border-bottom:1px solid rgba(255,255,255,.07);
  background:rgba(10,7,14,.88);
  box-shadow:0 10px 32px rgba(0,0,0,.2);
  backdrop-filter:blur(20px);
}

.nav{
  min-height:76px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:28px;
}

.brand{
  display:inline-flex;
  align-items:center;
  gap:12px;
  font-family:"Manrope",sans-serif;
  font-size:1.55rem;
  font-weight:700;
  letter-spacing:-.025em;
  white-space:nowrap;
}

.brand-mark{
  width:42px;
  height:42px;
  flex:0 0 42px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.16);
  border-radius:15px;
  font-family:"Manrope",sans-serif;
  font-size:.82rem;
  font-weight:800;
  background:linear-gradient(135deg,var(--pink),var(--purple));
  box-shadow:0 10px 28px rgba(255,79,139,.22);
}

.navlinks,
.main-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
}

.navlinks a,
.main-nav a{
  padding:10px 12px;
  border-radius:10px;
  color:var(--muted);
  font-size:.88rem;
  font-weight:600;
  transition:.2s ease;
}

.navlinks a:hover,
.main-nav a:hover{
  color:#fff;
  background:rgba(255,255,255,.055);
}

.nav-actions,
.navright{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  min-width:0;
}

.nav-actions .small,
.navright .small{
  max-width:220px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.menu-toggle{
  display:none;
  width:44px;
  height:44px;
  place-items:center;
  border:1px solid var(--line);
  border-radius:13px;
  color:#fff;
  background:rgba(255,255,255,.05);
  cursor:pointer;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn{
  min-height:46px;
  padding:0 18px;
  border:1px solid transparent;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  color:#fff;
  font-weight:800;
  line-height:1;
  cursor:pointer;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease,background .2s ease;
}

.btn:hover{
  transform:translateY(-1px);
}

.btn:active{
  transform:translateY(0);
}

.btn-primary{
  background:linear-gradient(135deg,var(--pink),var(--purple));
  box-shadow:0 12px 30px rgba(255,79,139,.2);
}

.btn-primary:hover{
  box-shadow:0 16px 36px rgba(255,79,139,.27);
}

.btn-secondary,
.btn-ghost{
  color:#fff;
  border-color:var(--line);
  background:rgba(255,255,255,.055);
}

.btn-secondary:hover,
.btn-ghost:hover{
  border-color:rgba(255,255,255,.18);
  background:rgba(255,255,255,.085);
}

.btn-danger{
  color:#ffd5da;
  border-color:rgba(255,107,122,.25);
  background:rgba(255,107,122,.12);
}

.btn-small{
  min-height:40px;
  padding-inline:15px;
  font-size:.82rem;
}

/* ==========================================================================
   Shared cards / forms
   ========================================================================== */

.card,
.glass{
  border:1px solid var(--line);
  border-radius:var(--radius-xl);
  background:linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.025));
  box-shadow:var(--shadow);
  backdrop-filter:blur(18px);
}

.field{
  margin-bottom:16px;
}

.field label{
  display:block;
  margin-bottom:8px;
  font-size:.87rem;
  font-weight:800;
}

.field input,
.field textarea,
.field select{
  width:100%;
  min-height:48px;
  padding:13px 14px;
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  outline:none;
  color:#fff;
  background:#1b1625;
  transition:border-color .2s ease,box-shadow .2s ease,background .2s ease;
}

.field textarea{
  min-height:120px;
  resize:vertical;
}

.field input::placeholder,
.field textarea::placeholder{
  color:#8f8798;
}

.field input:focus,
.field textarea:focus,
.field select:focus{
  border-color:rgba(255,79,139,.55);
  box-shadow:0 0 0 4px rgba(255,79,139,.1);
  background:#21192d;
}

select,
select option,
select optgroup,
.field select option,
.field select optgroup{
  color:#fff;
  background:#1b1625;
}

.alert{
  padding:14px 16px;
  margin-bottom:18px;
  border-radius:var(--radius-md);
  line-height:1.55;
}

.alert-error{
  color:#ffd6dc;
  border:1px solid rgba(255,107,122,.24);
  background:rgba(255,107,122,.1);
}

.alert-success{
  color:#d9fff0;
  border:1px solid rgba(94,214,167,.24);
  background:rgba(94,214,167,.1);
}

.small{
  color:var(--muted);
  font-size:.86rem;
}

.muted-box{
  padding:18px;
  border:1px dashed rgba(255,255,255,.18);
  border-radius:16px;
  color:var(--muted);
  background:rgba(255,255,255,.018);
}

/* ==========================================================================
   Authentication
   ========================================================================== */

.auth-wrap{
  min-height:calc(100vh - 76px);
  display:grid;
  place-items:center;
  padding:42px 0;
}

.auth-card{
  width:min(100%,520px);
  padding:34px;
}

.auth-card h1{
  margin-bottom:10px;
  font-family:"Manrope",sans-serif;
  font-size:2.35rem;
  line-height:1.08;
}

.auth-card p{
  margin-bottom:24px;
  color:var(--muted);
  line-height:1.7;
}

/* ==========================================================================
   Dashboard
   ========================================================================== */

.dashboard{
  padding:34px 0 72px;
}

.dashboard-grid{
  display:grid;
  grid-template-columns:250px minmax(0,1fr);
  gap:24px;
}

.sidebar{
  position:sticky;
  top:98px;
  height:max-content;
  max-height:calc(100vh - 120px);
  overflow:auto;
  padding:16px;
}

.sidebar a{
  display:flex;
  align-items:center;
  min-height:44px;
  padding:11px 13px;
  margin:3px 0;
  border-radius:12px;
  color:var(--muted);
  font-size:.88rem;
  font-weight:700;
  transition:.2s ease;
}

.sidebar a:hover,
.sidebar a.active{
  color:#fff;
  background:linear-gradient(135deg,rgba(255,79,139,.13),rgba(168,85,247,.12));
}

.main-stack{
  min-width:0;
  display:grid;
  gap:22px;
}

.hero-card{
  padding:28px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:22px;
}

.hero-card h1{
  margin-bottom:8px;
  font-family:"Manrope",sans-serif;
  font-size:clamp(2rem,3vw,2.7rem);
  line-height:1.08;
}

.hero-card p{
  color:var(--muted);
}

.stats{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}

.stat{
  min-width:0;
  padding:22px;
}

.stat strong{
  display:block;
  margin-bottom:6px;
  font-size:2rem;
  line-height:1;
}

.stat span{
  color:var(--muted);
  font-size:.88rem;
}

.panel{
  padding:24px;
}

.panel-head{
  margin-bottom:20px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
}

.panel h2{
  font-family:"Manrope",sans-serif;
  font-size:1.55rem;
}

.form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}

.button-row,
.clip-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
}

.check-row{
  display:flex;
  align-items:center;
  gap:10px;
  margin:12px 0 18px;
  color:var(--muted);
  font-size:.88rem;
}

.check-row input{
  width:auto;
}

.section-kicker{
  display:block;
  margin-bottom:6px;
  color:var(--pink-soft);
  font-size:.68rem;
  font-weight:800;
  letter-spacing:.15em;
  text-transform:uppercase;
}

.clip-list,
.item-list{
  display:grid;
  gap:14px;
}

.clip-row,
.item-row{
  display:grid;
  grid-template-columns:86px minmax(0,1fr) auto;
  gap:16px;
  align-items:center;
  padding:14px;
  border:1px solid var(--line);
  border-radius:16px;
  background:rgba(255,255,255,.025);
}

.clip-thumb,
.item-thumb{
  width:86px;
  height:68px;
  border-radius:12px;
  object-fit:cover;
  background:#261c31;
}

.item-thumb{
  height:86px;
}

.clip-row h3,
.item-row h3{
  margin-bottom:5px;
  font-size:1rem;
}

.clip-row p,
.item-row p{
  color:var(--muted);
  font-size:.84rem;
  line-height:1.5;
}

.status-note,
.locked-note{
  margin-top:5px;
  color:var(--muted);
  font-size:.77rem;
}

.payout-note{
  padding:14px 16px;
  border:1px solid var(--line);
  border-radius:16px;
  background:rgba(255,255,255,.035);
}

.storefront-preview{
  display:grid;
  grid-template-columns:150px minmax(0,1fr);
  gap:18px;
  align-items:center;
  margin-bottom:20px;
}

.profile-preview{
  width:150px;
  height:150px;
  border-radius:22px;
  object-fit:cover;
  background:rgba(255,255,255,.06);
}

.cover-preview{
  width:100%;
  height:210px;
  margin-bottom:18px;
  border-radius:20px;
  object-fit:cover;
  background:rgba(255,255,255,.06);
}

.current-clip-thumb{
  width:150px;
  height:95px;
  margin-bottom:12px;
  border-radius:14px;
  object-fit:cover;
  background:rgba(255,255,255,.06);
}

.edit-review-note{
  padding:14px 16px;
  margin-bottom:18px;
  border:1px solid rgba(227,149,181,.26);
  border-radius:16px;
  color:var(--muted);
  line-height:1.55;
  background:rgba(227,149,181,.08);
}

.edit-review-note strong{
  color:#fff;
}

.footer-note{
  padding:30px 16px;
  text-align:center;
  color:#8e8799;
  font-size:.8rem;
}

/* ==========================================================================
   Homepage styles
   ========================================================================== */

body.home-page{
  --bg:#050506;
  --bg-soft:#0c0a0e;
  --panel:#111014;
  --panel-2:#17131a;
  --text:#fff7fb;
  --muted:#b9adb6;
  --line:rgba(255,255,255,.1);
  --pink:#ff2f7d;
  --pink-soft:#ff82b3;
  --purple:#8d45ff;
  --gold:#e9bc72;
  --container:1240px;
  min-height:100vh;
  overflow-x:hidden;
  color:var(--text);
  background:
    radial-gradient(circle at 10% 0,rgba(255,47,125,.11),transparent 28%),
    radial-gradient(circle at 100% 20%,rgba(141,69,255,.1),transparent 32%),
    var(--bg);
}

body.home-page .container{
  width:min(calc(100% - 32px),var(--container));
}

body.home-page .brand{
  font-family:"Manrope",sans-serif;
  font-size:1.65rem;
}

body.home-page .brand-mark{
  border-radius:50%;
}

body.home-page .site-header{
  position:sticky;
  top:0;
  z-index:100;
  border-bottom:1px solid rgba(255,255,255,.07);
  background:rgba(5,5,6,.82);
  backdrop-filter:blur(20px);
}

body.home-page .nav-shell{
  min-height:78px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:28px;
}

body.home-page .main-nav,
body.home-page .nav-actions{
  display:flex;
  align-items:center;
  gap:10px;
}

body.home-page .main-nav{
  justify-content:center;
}

body.home-page .main-nav a,
body.home-page .nav-link{
  padding:10px 12px;
  border-radius:10px;
  color:var(--muted);
  font-size:.88rem;
  font-weight:600;
  transition:.2s ease;
}

body.home-page .main-nav a:hover,
body.home-page .nav-link:hover{
  color:#fff;
  background:rgba(255,255,255,.05);
}

body.home-page .menu-toggle{
  display:none;
}

body.home-page .btn{
  min-height:48px;
  padding:0 21px;
}

body.home-page .btn-primary{
  background:linear-gradient(135deg,var(--pink),#d81d86 52%,var(--purple));
  box-shadow:0 16px 42px rgba(255,47,125,.25);
}

body.home-page .kicker{
  margin-bottom:13px;
  color:var(--pink-soft);
  font-size:.7rem;
  font-weight:800;
  letter-spacing:.2em;
  text-transform:uppercase;
}

body.home-page .section{
  padding:92px 0;
}

body.home-page .section.compact{
  padding:72px 0 36px;
}

body.home-page .section-heading{
  margin-bottom:32px;
}

body.home-page .split-heading{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:24px;
}

body.home-page .section-heading h2,
body.home-page .editorial-copy h2,
body.home-page .cta-panel h2,
body.home-page .signup-panel h2{
  font-family:"Manrope",sans-serif;
  font-size:clamp(2.4rem,5vw,4.7rem);
  font-weight:600;
  line-height:1;
}

body.home-page .text-arrow{
  color:var(--pink-soft);
  font-size:.9rem;
}

body.home-page .hero{
  min-height:800px;
  position:relative;
  display:grid;
  align-items:end;
  overflow:hidden;
}

body.home-page .hero-media,
body.home-page .hero-shade{
  position:absolute;
  inset:0;
}

body.home-page .hero-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 20%;
  filter:saturate(.85) contrast(1.04);
}

body.home-page .hero-shade{
  background:
    linear-gradient(90deg,rgba(5,5,6,.98) 0%,rgba(5,5,6,.82) 34%,rgba(5,5,6,.22) 65%,rgba(5,5,6,.45) 100%),
    linear-gradient(0deg,#050506 0%,transparent 40%);
}



body.home-page .hero-search input::placeholder{
  color:#9e9199;
}

body.home-page .hero-actions,
body.home-page .hero-meta{
  display:flex;
  flex-wrap:wrap;
  gap:13px;
}

body.home-page .hero-meta{
  margin-top:24px;
  color:#ad9fa8;
  font-size:.82rem;
}

body.home-page .hero-meta span::before{
  content:"•";
  margin-right:8px;
  color:var(--gold);
}

body.home-page .featured-tile{
  padding:18px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:22px;
  background:rgba(8,8,10,.55);
  backdrop-filter:blur(18px);
}

body.home-page .featured-label{
  display:block;
  margin-bottom:16px;
  color:var(--pink-soft);
  font-size:.68rem;
  letter-spacing:.17em;
  text-transform:uppercase;
}

body.home-page .featured-person{
  display:flex;
  align-items:center;
  gap:14px;
}

body.home-page .featured-person img{
  width:64px;
  height:64px;
  border-radius:50%;
  object-fit:cover;
}

body.home-page .featured-person strong,
body.home-page .featured-person span{
  display:block;
}

body.home-page .featured-person span{
  margin-top:4px;
  color:var(--muted);
  font-size:.8rem;
}

body.home-page .ticker-wrap{
  overflow:hidden;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:#09080a;
}

body.home-page .ticker{
  min-width:max-content;
  padding:15px 0;
  display:flex;
  gap:44px;
  color:#d8cad3;
  font-size:.8rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  animation:ticker 24s linear infinite;
}

body.home-page .ticker span::after{
  content:"✦";
  margin-left:44px;
  color:var(--pink);
}

@keyframes ticker{
  from{transform:translateX(0)}
  to{transform:translateX(-35%)}
}

body.home-page .search-tags{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:28px;
}

body.home-page .search-tags a{
  padding:10px 15px;
  border:1px solid var(--line);
  border-radius:999px;
  color:#d7cbd3;
  font-size:.84rem;
  background:rgba(255,255,255,.025);
  transition:.2s;
}

body.home-page .search-tags a:hover{
  border-color:rgba(255,47,125,.5);
  color:#fff;
}

body.home-page .category-strip{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}

body.home-page .category-pill-card{
  min-height:140px;
  padding:20px;
  display:flex;
  align-items:flex-start;
  gap:14px;
  border:1px solid var(--line);
  border-radius:18px;
  background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.012));
  transition:.25s ease;
}

body.home-page .category-pill-card:hover{
  transform:translateY(-5px);
  border-color:rgba(255,47,125,.4);
}

body.home-page .category-symbol{
  color:var(--pink-soft);
  font-size:1.25rem;
}

body.home-page .category-pill-card strong,
body.home-page .category-pill-card small{
  display:block;
}

body.home-page .category-pill-card small{
  margin-top:8px;
  color:var(--muted);
  font-size:.77rem;
  line-height:1.5;
}

body.home-page .clip-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}

body.home-page .clip-card{
  min-width:0;
}

body.home-page .clip-card-featured{
  grid-column:span 2;
  grid-row:span 2;
}

body.home-page .clip-image{
  position:relative;
  display:block;
  overflow:hidden;
  border-radius:18px;
  background:var(--panel);
  aspect-ratio:4/5;
}

body.home-page .clip-card-featured .clip-image{
  height:100%;
  min-height:650px;
  aspect-ratio:auto;
}

body.home-page .clip-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:.45s ease;
}

body.home-page .clip-overlay{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  background:rgba(5,5,6,.48);
  transition:.3s ease;
}

body.home-page .clip-card:hover .clip-overlay{
  opacity:1;
}

body.home-page .clip-card:hover img{
  transform:scale(1.045);
}

body.home-page .play-circle{
  width:64px;
  height:64px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:linear-gradient(135deg,var(--pink),var(--purple));
  box-shadow:0 15px 40px rgba(255,47,125,.3);
}

body.home-page .quick-actions{
  position:absolute;
  right:14px;
  bottom:14px;
  display:flex;
  gap:8px;
}

body.home-page .quick-actions span{
  padding:8px 11px;
  border-radius:999px;
  background:rgba(5,5,6,.72);
  font-size:.76rem;
}

body.home-page .clip-category{
  position:absolute;
  top:14px;
  left:14px;
  padding:7px 10px;
  border-radius:999px;
  color:#fff;
  font-size:.7rem;
  background:rgba(5,5,6,.65);
  backdrop-filter:blur(10px);
}

body.home-page .clip-info{
  padding:14px 2px 0;
  display:flex;
  justify-content:space-between;
  gap:15px;
}

body.home-page .clip-info h3{
  font-size:.96rem;
  line-height:1.35;
}

body.home-page .clip-info p{
  margin-top:5px;
  color:var(--muted);
  font-size:.78rem;
}

body.home-page .clip-info>strong{
  color:var(--gold);
  white-space:nowrap;
}

body.home-page .empty-state{
  grid-column:1/-1;
  padding:46px;
  border-radius:24px;
  text-align:center;
}

body.home-page .empty-state strong,
body.home-page .empty-state span{
  display:block;
}

body.home-page .empty-state span{
  margin-top:7px;
  color:var(--muted);
}

body.home-page .creator-showcase{
  background:linear-gradient(180deg,transparent,rgba(255,47,125,.035),transparent);
}

body.home-page .creator-rail{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}

body.home-page .creator-portrait{
  min-height:510px;
  position:relative;
  overflow:hidden;
  border-radius:22px;
}

body.home-page .creator-portrait img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:.5s ease;
}

body.home-page .creator-portrait:hover img{
  transform:scale(1.05);
}

body.home-page .portrait-shade{
  position:absolute;
  inset:0;
  background:linear-gradient(0deg,rgba(5,5,6,.96) 0%,transparent 60%);
}

body.home-page .portrait-copy{
  position:absolute;
  inset:auto 20px 20px;
}

body.home-page .portrait-copy h3{
  margin:8px 0 5px;
  font-family:"Manrope",sans-serif;
  font-size:2rem;
}

body.home-page .portrait-copy p{
  color:#c7bac3;
  font-size:.82rem;
}

body.home-page .online-dot{
  color:var(--pink-soft);
  font-size:.68rem;
  letter-spacing:.08em;
  text-transform:uppercase;
}

body.home-page .editorial-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  min-height:620px;
}

body.home-page .editorial-image{
  overflow:hidden;
  border-radius:28px 0 0 28px;
}

body.home-page .editorial-image img{
  width:100%;
  height:100%;
  object-fit:cover;
}

body.home-page .panel-glow,
body.home-page .editorial-copy{
  border:1px solid var(--line);
  background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.018));
  box-shadow:0 35px 90px rgba(0,0,0,.38);
  backdrop-filter:blur(20px);
}

body.home-page .editorial-copy{
  padding:54px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  border-radius:0 28px 28px 0;
}

body.home-page .editorial-copy>p:not(.kicker){
  margin:22px 0;
  color:var(--muted);
  line-height:1.75;
}

body.home-page .creator-stats{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin-bottom:26px;
}

body.home-page .creator-stats span{
  padding:15px;
  border:1px solid var(--line);
  border-radius:14px;
  color:var(--muted);
  font-size:.74rem;
}

body.home-page .creator-stats strong{
  display:block;
  margin-bottom:5px;
  color:#fff;
  font-size:1.1rem;
}

body.home-page .latest-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}

body.home-page .latest-card{
  min-height:290px;
  position:relative;
  overflow:hidden;
  border-radius:20px;
}

body.home-page .latest-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:.45s ease;
}

body.home-page .latest-card:hover img{
  transform:scale(1.05);
}

body.home-page .latest-overlay{
  position:absolute;
  inset:0;
  padding:22px;
  display:flex;
  flex-direction:column;
  justify-content:end;
  background:linear-gradient(0deg,rgba(5,5,6,.96) 0%,transparent 70%);
}

body.home-page .latest-overlay span{
  color:var(--pink-soft);
  font-size:.7rem;
  letter-spacing:.13em;
  text-transform:uppercase;
}

body.home-page .latest-overlay h3{
  margin:8px 0 5px;
  font-size:1.05rem;
}

body.home-page .latest-overlay p{
  color:#c3b7bf;
  font-size:.78rem;
}

body.home-page .cta-panel,
body.home-page .signup-panel{
  padding:54px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:40px;
  border:1px solid rgba(255,255,255,.1);
  border-radius:28px;
  background:
    radial-gradient(circle at 10% 20%,rgba(255,47,125,.16),transparent 30%),
    radial-gradient(circle at 90% 80%,rgba(141,69,255,.14),transparent 30%),
    #0d0b0f;
}

body.home-page .cta-panel p:not(.kicker),
body.home-page .signup-panel p:not(.kicker){
  max-width:760px;
  margin-top:18px;
  color:var(--muted);
  line-height:1.7;
}

body.home-page .cta-actions{
  display:flex;
  flex-direction:column;
  gap:12px;
}

body.home-page .signup-panel{
  grid-template-columns:.85fr 1.15fr;
}

body.home-page .signup-form{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

body.home-page .signup-form input,
body.home-page .signup-form select{
  min-width:0;
  padding:15px;
  border:1px solid var(--line);
  border-radius:13px;
  outline:0;
  color:#fff;
  background:rgba(5,5,6,.58);
}

body.home-page .signup-form button,
body.home-page .form-message{
  grid-column:1/-1;
}

body.home-page .form-message{
  padding:12px 14px;
  border-radius:12px;
  font-size:.84rem;
}

body.home-page .form-message.success{
  color:#ddfff1;
  border:1px solid rgba(59,206,141,.22);
  background:rgba(59,206,141,.1);
}

body.home-page .form-message.error{
  color:#ffe1e6;
  border:1px solid rgba(255,75,99,.22);
  background:rgba(255,75,99,.1);
}

body.home-page .site-footer{
  padding:64px 0 28px;
  border-top:1px solid var(--line);
  background:#080708;
}

body.home-page .footer-grid{
  display:grid;
  grid-template-columns:1.5fr repeat(3,minmax(0,1fr));
  gap:45px;
}

body.home-page .footer-brand p{
  max-width:390px;
  margin-top:17px;
  color:var(--muted);
  line-height:1.7;
}

body.home-page .footer-grid h4{
  margin-bottom:15px;
}

body.home-page .footer-grid>div:not(.footer-brand) a{
  display:block;
  margin:10px 0;
  color:var(--muted);
  font-size:.86rem;
}

body.home-page .footer-bottom{
  margin-top:44px;
  padding-top:22px;
  display:flex;
  justify-content:space-between;
  gap:20px;
  border-top:1px solid var(--line);
  color:#8f838b;
  font-size:.8rem;
}

body.home-page .age-gate{
  position:fixed;
  inset:0;
  z-index:1000;
  display:grid;
  place-items:center;
  padding:22px;
  background:rgba(3,3,4,.94);
  backdrop-filter:blur(24px);
}

body.home-page .age-card{
  width:min(100%,560px);
  padding:40px;
  border-radius:28px;
  text-align:center;
}

body.home-page .age-card h2{
  margin:20px 0 12px;
  font-family:"Manrope",sans-serif;
  font-size:3.4rem;
}

body.home-page .age-card p{
  color:var(--muted);
  line-height:1.7;
}

body.home-page .age-actions{
  margin-top:26px;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

.home-page .early-form input:not([type="checkbox"]),
.home-page .early-form select{
  width:100%;
  min-height:50px;
  padding:0 14px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:13px;
  color:#fff;
  background:#0d0c0e;
}

.home-page .interest-grid input[type="checkbox"]{
  appearance:auto;
  -webkit-appearance:checkbox;
  width:16px;
  height:16px;
  min-height:0;
  margin:0;
  padding:0;
  border:0;
  border-radius:3px;
  background:transparent;
  flex:0 0 auto;
  accent-color:#d66d9f;
}

.home-page .interest-grid label{
  min-height:44px;
  padding:10px 14px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:999px;
  color:#cfc4c9;
  font-size:.82rem;
  cursor:pointer;
}

/* ==========================================================================
   Responsive behavior
   ========================================================================== */

@media(max-width:1050px){
  .nav{
    grid-template-columns:auto auto;
  }

  .navlinks,
  .main-nav{
    display:none;
  }

  .menu-toggle{
    display:grid;
  }

  .dashboard-grid{
    grid-template-columns:1fr;
  }

  .sidebar{
    position:static;
    max-height:none;
    display:flex;
    gap:8px;
    overflow-x:auto;
    padding:10px;
    scrollbar-width:thin;
  }

  .sidebar a{
    flex:0 0 auto;
    white-space:nowrap;
    margin:0;
  }

  body.home-page .nav-shell{
    grid-template-columns:auto auto;
  }

  body.home-page .main-nav{
    display:none;
  }

  body.home-page .main-nav.open{
    position:absolute;
    top:78px;
    left:0;
    right:0;
    z-index:120;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    padding:18px 16px 22px;
    border-bottom:1px solid var(--line);
    background:rgba(5,5,6,.98);
    box-shadow:0 20px 40px rgba(0,0,0,.3);
  }

  body.home-page .main-nav.open a{
    width:100%;
  }

  body.home-page .menu-toggle{
    display:grid;
  }

  body.home-page .hero-content{
    grid-template-columns:1fr;
  }

  body.home-page .featured-tile{
    max-width:360px;
  }

  body.home-page .category-strip,
  body.home-page .clip-grid,
  body.home-page .creator-rail{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  body.home-page .clip-card-featured{
    grid-column:span 2;
    grid-row:auto;
  }

  body.home-page .clip-card-featured .clip-image{
    min-height:580px;
  }

  body.home-page .editorial-grid{
    grid-template-columns:1fr;
  }

  body.home-page .editorial-image{
    min-height:520px;
    border-radius:28px 28px 0 0;
  }

  body.home-page .editorial-copy{
    border-radius:0 0 28px 28px;
  }

  body.home-page .cta-panel,
  body.home-page .signup-panel{
    grid-template-columns:1fr;
  }

  body.home-page .cta-actions{
    flex-direction:row;
    flex-wrap:wrap;
  }

  body.home-page .footer-grid{
    grid-template-columns:1.3fr 1fr 1fr;
  }
}

@media(max-width:760px){
  .container{
    width:min(calc(100% - 24px),var(--container));
  }

  .topbar{
    position:sticky;
  }

  .nav{
    min-height:68px;
    gap:12px;
  }

  .brand{
    font-size:1.3rem;
  }

  .brand-mark{
    width:38px;
    height:38px;
    flex-basis:38px;
    border-radius:13px;
  }

  .nav-actions,
  .navright{
    gap:8px;
  }

  .nav-actions .small,
  .navright .small{
    display:none;
  }

  .nav-actions .btn,
  .navright .btn{
    min-height:42px;
    padding-inline:14px;
    font-size:.78rem;
  }

  .dashboard{
    padding-top:20px;
  }

  .hero-card,
  .panel-head{
    align-items:flex-start;
    flex-direction:column;
  }

  .hero-card{
    padding:22px;
  }

  .stats{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .form-grid{
    grid-template-columns:1fr;
  }

  .clip-row,
  .item-row{
    grid-template-columns:72px minmax(0,1fr);
  }

  .clip-thumb,
  .item-thumb{
    width:72px;
    height:62px;
  }

  .item-thumb{
    height:72px;
  }

  .clip-actions{
    grid-column:1/-1;
  }

  .clip-actions .btn,
  .clip-actions form{
    flex:1 1 auto;
  }

  .clip-actions form .btn{
    width:100%;
  }

  .storefront-preview{
    grid-template-columns:1fr;
  }

  .profile-preview{
    width:120px;
    height:120px;
  }

  .button-row .btn{
    flex:1 1 180px;
  }

  body.home-page .section{
    padding:68px 0;
  }

  body.home-page .nav-shell{
    min-height:68px;
    gap:12px;
  }

  body.home-page .nav-link,
  body.home-page .nav-actions .btn{
    display:none;
  }

  body.home-page .hero{
    min-height:760px;
  }

  body.home-page .hero-content{
    padding-top:105px;
    padding-bottom:55px;
  }

  body.home-page .hero h1{
    font-size:clamp(3.6rem,18vw,6rem);
  }

  body.home-page .hero-search{
    padding:12px;
    flex-wrap:wrap;
    border-radius:20px;
  }

  body.home-page .hero-search input{
    width:calc(100% - 36px);
  }

  body.home-page .hero-search .btn{
    width:100%;
  }

  body.home-page .split-heading{
    display:block;
  }

  body.home-page .split-heading .text-arrow{
    display:inline-block;
    margin-top:16px;
  }

  body.home-page .category-strip,
  body.home-page .clip-grid,
  body.home-page .creator-rail,
  body.home-page .latest-grid{
    grid-template-columns:1fr;
  }

  body.home-page .clip-card-featured{
    grid-column:auto;
  }

  body.home-page .clip-card-featured .clip-image{
    min-height:500px;
  }

  body.home-page .creator-portrait{
    min-height:540px;
  }

  body.home-page .editorial-image{
    min-height:420px;
  }

  body.home-page .editorial-copy,
  body.home-page .cta-panel,
  body.home-page .signup-panel{
    padding:32px 22px;
  }

  body.home-page .creator-stats,
  body.home-page .signup-form{
    grid-template-columns:1fr;
  }

  body.home-page .footer-grid{
    grid-template-columns:1fr;
  }

  body.home-page .footer-bottom{
    flex-direction:column;
    gap:10px;
  }

  body.home-page .age-actions{
    grid-template-columns:1fr;
  }
}

@media(max-width:520px){
  .container{
    width:min(calc(100% - 20px),var(--container));
  }

  .brand span:last-child{
    max-width:160px;
    overflow:hidden;
    text-overflow:ellipsis;
  }

  .nav-actions .btn-secondary,
  .navright .btn-secondary{
    display:none;
  }

  .stats{
    grid-template-columns:1fr;
  }

  .stat{
    padding:18px;
  }

  .panel{
    padding:18px;
    border-radius:19px;
  }

  .auth-card{
    padding:24px 20px;
  }

  .clip-row,
  .item-row{
    grid-template-columns:1fr;
  }

  .clip-thumb,
  .item-thumb{
    width:100%;
    height:180px;
  }

  .clip-actions{
    display:grid;
    grid-template-columns:1fr;
  }

  .button-row{
    display:grid;
    grid-template-columns:1fr;
    width:100%;
  }

  .button-row .btn,
  .button-row form,
  .button-row form .btn{
    width:100%;
  }

  body.home-page .hero{
    min-height:700px;
  }

  body.home-page .hero h1{
    font-size:clamp(3.25rem,17vw,4.8rem);
  }

  body.home-page .hero-actions{
    display:grid;
    grid-template-columns:1fr;
  }

  body.home-page .hero-actions .btn{
    width:100%;
  }
}

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


/* =========================
   TOP SELLING CONTENT
========================= */

.top-selling-section {
    padding: 58px 0 68px;
    background:
        radial-gradient(circle at 10% 0%, rgba(237, 132, 186, .12), transparent 28rem),
        #09070e;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.top-selling-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 28px;
    margin-bottom: 28px;
}

.top-selling-section .section-kicker {
    display: block;
    margin-bottom: 8px;
    color: #ed84ba;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.top-selling-section h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.08;
}

.top-selling-section .section-header p {
    margin: 9px 0 0;
    color: #aaa3b4;
    line-height: 1.6;
}

.top-selling-section .section-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.top-selling-section .filter-btn,
.top-selling-section .btn-outline {
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 999px;
    background: rgba(255,255,255,.035);
    color: #cfc8d3;
    font: inherit;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    transition: .2s ease;
}

.top-selling-section .filter-btn:hover,
.top-selling-section .filter-btn.active,
.top-selling-section .btn-outline:hover {
    color: #fff;
    border-color: rgba(237,132,186,.48);
    background: rgba(237,132,186,.12);
}

.top-selling-section .top-selling-row {
    display: flex;
    grid-template-columns: none;
    grid-template-rows: none;
    grid-auto-flow: initial;
    grid-auto-columns: initial;

    width: 100%;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 2px 14px;

    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
}

.top-selling-section .top-selling-row::-webkit-scrollbar {
    display: none;
}

.top-selling-section .trend-card {
    width: calc((100% - 64px) / 5);
    min-width: calc((100% - 64px) / 5);
    flex: 0 0 calc((100% - 64px) / 5);
    scroll-snap-align: start;
}

.trend-card {
    min-width: 0;
}

.trend-image {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 18px;
    background: #171525;
    border: 1px solid rgba(255,255,255,.08);
}

.trend-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .35s ease, filter .35s ease;
}

.trend-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(5,4,8,.62),
        transparent 48%
    );
    pointer-events: none;
}

.trend-card:hover .trend-image img {
    transform: scale(1.045);
    filter: brightness(1.04);
}

.trend-image .rank {
    position: absolute;
    z-index: 2;
    left: 11px;
    bottom: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 29px;
    padding: 0 9px;
    border-radius: 999px;
    background: rgba(8,7,12,.78);
    color: #fff;
    font-size: .75rem;
    font-weight: 800;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.13);
}

.trend-image .badge {
    position: absolute;
    z-index: 2;
    top: 10px;
    right: 10px;
    padding: 7px 10px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #ed84ba, #8f5cff);
    font-size: .65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.trend-info {
    padding: 12px 3px 0;
}

.trend-info h3 {
    margin: 0 0 5px;
    font-size: .95rem;
    line-height: 1.35;
}

.trend-info h3 a {
    color: #fff;
    text-decoration: none;
}

.trend-info h3 a:hover {
    color: #ed84ba;
}

.creator-name {
    display: inline-block;
    color: #aaa3b4;
    font-size: .8rem;
    text-decoration: none;
}

.creator-name:hover {
    color: #fff;
}

.trend-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.trend-footer .price {
    color: #f8f4fb;
    font-size: .92rem;
    font-weight: 800;
}

.wishlist-btn {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 50%;
    color: #fff;
    background: rgba(255,255,255,.035);
    font-size: 1rem;
    cursor: pointer;
    transition: .2s ease;
}

.wishlist-btn:hover {
    color: #ed84ba;
    border-color: rgba(237,132,186,.4);
    background: rgba(237,132,186,.1);
    transform: translateY(-1px);
}

@media (max-width: 1100px) {
    .top-selling-section .trend-card {
        width: calc((100% - 32px) / 3);
        min-width: calc((100% - 32px) / 3);
        flex-basis: calc((100% - 32px) / 3);
    }
}

@media (max-width: 760px) {
    .top-selling-section .trend-card {
        width: 72vw;
        min-width: 72vw;
        flex-basis: 72vw;
    }
}

@media (max-width: 480px) {
    .top-selling-section .trend-card {
        width: 84vw;
        min-width: 84vw;
        flex-basis: 84vw;
    }
}


.hero{
    position:relative;
    min-height:720px;
    display:flex;
    align-items:center;
    overflow:hidden;
}

.hero-media{
    position:absolute;
    inset:0;
}

.hero-media img{
    width:100%;
    height:100%;
    object-fit:cover;
    filter:brightness(.55);
}

.hero-shade{
    position:absolute;
    inset:0;
    background:
    linear-gradient(
        90deg,
        rgba(7,7,9,.95) 0%,
        rgba(7,7,9,.78) 35%,
        rgba(7,7,9,.35) 70%,
        rgba(7,7,9,.7) 100%
    );
}

.hero-content{
    position:relative;
    z-index:2;
    width:100%;
    display:grid;
    grid-template-columns:1fr 360px;
    gap:70px;
    align-items:center;
}

.hero-copy{
    max-width:700px;
}

.hero-copy h1{
    font-size:clamp(3.8rem,7vw,5.8rem);
    line-height:.95;
    margin:0;
}

.hero-copy h1 em{
    color:#eb7ab4;
    font-family:"DM Serif Display",serif;
    font-style:italic;
}

.hero-text{
    margin-top:26px;
    font-size:1.08rem;
    line-height:1.75;
    max-width:640px;
    color:#d7d0d5;
}

.hero-actions{
    display:flex;
    gap:14px;
    margin-top:30px;
}

.hero-meta{
    display:flex;
    gap:18px;
    margin-top:26px;
    font-size:.85rem;
    color:#bfb8be;
}

.featured-tile{
    padding:28px;
    border-radius:28px;
    background:rgba(17,15,22,.75);
    backdrop-filter:blur(22px);
    border:1px solid rgba(255,255,255,.08);
}

.featured-person{
    display:flex;
    align-items:center;
    gap:18px;
}

.featured-person img{
    width:78px;
    height:78px;
    border-radius:18px;
    object-fit:cover;
}

.featured-label{
    display:inline-block;
    margin-bottom:18px;
    font-size:.75rem;
    text-transform:uppercase;
    letter-spacing:.15em;
    color:#eb7ab4;
}