:root {
  --bg: #09080d;
  --bg-2: #0f0d16;
  --surface: #15121f;
  --surface-2: #1c1829;
  --surface-3: #252036;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f5f2fb;
  --muted: #a39cb6;
  --faint: #6f6884;
  --pink: #ff4f9a;
  --violet: #8b5cf6;
  --gold: #ffc94d;
  --gold-2: #ff9f2e;
  --green: #34d399;
  --red: #f87171;
  --grad: linear-gradient(135deg, var(--pink), var(--violet));
  --grad-gold: linear-gradient(135deg, var(--gold), var(--gold-2));
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.7);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Outfit', var(--font);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.55 var(--font);
  min-height: 100vh;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: -20% -10% auto;
  height: 70vh;
  background:
    radial-gradient(40% 50% at 20% 30%, rgba(255, 79, 154, 0.14), transparent 70%),
    radial-gradient(40% 50% at 80% 10%, rgba(139, 92, 246, 0.16), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; letter-spacing: -0.02em; line-height: 1.15; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .container { padding: 0 28px; } }
.muted { color: var(--muted); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gold-text { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hidden { display: none !important; }
svg.i { width: 1.1em; height: 1.1em; flex: none; vertical-align: -0.18em; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(9, 8, 13, 0.72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 16px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.03em; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center;
  background: var(--grad); box-shadow: 0 8px 24px -6px rgba(255, 79, 154, 0.55);
}
.logo-mark svg { width: 20px; height: 20px; color: #fff; }
.nav { display: none; gap: 4px; margin-left: 8px; }
.nav a { padding: 8px 14px; border-radius: 10px; color: var(--muted); font-weight: 500; transition: 0.2s; }
.nav a:hover { color: var(--text); background: var(--surface); }
.nav a.active { color: var(--text); background: var(--surface-2); }
.search { flex: 1; max-width: 420px; margin-left: auto; position: relative; display: none; }
.search input {
  width: 100%; height: 42px; padding: 0 16px 0 42px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border); outline: none; transition: 0.2s;
}
.search input:focus { border-color: rgba(139, 92, 246, 0.6); background: var(--surface-2); }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--faint); }
.header-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.search + .header-right { margin-left: 0; }
@media (min-width: 900px) { .nav { display: flex; } }
@media (min-width: 1140px) { .search { display: block; } }

.key-pill {
  display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px 0 10px;
  border-radius: 999px; background: rgba(255, 201, 77, 0.1); border: 1px solid rgba(255, 201, 77, 0.3);
  color: var(--gold); font-weight: 700; transition: 0.2s; white-space: nowrap;
}
.key-pill:hover { background: rgba(255, 201, 77, 0.18); }
.key-pill .plus { width: 20px; height: 20px; border-radius: 50%; background: var(--grad-gold); color: #241800; display: grid; place-items: center; font-size: 14px; line-height: 1; }
.key-pill.bump { animation: bump 0.6s ease; }
@keyframes bump { 30% { transform: scale(1.15); } 60% { transform: scale(0.96); } }

.avatar-btn { width: 40px; height: 40px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--border-strong); display: grid; place-items: center; cursor: pointer; }

/* Mobile bottom nav */
.mnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 50; display: flex; justify-content: space-around;
  background: rgba(15, 13, 22, 0.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border); padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
}
.mnav a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; color: var(--muted); padding: 4px 12px; }
.mnav a.active { color: var(--text); }
.mnav a svg { width: 22px; height: 22px; }
body { padding-bottom: 76px; }
@media (min-width: 900px) { .mnav { display: none; } body { padding-bottom: 0; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px;
  border-radius: 12px; border: 1px solid var(--border-strong); background: var(--surface-2); color: var(--text);
  font-weight: 600; cursor: pointer; transition: transform 0.15s, filter 0.2s, background 0.2s; white-space: nowrap;
}
.btn:hover { background: var(--surface-3); }
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--grad); border: 0; color: #fff; box-shadow: 0 10px 30px -10px rgba(255, 79, 154, 0.6); }
.btn-primary:hover { background: var(--grad); filter: brightness(1.1); }
.btn-gold { background: var(--grad-gold); border: 0; color: #2a1b00; box-shadow: 0 10px 30px -10px rgba(255, 170, 50, 0.55); }
.btn-gold:hover { background: var(--grad-gold); filter: brightness(1.06); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--text); background: var(--surface); }
.btn-sm { height: 36px; padding: 0 14px; border-radius: 10px; font-size: 14px; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-danger { color: var(--red); }

/* ---------- Hero ---------- */
.hero { padding-block: 48px 28px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero { padding-block: 80px 48px; } .hero-grid { grid-template-columns: 1.1fr 0.9fr; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); color: var(--muted); font-size: 13px; font-weight: 500;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18); }
.hero h1 { font-size: clamp(36px, 6vw, 64px); font-weight: 800; margin: 18px 0 16px; }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 540px; margin: 0 0 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats { display: flex; gap: 28px; margin-top: 36px; flex-wrap: wrap; }
.hero-stats b { display: block; font-family: var(--display); font-size: 28px; }
.hero-stats span { color: var(--faint); font-size: 13px; }

.hero-visual { position: relative; height: 420px; display: none; }
@media (min-width: 960px) { .hero-visual { display: block; } }
.float-card {
  position: absolute; width: 220px; aspect-ratio: 3/4; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--border-strong); box-shadow: var(--shadow); background: var(--surface);
}
.float-card img { width: 100%; height: 100%; object-fit: cover; filter: blur(6px) saturate(1.2); transform: scale(1.1); }
.float-card .lock-chip { position: absolute; inset: auto 12px 12px; }
.float-card:nth-child(1) { left: 6%; top: 40px; transform: rotate(-8deg); animation: float 7s ease-in-out infinite; }
.float-card:nth-child(2) { left: 34%; top: 0; z-index: 2; animation: float 6s ease-in-out infinite -2s; }
.float-card:nth-child(2) img { filter: none; transform: none; }
.float-card:nth-child(3) { right: 2%; top: 70px; transform: rotate(8deg); animation: float 8s ease-in-out infinite -4s; }
@keyframes float { 50% { translate: 0 -12px; } }
.key-orb {
  position: absolute; left: 50%; bottom: 0; translate: -50% 0; z-index: 3; display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; border-radius: 18px; background: rgba(21, 18, 31, 0.9); border: 1px solid rgba(255, 201, 77, 0.3);
  backdrop-filter: blur(12px); box-shadow: var(--shadow);
}
.key-orb .k { width: 42px; height: 42px; border-radius: 12px; background: var(--grad-gold); display: grid; place-items: center; color: #2a1b00; }
.key-orb small { display: block; color: var(--muted); font-size: 12px; }

/* ---------- Sections ---------- */
.section { padding-block: 36px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 700; }
.section-head p { margin: 6px 0 0; color: var(--muted); }

.steps { display: grid; gap: 14px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); overflow: hidden; }
.step .num { position: absolute; right: 18px; top: 10px; font-family: var(--display); font-size: 64px; font-weight: 800; color: rgba(255, 255, 255, 0.04); }
.step .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; }
.step .ic svg { width: 22px; height: 22px; }
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }
.ic-pink { background: rgba(255, 79, 154, 0.12); color: var(--pink); }
.ic-gold { background: rgba(255, 201, 77, 0.12); color: var(--gold); }
.ic-violet { background: rgba(139, 92, 246, 0.14); color: #b197fc; }

/* Toolbar */
.toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 20px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
  color: var(--muted); font-size: 14px; font-weight: 500; cursor: pointer; transition: 0.2s; display: inline-flex; align-items: center; gap: 6px;
}
.chip:hover { color: var(--text); border-color: var(--border-strong); }
.chip.active { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip small { opacity: 0.6; }
.select {
  height: 38px; padding: 0 36px 0 14px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface);
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23a39cb6' stroke-width='2'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.mobile-search { margin-bottom: 14px; }
@media (min-width: 900px) { .mobile-search { display: none; } }
.mobile-search .search { display: block; max-width: none; }

/* ---------- Model cards ---------- */
.grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }
.mcard {
  position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--surface);
  border: 1px solid var(--border); aspect-ratio: 3/4; transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.mcard:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.mcard img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.mcard:hover img { transform: scale(1.05); }
.mcard::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(9, 8, 13, 0.92)); }
.mcard .info { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 14px; }
.mcard h3 { font-size: 17px; display: flex; align-items: center; gap: 6px; }
.mcard h3 .v { color: #60a5fa; width: 16px; height: 16px; }
.mcard .meta { display: flex; gap: 10px; margin-top: 6px; color: var(--muted); font-size: 12.5px; }
.mcard .meta span { display: inline-flex; align-items: center; gap: 4px; }
.mcard .badge-top { position: absolute; z-index: 1; top: 12px; left: 12px; display: flex; gap: 6px; }
.tag {
  display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600;
  background: rgba(9, 8, 13, 0.6); backdrop-filter: blur(8px); border: 1px solid var(--border-strong); color: var(--text);
}
.tag-free { background: rgba(6, 42, 30, 0.88); border-color: rgba(52, 211, 153, 0.45); color: #6ee7b7; }
.tag-hot { background: rgba(62, 10, 36, 0.88); border-color: rgba(255, 79, 154, 0.5); color: #ff9cc8; }

/* Skeleton */
.sk { background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%); background-size: 200% 100%; animation: sk 1.4s infinite; }
@keyframes sk { to { background-position: -200% 0; } }

.empty { text-align: center; padding: 60px 20px; color: var(--muted); border: 1px dashed var(--border-strong); border-radius: var(--radius); }
.empty svg { width: 40px; height: 40px; color: var(--faint); margin-bottom: 12px; }

/* ---------- Model page ---------- */
.profile-cover { position: relative; height: 220px; border-radius: 0 0 28px 28px; overflow: hidden; }
@media (min-width: 760px) { .profile-cover { height: 300px; max-width: calc(var(--max) - 56px); margin: 0 auto; border-radius: 0 0 28px 28px; } }
@media (min-width: 760px) and (max-width: 1240px) { .profile-cover { margin: 0 28px; } }
.profile-cover img { width: 100%; height: 100%; object-fit: cover; }
.profile-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9, 8, 13, 0.1), rgba(9, 8, 13, 0.85)); }
.profile-head { position: relative; margin-top: -64px; z-index: 2; display: flex; gap: 20px; align-items: end; flex-wrap: wrap; }
.profile-avatar { width: 128px; height: 128px; border-radius: 32px; overflow: hidden; border: 4px solid var(--bg); box-shadow: var(--shadow); background: var(--surface); flex: none; }
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-head h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.verified {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px;
  background: rgba(96, 165, 250, 0.12); border: 1px solid rgba(96, 165, 250, 0.35); color: #93c5fd; font: 600 12.5px var(--font); letter-spacing: 0;
}
.profile-stats { display: flex; gap: 18px; color: var(--muted); font-size: 14px; margin-top: 8px; flex-wrap: wrap; }
.profile-stats b { color: var(--text); }
.profile-bio { color: var(--muted); max-width: 720px; margin: 20px 0 0; }
.tags-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.tags-row a { padding: 5px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--muted); font-size: 13px; }
.tags-row a:hover { color: var(--text); }

.packs { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.pcard { border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; transition: 0.3s; }
.pcard:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.pthumb { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--surface-2); }
.pthumb img { width: 100%; height: 100%; object-fit: cover; }
.pcard.locked .pthumb img { filter: blur(18px) saturate(1.3) brightness(0.8); transform: scale(1.15); }
.lock-overlay { position: absolute; inset: 0; display: grid; place-items: center; }
.lock-circle {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(9, 8, 13, 0.55);
  backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.2);
}
.lock-circle svg { width: 26px; height: 26px; }
.pthumb .badge-top { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.pbody { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pbody h3 { font-size: 16.5px; }
.pbody .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; }
.cost { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--gold); }
.pbody .btn { margin-top: auto; }

/* ---------- Cards / panels ---------- */
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.panel h3 { font-size: 18px; margin-bottom: 4px; }
.two-col { display: grid; gap: 16px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; } }

.balance-card {
  position: relative; overflow: hidden; padding: 28px; border-radius: 24px; border: 1px solid rgba(255, 201, 77, 0.25);
  background: radial-gradient(80% 120% at 100% 0%, rgba(255, 201, 77, 0.18), transparent 60%), var(--surface);
}
.balance-card .big { font-family: var(--display); font-size: 64px; font-weight: 800; line-height: 1; display: flex; align-items: center; gap: 14px; margin: 10px 0 6px; }
.balance-card .big svg { width: 48px; height: 48px; color: var(--gold); }
.progress { height: 10px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.progress > i { display: block; height: 100%; background: var(--grad-gold); border-radius: inherit; transition: width 0.6s; }

.pkgs { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.pkg { position: relative; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; }
.pkg.popular { border-color: rgba(255, 79, 154, 0.45); background: linear-gradient(180deg, rgba(255, 79, 154, 0.08), transparent 60%), var(--surface); }
.pkg .ribbon { position: absolute; top: -11px; right: 16px; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; background: var(--grad); color: #fff; }
.pkg .keys { font-family: var(--display); font-size: 34px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.pkg .keys svg { color: var(--gold); width: 28px; height: 28px; }
.pkg .price { color: var(--muted); }
.pkg .btn { margin-top: 8px; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13px; font-weight: 600; color: var(--muted); }
.input, textarea.input, select.input {
  width: 100%; min-height: 46px; padding: 11px 14px; border-radius: 12px; background: var(--bg-2);
  border: 1px solid var(--border-strong); outline: none; transition: 0.2s;
}
textarea.input { resize: vertical; min-height: 90px; }
.input:focus { border-color: rgba(139, 92, 246, 0.7); box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; margin-bottom: 14px; }
.check input { width: 18px; height: 18px; accent-color: var(--pink); margin-top: 2px; flex: none; }
.auth-wrap { min-height: calc(100vh - 68px); display: grid; place-items: center; padding: 40px 16px; }
.auth-card { width: 100%; max-width: 420px; }
.tabs { display: flex; gap: 4px; padding: 4px; background: var(--bg-2); border-radius: 12px; margin-bottom: 22px; border: 1px solid var(--border); }
.tabs button { flex: 1; height: 38px; border-radius: 9px; border: 0; background: transparent; color: var(--muted); font-weight: 600; cursor: pointer; }
.tabs button.active { background: var(--surface-3); color: var(--text); }
.form-error { color: var(--red); font-size: 14px; margin: -4px 0 12px; min-height: 0; }

/* ---------- Modal ---------- */
.modal-bg {
  position: fixed; inset: 0; z-index: 100; background: rgba(5, 4, 8, 0.75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: grid; place-items: center; padding: 16px; animation: fade 0.2s;
}
.modal {
  width: 100%; max-width: 460px; max-height: calc(100vh - 32px); overflow: auto; background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: 24px; padding: 26px; box-shadow: var(--shadow); animation: pop 0.25s cubic-bezier(0.2, 1.2, 0.4, 1);
}
.modal.wide { max-width: 640px; }
.modal h2 { font-size: 22px; margin-bottom: 6px; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(0.94) translateY(10px); } }
.modal-actions { display: flex; gap: 10px; margin-top: 20px; }
.modal-actions .btn { flex: 1; }

.ad-frame { width: 100%; aspect-ratio: 16/10; border: 0; border-radius: 14px; background: var(--bg-2); margin: 16px 0; }
.ring { position: relative; width: 84px; height: 84px; margin: 0 auto; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 7; }
.ring .bg { stroke: var(--surface-3); }
.ring .fg { stroke: url(#ringGrad); stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-size: 26px; }
.reward-burst { text-align: center; padding: 10px 0; }
.reward-burst .k { width: 88px; height: 88px; margin: 0 auto 14px; border-radius: 26px; background: var(--grad-gold); display: grid; place-items: center; color: #2a1b00; animation: pop 0.5s cubic-bezier(0.2, 1.6, 0.4, 1); box-shadow: 0 20px 50px -10px rgba(255, 170, 50, 0.6); }
.reward-burst .k svg { width: 44px; height: 44px; }

/* Age gate */
.age-gate { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; background: rgba(5, 4, 8, 0.94); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.age-gate .modal { text-align: center; max-width: 420px; }
.age-gate .logo { justify-content: center; margin-bottom: 18px; }

/* Toast */
.toasts { position: fixed; z-index: 300; left: 50%; bottom: 90px; translate: -50% 0; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; width: calc(100% - 32px); }
@media (min-width: 900px) { .toasts { bottom: 28px; } }
.toast { padding: 12px 18px; border-radius: 12px; background: var(--surface-3); border: 1px solid var(--border-strong); box-shadow: var(--shadow); font-weight: 500; animation: pop 0.25s; max-width: 100%; }
.toast.ok { border-color: rgba(52, 211, 153, 0.4); }
.toast.err { border-color: rgba(248, 113, 113, 0.45); }

/* Footer */
.footer { border-top: 1px solid var(--border); margin-top: 60px; padding: 36px 0 30px; color: var(--muted); font-size: 14px; }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer nav a:hover { color: var(--text); }
.footer .fine { margin-top: 18px; color: var(--faint); font-size: 12.5px; max-width: 760px; }

/* Lists / tables */
.list { display: flex; flex-direction: column; gap: 10px; }
.list-item { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.list-item img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; flex: none; }
.list-item .grow { flex: 1; min-width: 0; }
.list-item .grow b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list-item .grow small { color: var(--muted); }

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); white-space: nowrap; }
th { color: var(--faint); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; background: var(--bg-2); }
tr:last-child td { border-bottom: 0; }
td .thumb { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }

.stat-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.stat { padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.stat span { color: var(--muted); font-size: 13px; }
.stat b { display: block; font-family: var(--display); font-size: 30px; margin-top: 4px; }

.prose { max-width: 780px; }
.prose h2 { font-size: 26px; margin: 40px 0 12px; scroll-margin-top: 90px; }
.prose p, .prose li { color: var(--muted); }
.prose li { margin-bottom: 6px; }
.notice { display: flex; gap: 12px; padding: 16px; border-radius: 14px; background: rgba(96, 165, 250, 0.08); border: 1px solid rgba(96, 165, 250, 0.25); color: #c7dcff; font-size: 14px; }
.notice svg { flex: none; color: #93c5fd; margin-top: 2px; }

.img-input { display: flex; gap: 8px; }
.img-input .input { flex: 1; }
.img-preview { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; background: var(--bg-2); border: 1px solid var(--border); flex: none; }
.row-actions { display: flex; gap: 6px; }
.img-input label.loading { opacity: 0.5; pointer-events: none; }

/* ---------- v2: header extra ---------- */
.promo-bar { background: linear-gradient(90deg, rgba(255, 79, 154, 0.22), rgba(139, 92, 246, 0.22)); border-bottom: 1px solid rgba(255, 79, 154, 0.25); font-size: 13.5px; padding: 7px 0; text-align: center; }
.promo-bar svg { color: #ff8fbf; }
.promo-bar a { color: #ffc94d; font-weight: 600; margin-left: 6px; }
.muted-light { color: rgba(245, 242, 251, 0.7); }
.nav-vip { display: inline-flex; align-items: center; gap: 5px; color: var(--gold) !important; }
.icon-btn { position: relative; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: transparent; border: 1px solid transparent; color: var(--muted); cursor: pointer; transition: 0.2s; flex: none; }
.icon-btn:hover { background: var(--surface); color: var(--text); }
.icon-btn svg { width: 20px; height: 20px; }
.dot-badge { position: absolute; top: 4px; right: 3px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: var(--pink); color: #fff; font-size: 10.5px; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--bg); }
.avatar-btn.is-vip { border-color: rgba(255, 201, 77, 0.6); color: var(--gold); background: rgba(255, 201, 77, 0.1); }
.hide-sm { display: none; }
@media (min-width: 900px) { .hide-sm { display: inline-flex; } }
@media (max-width: 420px) { .hide-xs { display: none; } .header-right { gap: 6px; } .key-pill { padding: 0 10px 0 8px; } }

/* Recompensa diaria flotante */
.daily-nudge {
  position: fixed; z-index: 60; right: 16px; bottom: 88px; left: 16px; display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px;
  background: rgba(28, 24, 41, 0.96); backdrop-filter: blur(14px); border: 1px solid rgba(255, 201, 77, 0.35); border-radius: 18px; box-shadow: var(--shadow); animation: pop 0.4s cubic-bezier(0.2, 1.4, 0.4, 1);
}
@media (min-width: 900px) { .daily-nudge { left: auto; bottom: 24px; width: 380px; } }
.daily-nudge .k { width: 42px; height: 42px; border-radius: 12px; background: var(--grad-gold); color: #2a1b00; display: grid; place-items: center; flex: none; }
.daily-nudge div { flex: 1; min-width: 0; }
.daily-nudge b { display: block; font-size: 14.5px; }
.daily-nudge small { color: var(--muted); }
.daily-nudge .x { background: none; border: 0; color: var(--faint); cursor: pointer; padding: 4px; }
.streak { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin: 16px 0 4px; }
.sd { text-align: center; }
.sd span { display: grid; place-items: center; aspect-ratio: 1; border-radius: 12px; background: var(--surface-3); color: var(--muted); font-weight: 700; font-size: 13px; border: 1px solid var(--border); }
.sd small { display: block; color: var(--faint); font-size: 10.5px; margin-top: 4px; }
.sd.done span { background: rgba(255, 201, 77, 0.14); color: var(--gold); border-color: rgba(255, 201, 77, 0.35); }
.sd.now span { background: var(--grad-gold); color: #2a1b00; border: 0; box-shadow: 0 6px 20px -6px rgba(255, 170, 50, 0.7); }

/* Packs v2 */
.tag-vip { background: rgba(48, 34, 4, 0.88); border-color: rgba(255, 201, 77, 0.55); color: var(--gold); }
.btn-vip { background: linear-gradient(135deg, #3a2a08, #241a05); border-color: rgba(255, 201, 77, 0.45); color: var(--gold); }
.btn-vip:hover { background: linear-gradient(135deg, #4a360b, #2e2107); }
.preview-btn {
  position: absolute; right: 10px; bottom: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px;
  background: rgba(9, 8, 13, 0.7); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, 0.22); color: #fff; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: 0.2s;
}
.preview-btn:hover { background: rgba(9, 8, 13, 0.9); }
.preview-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin: 16px 0; }
.preview-grid img { width: 100%; max-height: 62vh; object-fit: contain; border-radius: 14px; background: var(--bg-2); }
.cost s { color: var(--faint); font-weight: 500; margin-right: 2px; }
.pmodel { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); font-weight: 500; }
.pmodel img { width: 24px; height: 24px; border-radius: 8px; object-fit: cover; }
.pmodel .v { color: #60a5fa; width: 14px; height: 14px; }
.pmodel:hover { color: var(--text); }
.rank-num { position: absolute; z-index: 1; top: 10px; right: 12px; font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1; color: #fff; text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6); }

@media (max-width: 640px) { .profile-head .follow-wrap { width: 100%; } .profile-head .follow-btn { flex: 1; } }
.follow-btn.on { background: rgba(255, 79, 154, 0.12); border-color: rgba(255, 79, 154, 0.4); color: #ff8fbf; }

/* Banners */
.banner { position: relative; overflow: hidden; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 26px; border-radius: 24px; border: 1px solid var(--border-strong); background: var(--surface); }
.banner h3 { font-size: 22px; margin-bottom: 4px; }
.banner p { margin: 0; color: var(--muted); }
.banner .grow { flex: 1; min-width: 220px; }
.banner-vip { border-color: rgba(255, 201, 77, 0.35); background: radial-gradient(70% 140% at 100% 0%, rgba(255, 201, 77, 0.2), transparent 60%), radial-gradient(50% 120% at 0% 100%, rgba(255, 79, 154, 0.12), transparent 60%), var(--surface); }
.banner .big-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; flex: none; }
.banner .big-ic svg { width: 28px; height: 28px; }

/* Ranking */
.rank-list { display: flex; flex-direction: column; gap: 8px; }
.rank-row { display: flex; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); transition: 0.2s; }
.rank-row:hover { border-color: var(--border-strong); }
.rank-row .pos { width: 34px; text-align: center; font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--faint); flex: none; }
.rank-row:nth-child(1) .pos { color: var(--gold); }
.rank-row:nth-child(2) .pos { color: #d4d4e0; }
.rank-row:nth-child(3) .pos { color: #e3a574; }
.rank-row img { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; flex: none; }
.rank-row .grow { flex: 1; min-width: 0; }
.rank-row .grow b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-row .grow small { color: var(--muted); }
.rank-row .n { text-align: right; font-weight: 700; flex: none; }
.rank-row .n small { display: block; color: var(--faint); font-weight: 500; font-size: 11.5px; }

/* VIP */
.vip-hero { text-align: center; padding: 56px 0 24px; }
.vip-hero .crown { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 24px; background: var(--grad-gold); color: #2a1b00; display: grid; place-items: center; box-shadow: 0 20px 50px -12px rgba(255, 170, 50, 0.6); }
.vip-hero .crown svg { width: 38px; height: 38px; }
.vip-hero h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; }
.vip-hero p { color: var(--muted); max-width: 560px; margin: 12px auto 0; font-size: 17px; }
.benefits { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.benefit { display: flex; gap: 14px; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.benefit .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.benefit b { display: block; margin-bottom: 2px; }
.benefit p { margin: 0; color: var(--muted); font-size: 14px; }

/* Tabs genéricas con scroll */
.tabs.scroll { overflow-x: auto; scrollbar-width: none; }
.tabs.scroll::-webkit-scrollbar { display: none; }
.tabs.scroll button { flex: 1 0 auto; padding: 0 14px; }
.count-pill { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 4px; border-radius: 999px; background: var(--pink); color: #fff; font-size: 11px; }

/* Avisos */
.notif { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.notif.unread { border-color: rgba(255, 79, 154, 0.35); background: linear-gradient(90deg, rgba(255, 79, 154, 0.06), transparent 40%), var(--surface); }
.notif .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-3); flex: none; color: var(--muted); }
.notif .grow { flex: 1; min-width: 0; }
.notif small { color: var(--faint); }

/* Referidos */
.ref-box { display: flex; gap: 8px; margin-top: 14px; }
.ref-box .input { flex: 1; min-width: 0; font-size: 14px; }
.mini-stats { display: flex; gap: 22px; margin-top: 16px; flex-wrap: wrap; }
.mini-stats b { display: block; font-family: var(--display); font-size: 22px; }
.mini-stats span { color: var(--faint); font-size: 12.5px; }

/* Estados */
.status { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 600; border: 1px solid; }
.status-published { color: var(--green); border-color: rgba(52, 211, 153, 0.4); background: rgba(52, 211, 153, 0.08); }
.status-pending { color: var(--gold); border-color: rgba(255, 201, 77, 0.4); background: rgba(255, 201, 77, 0.08); }
.status-rejected { color: var(--red); border-color: rgba(248, 113, 113, 0.4); background: rgba(248, 113, 113, 0.08); }
.status-hidden { color: var(--muted); border-color: var(--border-strong); background: var(--surface-3); }
.status-banned { color: var(--red); border-color: rgba(248, 113, 113, 0.4); }

/* Gráficas (marcas finas, rejilla discreta, tooltip) */
.charts { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.chart-card { padding: 18px 18px 12px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); position: relative; }
.chart-card h4 { font: 600 14px var(--font); color: var(--muted); margin: 0; }
.chart-card .total { font-family: var(--display); font-size: 26px; font-weight: 700; margin: 2px 0 10px; }
.chart-card .total small { font: 500 12.5px var(--font); color: var(--faint); margin-left: 6px; }
.chart-svg { display: block; width: 100%; overflow: visible; }
.chart-svg .grid line { stroke: rgba(255, 255, 255, 0.06); }
.chart-svg .axis text { fill: var(--faint); font: 11px var(--font); }
.chart-svg .hit { fill: transparent; cursor: crosshair; }
.chart-svg .hit:hover + .bar, .chart-svg .bar.hover { filter: brightness(1.25); }
.chart-tip { position: absolute; pointer-events: none; z-index: 5; padding: 8px 10px; border-radius: 10px; background: var(--surface-3); border: 1px solid var(--border-strong); box-shadow: var(--shadow); font-size: 12.5px; white-space: nowrap; transform: translate(-50%, -100%); }
.chart-tip b { font-size: 14px; }
.chart-table { width: 100%; font-size: 13px; margin-top: 8px; }
.chart-table td, .chart-table th { padding: 6px 8px; }
/* ---------- v3: buscador con sugerencias ---------- */
.search .suggest {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 80; max-height: min(70vh, 520px); overflow: auto; padding: 8px;
  background: rgba(21, 18, 31, 0.98); border: 1px solid var(--border-strong); border-radius: 16px; box-shadow: var(--shadow); backdrop-filter: blur(16px);
}
.sg-head { display: flex; align-items: center; gap: 6px; justify-content: space-between; padding: 10px 10px 4px; color: var(--faint); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.sg-head svg { width: 14px; height: 14px; }
.sg-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--text); font-size: 14px; }
.sg-row:hover, .sg-row.on { background: var(--surface-3); }
.sg-row svg { color: var(--faint); flex: none; }
.sg-row .v { color: #60a5fa; }
.sg-row img { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; flex: none; }
.sg-row img.blur { filter: blur(4px); }
.sg-row span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.sg-row small { color: var(--faint); }
.sg-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 10px 8px; }
.sg-tags a { padding: 4px 10px; border-radius: 999px; background: var(--surface-3); color: var(--muted); font-size: 13px; }
.sg-tags a:hover, .sg-tags a.on { color: var(--text); background: var(--border-strong); }

/* Favorito en la tarjeta */
.fav-btn {
  position: absolute; top: 10px; right: 10px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: rgba(9, 8, 13, 0.6); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, 0.2); color: #fff; transition: 0.2s;
}
.fav-btn:hover { transform: scale(1.08); }
.fav-btn.on { color: var(--pink); border-color: rgba(255, 79, 154, 0.6); }
.fav-btn svg { width: 18px; height: 18px; }
.radio-row { margin-bottom: 8px; padding: 10px 12px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--border); align-items: center; }
.radio-row:has(input:checked) { border-color: rgba(255, 79, 154, 0.5); color: var(--text); }

/* Página de búsqueda */
.search-hero { display: flex; gap: 10px; margin-bottom: 14px; }
.search-hero .search { display: block; max-width: none; flex: 1; margin: 0; }
.search-hero .search input { height: 52px; font-size: 16px; border-radius: 14px; padding-left: 46px; }
.search-hero .search > svg { left: 16px; }
.search-layout { display: grid; gap: 20px; align-items: start; }
@media (min-width: 980px) { .search-layout { grid-template-columns: 272px 1fr; } }
.filters { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
@media (min-width: 980px) { .filters { position: sticky; top: 88px; max-height: calc(100vh - 104px); overflow: auto; } .filters-toggle, .filters .close-f { display: none !important; } }
@media (max-width: 979px) {
  .filters { position: fixed; z-index: 120; inset: 0 0 0 auto; width: min(360px, 92vw); border-radius: 20px 0 0 20px; overflow: auto; transform: translateX(105%); transition: transform 0.3s; padding-bottom: 90px; }
  .filters.open { transform: none; box-shadow: var(--shadow); }
}
.filters h4 { font: 700 12px var(--font); text-transform: uppercase; letter-spacing: 0.06em; color: var(--faint); margin: 18px 0 8px; }
.filters h4:first-of-type { margin-top: 4px; }
.fchips { display: flex; flex-wrap: wrap; gap: 6px; }
.fchip { height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg-2); color: var(--muted); font-size: 13px; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; }
.fchip:hover { color: var(--text); }
.fchip.on { background: rgba(255, 79, 154, 0.14); border-color: rgba(255, 79, 154, 0.5); color: #ffc0dc; }
.fchip svg { width: 14px; height: 14px; }
.ftoggle { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 0; font-size: 14px; color: var(--muted); cursor: pointer; }
.ftoggle input { appearance: none; width: 38px; height: 22px; border-radius: 999px; background: var(--surface-3); position: relative; cursor: pointer; transition: 0.2s; flex: none; }
.ftoggle input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--muted); transition: 0.2s; }
.ftoggle input:checked { background: var(--pink); }
.ftoggle input:checked::after { left: 19px; background: #fff; }
.range-row { display: flex; gap: 8px; align-items: center; }
.range-row .input { min-height: 38px; padding: 6px 10px; }
.results-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.active-filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.active-filters .fchip { background: var(--surface-2); color: var(--text); }
.dym { padding: 12px 14px; border-radius: 12px; background: rgba(139, 92, 246, 0.1); border: 1px solid rgba(139, 92, 246, 0.3); margin-bottom: 14px; }
.dym a { color: #c4b5fd; font-weight: 600; text-decoration: underline; }
.trend-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.trend-chips a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--muted); font-size: 14px; transition: 0.2s; }
.trend-chips a:hover { color: var(--text); border-color: var(--border-strong); }
.trend-chips a svg { color: var(--pink); width: 15px; height: 15px; }
.trend-chips small { color: var(--faint); }
.f-backdrop { position: fixed; inset: 0; z-index: 110; background: rgba(5, 4, 8, 0.6); }

/* Canje de códigos */
.redeem { display: flex; gap: 8px; margin-top: 14px; }
.redeem .input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.code-mono { font-family: ui-monospace, Consolas, monospace; font-weight: 700; letter-spacing: 0.04em; }
.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 46px; }
.pw-wrap button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); }

.linklike { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: 12.5px; }

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