/* =====================================================================
   ELLA DIGITAL — Design System
   Streaming premium: noche cálida + dorado champagne + bordó + rosa pastel.
   Guiño al logo: brillo violeta neón muy sutil.
   Default: dark. Light disponible (data-theme="light").
   ===================================================================== */

:root,
[data-theme="dark"] {
  --bg-primary:    #0B0708;
  --bg-secondary:  #140C0E;
  --bg-tertiary:   #1E1316;
  --surface:       #170F11;
  --surface-2:     #22161A;
  --text-primary:  #F7EFEA;
  --text-secondary:#D2C0B8;
  --text-muted:    #A38E87;
  --border:        #33242A;
  --border-strong: #4A343B;

  --gold:          #D6B271;
  --gold-bright:   #EBCD91;
  --gold-deep:     #A8823F;
  --bordo:         #6E1A2B;
  --bordo-bright:  #9A2A40;
  --rosa:          #F2C6CF;
  --rosa-soft:     rgba(242, 198, 207, .12);
  --marron:        #3A2620;
  --neon:          #961EFA;

  --accent:        var(--gold);
  --accent-hover:  var(--gold-bright);
  --accent-text:   #1B0F07;
  --danger:        #E86A6A;
  --success:       #4FC48A;
  --warning:       #E8A33A;
  --shadow:        rgba(0, 0, 0, .55);
  --overlay:       rgba(8, 4, 5, .72);

  --grad-gold:  linear-gradient(135deg, #F0D59C 0%, #D6B271 42%, #A8823F 100%);
  --grad-bordo: linear-gradient(135deg, #9A2A40 0%, #6E1A2B 55%, #3A1018 100%);
  --grad-fade-b: linear-gradient(180deg, rgba(11,7,8,0) 0%, rgba(11,7,8,.55) 55%, #0B0708 100%);
  --grad-fade-l: linear-gradient(90deg, #0B0708 0%, rgba(11,7,8,.85) 32%, rgba(11,7,8,0) 70%);
  --glow-gold: 0 0 0 1px rgba(214,178,113,.55), 0 18px 48px -18px rgba(214,178,113,.45);
  --glow-neon: 0 0 42px -12px rgba(150, 30, 250, .55);
}

[data-theme="light"] {
  --bg-primary:    #FBF7F3;
  --bg-secondary:  #F3EAE3;
  --bg-tertiary:   #E9DCD2;
  --surface:       #FFFFFF;
  --surface-2:     #F7F0EA;
  --text-primary:  #1E1113;
  --text-secondary:#4E3A36;
  --text-muted:    #74605A;
  --border:        #E0D1C7;
  --border-strong: #CDB8AB;

  --gold:          #8C6522;
  --gold-bright:   #A57A2E;
  --gold-deep:     #6E4F18;
  --bordo:         #7A1E30;
  --bordo-bright:  #962A40;
  --rosa:          #B85A70;
  --rosa-soft:     rgba(242, 198, 207, .45);
  --marron:        #5A3A2E;
  --neon:          #7B2FF7;

  --accent:        #8C6522;
  --accent-hover:  #6E4F18;
  --accent-text:   #FFFFFF;
  --danger:        #B83232;
  --success:       #1A7A4A;
  --warning:       #9A5A08;
  --shadow:        rgba(60, 30, 20, .14);
  --overlay:       rgba(30, 17, 19, .55);

  --grad-gold:  linear-gradient(135deg, #B8893A 0%, #8C6522 55%, #6E4F18 100%);
  --grad-fade-b: linear-gradient(180deg, rgba(11,7,8,0) 0%, rgba(11,7,8,.45) 55%, rgba(11,7,8,.92) 100%);
  --grad-fade-l: linear-gradient(90deg, rgba(11,7,8,.92) 0%, rgba(11,7,8,.7) 32%, rgba(11,7,8,0) 70%);
  --glow-gold: 0 0 0 1px rgba(140,101,34,.45), 0 18px 40px -20px rgba(140,101,34,.45);
  --glow-neon: 0 0 0 transparent;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after {
  box-sizing: border-box;
  -webkit-user-select: none; -moz-user-select: none; user-select: none;
  -webkit-tap-highlight-color: transparent;
}
input, textarea, select, [contenteditable="true"] { -webkit-user-select: text; user-select: text; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px; line-height: 1.6;
  background: var(--bg-primary); color: var(--text-primary);
  overscroll-behavior-y: none;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img, video { max-width: 100%; display: block; -webkit-user-drag: none; user-drag: none; }
a { color: var(--accent); text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.2; }
h1 { font-size: 28px; } h2 { font-size: 22px; } h3 { font-size: 18px; } h4 { font-size: 15px; }
.display { font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif; font-weight: 600; letter-spacing: .005em; }
.label { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); font-weight: 600; }
.eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: .22em; color: var(--gold); font-weight: 600; display: inline-flex; align-items: center; gap: .6rem; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.muted { color: var(--text-muted); }
.hidden, [hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
svg.lucide { width: 20px; height: 20px; stroke-width: 1.8; flex-shrink: 0; }

.container { max-width: 1320px; margin: 0 auto; padding: 0 1.5rem; }
@media (max-width: 768px) { .container { padding: 0 1rem; } }

/* ------------------------------------------------------------- buttons */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 46px; padding: 0 1.3rem; border-radius: 12px;
  border: 1px solid transparent; font-size: 15px; font-weight: 600; letter-spacing: .01em;
  transition: transform .12s ease, background .2s ease, box-shadow .25s ease, border-color .2s ease, opacity .12s;
  white-space: nowrap;
}
.btn:active { transform: scale(.96); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-gold { background: var(--grad-gold); color: var(--accent-text); box-shadow: 0 10px 30px -12px rgba(214,178,113,.6); }
.btn-gold:hover { box-shadow: 0 14px 36px -10px rgba(214,178,113,.75); }
.btn-ghost { background: rgba(255,255,255,.06); color: var(--text-primary); border-color: var(--border-strong); }
[data-theme="light"] .btn-ghost { background: rgba(30,17,19,.04); }
.btn-ghost:hover { border-color: var(--gold); }
.btn-over { background: rgba(20, 10, 12, .45); color: #F7EFEA; border-color: rgba(247,239,234,.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-bordo { background: var(--grad-bordo); color: #FBEFF1; }
.btn-sm { min-height: 44px; padding: 0 .95rem; font-size: 14px; border-radius: 10px; }
.btn-lg { min-height: 54px; padding: 0 1.8rem; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-icon { width: 44px; min-height: 44px; padding: 0; border-radius: 50%; background: transparent; border: 1px solid var(--border); color: var(--text-primary); }
.btn-icon:hover { border-color: var(--gold); color: var(--gold); }
.btn-unlock { letter-spacing: .02em; }
.btn-unlock .precio { padding-left: .7rem; margin-left: .15rem; border-left: 1px solid rgba(27,15,7,.25); font-variant-numeric: tabular-nums; }

/* ripple (skill 31) */
.ripple-wave { position: absolute; border-radius: 50%; background: rgba(255,255,255,.35); transform: scale(0); animation: ripple-anim .6s linear; pointer-events: none; }
.btn-gold .ripple-wave { background: rgba(27,15,7,.18); }
@keyframes ripple-anim { to { transform: scale(4); opacity: 0; } }

/* -------------------------------------------------------------- header */
.app-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  padding-top: env(safe-area-inset-top);
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(11,7,8,.85) 0%, rgba(11,7,8,0) 100%);
}
.app-header.solid { background: color-mix(in srgb, var(--bg-primary) 92%, transparent); border-bottom-color: var(--border); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
@supports not (background: color-mix(in srgb, red 50%, blue)) { .app-header.solid { background: var(--bg-primary); } }
.app-header .bar { display: flex; align-items: center; gap: 1.5rem; height: 68px; }
.brand { display: flex; align-items: center; gap: .7rem; color: #F7EFEA; flex-shrink: 0; }
.app-header.solid .brand { color: var(--text-primary); }
.brand img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(214,178,113,.6), var(--glow-neon); }
.brand-name { font-family: "Cormorant Garamond", Georgia, serif; font-size: 25px; font-weight: 600; font-style: italic; line-height: 1; }
.brand-name small { display: block; font-family: Inter, system-ui, sans-serif; font-style: normal; font-size: 10px; font-weight: 600; letter-spacing: .38em; color: var(--gold); margin-top: 3px; }
.nav-desktop { display: flex; gap: .25rem; }
.nav-desktop a { position: relative; color: rgba(247,239,234,.78); font-size: 14px; font-weight: 500; padding: .55rem .8rem; border-radius: 8px; transition: color .2s; }
.app-header.solid .nav-desktop a { color: var(--text-secondary); }
.nav-desktop a:hover, .nav-desktop a.active { color: var(--gold); }
.nav-desktop a.active::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .2rem; height: 2px; background: var(--grad-gold); border-radius: 2px; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
.app-header .btn-icon { color: #F7EFEA; border-color: rgba(247,239,234,.22); }
.app-header.solid .btn-icon { color: var(--text-primary); border-color: var(--border); }
.user-chip { display: flex; align-items: center; gap: .5rem; padding: .25rem .8rem .25rem .25rem; border-radius: 999px; border: 1px solid rgba(214,178,113,.4); color: #F7EFEA; min-height: 44px; background: rgba(20,10,12,.35); }
[data-theme="light"] .app-header.solid .btn-over { background: transparent; color: var(--text-primary); border-color: var(--border-strong); backdrop-filter: none; }
.app-header.solid .user-chip { color: var(--text-primary); background: transparent; }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-bordo); color: var(--rosa); font-weight: 700; font-size: 14px; text-transform: uppercase; }
.badge-premium { font-size: 10px; font-weight: 700; letter-spacing: .12em; padding: .15rem .45rem; border-radius: 6px; background: var(--grad-gold); color: #1B0F07; }
@media (max-width: 960px) { .nav-desktop, .hide-tablet { display: none !important; } }
@media (max-width: 768px) {
  .app-header .bar { height: 60px; gap: .75rem; }
  .brand img { width: 36px; height: 36px; }
  .brand-name { font-size: 22px; }
  .hide-mobile { display: none !important; }
  .brand-name small { display: none; }
  .header-actions { gap: .4rem; }
  .app-header .btn-sm { padding: 0 .85rem; }
}
@media (min-width: 769px) { .show-mobile { display: none !important; } }
@media (max-width: 380px) { .brand-name { font-size: 19px; } .brand img { width: 32px; height: 32px; } }

/* --------------------------------------------------------- main / vista */
#app { min-height: 100vh; }
.vista { animation: vistaIn .32s cubic-bezier(.4, 0, .2, 1); }
.vista.saliendo { animation: vistaOut .18s ease forwards; }
@keyframes vistaIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@keyframes vistaOut { to { opacity: 0; transform: translateX(-18px); } }
.page-pad { padding-top: calc(68px + env(safe-area-inset-top) + 2rem); padding-bottom: 4rem; }
@media (max-width: 768px) {
  .page-pad { padding-top: calc(60px + env(safe-area-inset-top) + 1.25rem); }
  body.has-footer #app { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}

/* ---------------------------------------------------------------- hero */
.hero { position: relative; min-height: min(88vh, 860px); display: flex; align-items: flex-end; overflow: hidden; background: #0B0708; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; transform: scale(1.04); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad-fade-l); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; z-index: -1; background: linear-gradient(180deg, rgba(11,7,8,0), var(--bg-primary)); }
.hero-inner { width: 100%; padding-bottom: clamp(3rem, 8vh, 6rem); padding-top: 120px; }
.hero-copy { max-width: 600px; color: #F7EFEA; }
.hero-title { font-size: clamp(46px, 7vw, 92px); line-height: .95; margin: 1rem 0 1.1rem; }
.hero-title em { font-style: italic; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
[data-theme="light"] .hero-title em { background: linear-gradient(135deg, #F0D59C, #D6B271); -webkit-background-clip: text; background-clip: text; }
.hero-sub { color: rgba(247,239,234,.82); font-size: 17px; max-width: 480px; margin: 0 0 1.8rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-stats { display: flex; gap: 2rem; margin-top: 2.4rem; }
.hero-stats div { border-left: 1px solid rgba(214,178,113,.45); padding-left: .9rem; }
.hero-stats strong { display: block; font-family: "Cormorant Garamond", Georgia, serif; font-size: 34px; line-height: 1; color: #EBCD91; font-weight: 600; }
.hero-stats span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(247,239,234,.7); }
.hero-spot { position: absolute; right: clamp(1rem, 5vw, 5rem); bottom: clamp(3rem, 9vh, 6.5rem); width: 250px; }
.hero-spot .label { color: #EBCD91; margin-bottom: .6rem; display: block; }
@media (max-width: 1100px) { .hero-spot { display: none; } }
@media (max-width: 768px) {
  .hero { min-height: 92vh; }
  .hero-media img { object-position: center top; }
  .hero::before { background: linear-gradient(180deg, rgba(11,7,8,.35) 0%, rgba(11,7,8,0) 30%, rgba(11,7,8,.75) 62%, #0B0708 100%); }
  .hero-sub { font-size: 15px; }
  .hero-stats { gap: 1.2rem; }
  .hero-stats strong { font-size: 28px; }
  .hero-cta .btn { flex: 1 1 auto; }
}

/* ---------------------------------------------------------------- rows */
.section { margin-top: 3rem; }
.section:first-child { margin-top: 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.section-head h2 { font-family: "Cormorant Garamond", Georgia, serif; font-size: 32px; font-weight: 600; }
.section-head h2 em { color: var(--gold); font-style: italic; }
.section-head .link { display: inline-flex; align-items: center; gap: .3rem; font-size: 14px; font-weight: 600; color: var(--gold); min-height: 44px; }
@media (max-width: 768px) { .section { margin-top: 2.25rem; } .section-head h2 { font-size: 26px; } }

.row-wrap { position: relative; }
.row { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 1.5rem; padding: .5rem 1.5rem 1.2rem; margin: 0 -1.5rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.row::-webkit-scrollbar { display: none; }
.row > * { scroll-snap-align: start; flex-shrink: 0; }
.row .card { width: 220px; }
.row .card.card-lg { width: 280px; }
.row-arrow { position: absolute; top: 40%; z-index: 5; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text-primary); display: grid; place-items: center; box-shadow: 0 10px 30px var(--shadow); opacity: 0; transition: opacity .2s; }
.row-wrap:hover .row-arrow { opacity: 1; }
.row-arrow.prev { left: -14px; } .row-arrow.next { right: -14px; }
@media (max-width: 768px) {
  .row { gap: .75rem; padding: .4rem 1rem 1rem; margin: 0 -1rem; scroll-padding: 0 1rem; }
  .row .card { width: 44vw; max-width: 200px; }
  .row .card.card-lg { width: 62vw; }
  .row-arrow { display: none; }
}

/* ------------------------------------------------------- content card */
.card { position: relative; cursor: pointer; outline: none; transition: transform .28s cubic-bezier(.2,.8,.2,1); }
.card-media {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--bg-tertiary);
  border-radius: 14px;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}
.card-media::before { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(214,178,113,.16); pointer-events: none; transition: box-shadow .3s; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1), filter .4s; }
.card-media::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11,7,8,.35) 0%, rgba(11,7,8,0) 28%, rgba(11,7,8,0) 50%, rgba(11,7,8,.92) 100%); pointer-events: none; }
.card:hover { transform: translateY(-6px); }
.card:hover .card-media img { transform: scale(1.06); }
.card:hover .card-media::before, .card:focus-visible .card-media::before { box-shadow: inset 0 0 0 1px rgba(214,178,113,.75), inset 0 -60px 60px -40px rgba(214,178,113,.25); }
.card:active { transform: scale(.98); }
.card-corner { position: absolute; top: 0; right: 0; width: 22px; height: 22px; z-index: 3; background: linear-gradient(45deg, transparent 50%, var(--gold) 50%); opacity: .9; }
.card-badges { position: absolute; top: .6rem; left: .6rem; z-index: 3; display: flex; flex-wrap: wrap; gap: .35rem; max-width: calc(100% - 3.5rem); }
.chip-mini { display: inline-flex; align-items: center; gap: .25rem; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .22rem .5rem; border-radius: 6px; background: rgba(11,7,8,.62); color: #F7EFEA; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid rgba(247,239,234,.14); }
.chip-mini svg.lucide { width: 12px; height: 12px; }
.chip-mini.nuevo { background: var(--rosa); color: #3A1018; border-color: transparent; }
.chip-mini.ok { background: rgba(79,196,138,.2); color: #9BE3BD; border-color: rgba(79,196,138,.45); }
.card-fav { position: absolute; top: 2.1rem; right: .45rem; z-index: 4; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: #F7EFEA; display: grid; place-items: center; }
.card-fav svg.lucide { width: 22px; height: 22px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.6)); transition: transform .2s; }
.card-fav:active svg.lucide { transform: scale(1.3); }
.card-fav.on svg.lucide { fill: #E8667E; color: #E8667E; }
.card-lock { position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%); z-index: 3; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #EBCD91; background: rgba(11,7,8,.5); border: 1px solid rgba(214,178,113,.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); transition: transform .3s, background .3s; }
.card:hover .card-lock { transform: translate(-50%, -50%) scale(1.08); background: rgba(110,26,43,.7); }
.card-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: .85rem .9rem .9rem; color: #F7EFEA; }
.card-cat { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: #EBCD91; font-weight: 600; }
.card-title { font-family: "Cormorant Garamond", Georgia, serif; font-size: 22px; font-weight: 600; line-height: 1.1; margin: .15rem 0 .5rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.price { font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; color: #F7EFEA; }
.price-tag { display: inline-flex; align-items: center; gap: .3rem; padding: .28rem .6rem; border-radius: 8px; background: linear-gradient(135deg, #F0D59C 0%, #D6B271 42%, #A8823F 100%); color: #1B0F07; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%, 0 8px); }
.card-cta { font-size: 12px; font-weight: 600; color: rgba(247,239,234,.75); display: inline-flex; align-items: center; gap: .25rem; }
.card-cta svg.lucide { width: 14px; height: 14px; }
.card.unlocked .card-cta { color: #9BE3BD; }
@media (max-width: 768px) { .card-title { font-size: 19px; } .card-info { padding: .7rem; } .card-lock { width: 46px; height: 46px; } }

/* ranking (Top) */
.rank-card { display: flex; align-items: flex-end; }
.rank-num { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 700; font-size: 170px; line-height: .72; margin-right: -8px; color: transparent; -webkit-text-stroke: 2px rgba(214,178,113,.85); text-shadow: 0 0 30px rgba(214,178,113,.15); position: relative; z-index: 0; letter-spacing: -.06em; }
.rank-card .card { width: 190px; z-index: 1; }
@media (max-width: 768px) { .rank-num { font-size: 110px; margin-right: -6px; } .rank-card .card { width: 40vw; max-width: 170px; } }

/* colecciones */
.col-card { position: relative; width: 420px; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; cursor: pointer; background: var(--bg-tertiary); isolation: isolate; box-shadow: inset 0 0 0 1px rgba(214,178,113,.2); transition: transform .3s, box-shadow .3s; }
.col-card:hover { transform: translateY(-5px); box-shadow: var(--glow-gold); }
.col-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s; }
.col-card:hover img { transform: scale(1.05); }
.col-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, rgba(58,16,24,.92) 0%, rgba(58,16,24,.55) 45%, rgba(11,7,8,.1) 100%); }
.col-body { position: absolute; inset: 0; padding: 1.3rem 1.4rem; display: flex; flex-direction: column; color: #F7EFEA; }
.col-body h3 { font-family: "Cormorant Garamond", Georgia, serif; font-size: 30px; font-weight: 600; line-height: 1.05; max-width: 70%; margin-top: .35rem; }
.col-body p { margin: .4rem 0 0; font-size: 13px; color: rgba(247,239,234,.78); max-width: 62%; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.col-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.col-save { font-size: 12px; color: var(--rosa); }
.col-save s { color: rgba(247,239,234,.55); margin-right: .35rem; }
@media (max-width: 768px) { .col-card { width: 84vw; } .col-body h3 { font-size: 25px; max-width: 85%; } .col-body p { max-width: 90%; } }

/* banner premium */
.premium-banner { position: relative; overflow: hidden; border-radius: 24px; min-height: 320px; display: flex; align-items: center; isolation: isolate; box-shadow: inset 0 0 0 1px rgba(214,178,113,.35); }
.premium-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.premium-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,7,8,.95) 0%, rgba(11,7,8,.75) 45%, rgba(58,16,24,.15) 100%); }
.premium-body { padding: 2.5rem; max-width: 560px; color: #F7EFEA; }
.premium-body h2 { font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(34px, 4vw, 52px); line-height: 1; margin: .8rem 0; }
.premium-body h2 em { font-style: italic; color: #EBCD91; }
.premium-body p { color: rgba(247,239,234,.8); margin: 0 0 1.5rem; }
.premium-list { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin: 0 0 1.6rem; padding: 0; list-style: none; font-size: 14px; }
.premium-list li { display: flex; align-items: center; gap: .4rem; }
.premium-list svg.lucide { color: #EBCD91; width: 16px; height: 16px; }
@media (max-width: 768px) {
  .premium-banner { border-radius: 18px; align-items: flex-end; min-height: 440px; }
  .premium-banner::after { background: linear-gradient(180deg, rgba(11,7,8,.1) 0%, rgba(11,7,8,.85) 50%, rgba(11,7,8,.97) 100%); }
  .premium-body { padding: 1.5rem; }
}

/* CTA cuenta (asimétrico) */
.join { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center; padding: 2.5rem; border-radius: 24px; background: radial-gradient(120% 140% at 100% 0%, rgba(110,26,43,.55) 0%, transparent 55%), var(--surface); border: 1px solid var(--border); position: relative; overflow: hidden; }
.join::before { content: ""; position: absolute; right: -60px; bottom: -60px; width: 240px; height: 240px; border: 1px solid rgba(214,178,113,.3); transform: rotate(30deg); clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); }
.join h2 { font-family: "Cormorant Garamond", Georgia, serif; font-size: 40px; line-height: 1.05; }
.join h2 em { color: var(--gold); }
.join-steps { display: flex; flex-direction: column; gap: .9rem; position: relative; }
.join-step { display: flex; gap: .9rem; align-items: flex-start; }
.join-step b { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--rosa-soft); color: var(--rosa); flex-shrink: 0; font-size: 14px; }
@media (max-width: 768px) { .join { grid-template-columns: 1fr; padding: 1.5rem; border-radius: 18px; } .join h2 { font-size: 32px; } }

/* ------------------------------------------------------------ catálogo */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.page-head h1 { font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(38px, 5vw, 56px); line-height: 1; margin-top: .5rem; }
.page-head h1 em { color: var(--gold); }
.filters { position: sticky; top: calc(68px + env(safe-area-inset-top)); z-index: 50; background: var(--bg-primary); padding: .8rem 0; margin-bottom: 1.25rem; border-bottom: 1px solid var(--border); }
@media (max-width: 768px) { .filters { top: calc(60px + env(safe-area-inset-top)); } }
.filters-top { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }
.search { position: relative; flex: 1 1 280px; }
.search svg.lucide { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; }
.input, .select {
  width: 100%; min-height: 46px; padding: 0 1rem; border-radius: 12px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text-primary);
  font: inherit; font-size: 15px; outline: none; transition: border-color .2s, box-shadow .2s;
}
.search .input { padding-left: 2.7rem; }
.input:focus, .select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(214,178,113,.18); }
.input::placeholder { color: var(--text-muted); }
.select { appearance: none; -webkit-appearance: none; padding-right: 2.4rem; background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.select-wrap { flex: 0 0 auto; min-width: 190px; }
.seg { display: inline-flex; padding: 3px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); }
.seg button { min-height: 38px; padding: 0 .9rem; border: 0; background: transparent; border-radius: 9px; font-size: 13px; font-weight: 600; color: var(--text-secondary); display: inline-flex; align-items: center; gap: .35rem; }
.seg button.on { background: var(--grad-gold); color: var(--accent-text); }
.seg svg.lucide { width: 15px; height: 15px; }
.chips { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; margin-top: .75rem; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; min-height: 38px; padding: 0 1rem; border-radius: 999px; border: 1px solid var(--border); background: transparent; color: var(--text-secondary); font-size: 13px; font-weight: 500; display: inline-flex; align-items: center; gap: .4rem; }
.chip:hover { border-color: var(--gold); color: var(--gold); }
.chip.on { border-color: var(--gold); background: rgba(214,178,113,.14); color: var(--gold); }
.chip small { opacity: .7; }
.result-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; font-size: 13px; color: var(--text-muted); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1.4rem 1rem; }
@media (max-width: 768px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem .75rem; }
  .filters-top .select-wrap { flex: 1 1 45%; min-width: 0; }
  .filters-top .seg { flex: 1 1 100%; } .seg button { flex: 1; justify-content: center; }
}
.load-more { display: flex; justify-content: center; margin-top: 2rem; }

/* --------------------------------------------------------- estados UI */
.empty-state, .error-state { text-align: center; padding: 3.5rem 1.5rem; border: 1px dashed var(--border-strong); border-radius: 20px; background: var(--surface); }
.empty-state .ico, .error-state .ico { width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 18px; display: grid; place-items: center; background: var(--rosa-soft); color: var(--rosa); }
.empty-state .ico svg.lucide, .error-state .ico svg.lucide { width: 30px; height: 30px; }
.empty-state h3, .error-state h3 { font-family: "Cormorant Garamond", Georgia, serif; font-size: 28px; }
.empty-state p, .error-state p { color: var(--text-muted); margin: .4rem auto 1.3rem; max-width: 380px; }
.skel { background: linear-gradient(100deg, var(--bg-tertiary) 30%, var(--surface-2) 50%, var(--bg-tertiary) 70%); background-size: 300% 100%; animation: shimmer 1.4s infinite linear; border-radius: 14px; }
.skel-card { aspect-ratio: 3/4; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* ------------------------------------------------------ auth (login) */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; }
.auth-art { position: relative; overflow: hidden; background: #0B0708; }
.auth-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,7,8,.2) 0%, rgba(11,7,8,.1) 40%, rgba(11,7,8,.92) 100%); }
.auth-quote { position: absolute; left: 3rem; right: 3rem; bottom: 3rem; z-index: 2; color: #F7EFEA; }
.auth-quote h2 { font-family: "Cormorant Garamond", Georgia, serif; font-size: 48px; line-height: 1.02; margin-top: .8rem; }
.auth-quote h2 em { color: #EBCD91; }
.auth-panel { display: flex; align-items: center; justify-content: center; padding: calc(68px + 2rem) 1.5rem 3rem; background: radial-gradient(90% 60% at 100% 0%, rgba(110,26,43,.28), transparent 60%), var(--bg-primary); }
.auth-card { width: 100%; max-width: 420px; }
.auth-card h1 { font-family: "Cormorant Garamond", Georgia, serif; font-size: 44px; line-height: 1; margin: .7rem 0 .5rem; }
.auth-card > p { color: var(--text-muted); margin: 0 0 1.8rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; margin-bottom: .4rem; }
.field .err { display: block; min-height: 0; font-size: 12px; color: var(--danger); margin-top: .35rem; }
.field.invalid .input { border-color: var(--danger); }
.password-field { position: relative; }
.password-field .input { padding-right: 3.2rem; }
.toggle-password { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; background: none; color: var(--text-muted); display: grid; place-items: center; border-radius: 10px; }
.toggle-password:hover { color: var(--gold); }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: 14px; color: var(--text-secondary); cursor: pointer; margin: .4rem 0 1.2rem; min-height: 44px; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: #D6B271; flex-shrink: 0; }
.auth-alt { text-align: center; margin-top: 1.4rem; font-size: 14px; color: var(--text-muted); }
.auth-alt a { font-weight: 600; }
.divider { display: flex; align-items: center; gap: .8rem; margin: 1.4rem 0; color: var(--text-muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.pw-meter { display: flex; gap: 4px; margin-top: .5rem; }
.pw-meter i { flex: 1; height: 3px; border-radius: 2px; background: var(--border); transition: background .25s; }
.pw-meter[data-s="1"] i:nth-child(-n+1) { background: var(--danger); }
.pw-meter[data-s="2"] i:nth-child(-n+2) { background: var(--warning); }
.pw-meter[data-s="3"] i:nth-child(-n+3) { background: var(--gold); }
.pw-meter[data-s="4"] i { background: var(--success); }
@media (max-width: 900px) {
  .auth { grid-template-columns: 1fr; }
  .auth-art { position: absolute; inset: 0 0 auto 0; height: 38vh; }
  .auth-art .auth-quote { display: none; }
  .auth-art::after { background: linear-gradient(180deg, rgba(11,7,8,.2), var(--bg-primary)); }
  .auth-panel { position: relative; padding-top: calc(24vh + 2rem); background: transparent; align-items: flex-start; }
  .auth-card h1 { font-size: 38px; }
}

/* ------------------------------------------------------- dashboard */
.dash-hero { position: relative; border-radius: 24px; overflow: hidden; padding: 2rem; background: radial-gradient(100% 140% at 0% 0%, rgba(110,26,43,.6), transparent 55%), radial-gradient(80% 120% at 100% 100%, rgba(214,178,113,.18), transparent 60%), var(--surface); border: 1px solid var(--border); display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.5rem; align-items: end; }
.dash-hero h1 { font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(36px, 4.5vw, 54px); line-height: 1; margin: .6rem 0 .4rem; }
.dash-hero h1 em { color: var(--gold); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.kpi { padding: 1rem; border-radius: 16px; background: rgba(11,7,8,.25); border: 1px solid var(--border); text-align: left; cursor: pointer; color: var(--text-primary); transition: border-color .2s, transform .15s; min-height: 44px; }
[data-theme="light"] .kpi { background: var(--bg-primary); }
.kpi:hover { border-color: var(--gold); }
.kpi strong { display: block; font-family: "Cormorant Garamond", Georgia, serif; font-size: 36px; line-height: 1; color: var(--gold); font-weight: 600; }
.kpi span { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.tabs { display: flex; gap: .4rem; margin: 2rem 0 1.25rem; border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; min-height: 48px; padding: 0 1rem; border: 0; background: none; font-size: 15px; font-weight: 600; color: var(--text-muted); display: inline-flex; align-items: center; gap: .45rem; flex-shrink: 0; }
.tab.on { color: var(--text-primary); }
.tab.on::after { content: ""; position: absolute; left: .6rem; right: .6rem; bottom: -1px; height: 2px; background: var(--grad-gold); }
.tab .count { font-size: 12px; padding: 0 .45rem; border-radius: 999px; background: var(--bg-tertiary); color: var(--text-secondary); }
.admin-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1.5rem; }
.metric { padding: 1.3rem; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); position: relative; overflow: hidden; }
.metric::after { content: ""; position: absolute; top: 0; right: 0; width: 18px; height: 18px; background: linear-gradient(45deg, transparent 50%, var(--gold) 50%); }
.metric strong { display: block; font-family: "Cormorant Garamond", Georgia, serif; font-size: 40px; line-height: 1.05; margin-top: .4rem; }
.metric.wide { grid-column: span 2; background: var(--grad-bordo); border-color: transparent; color: #FBEFF1; }
.metric.wide .label { color: rgba(251,239,241,.75); }
@media (max-width: 900px) {
  .dash-hero { grid-template-columns: 1fr; padding: 1.4rem; border-radius: 18px; }
  .admin-metrics { grid-template-columns: repeat(2, 1fr); }
}

/* ---------------------------------------------------- sheet / modal */
.modal-wrapper { position: fixed; inset: 0; z-index: 1000; background: var(--overlay); display: flex; align-items: center; justify-content: center; padding: 1rem; animation: fadeIn .2s ease; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal { position: relative; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: 20px; width: 100%; max-width: 560px; max-height: 90vh; display: flex; flex-direction: column; box-shadow: 0 40px 100px -30px rgba(0,0,0,.8); animation: modalIn .28s cubic-bezier(.2,.8,.2,1); overflow: hidden; }
.modal.modal-wide { max-width: 920px; }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1rem 1rem 1.5rem; border-bottom: 1px solid var(--border); }
.modal-head h3 { font-family: "Cormorant Garamond", Georgia, serif; font-size: 26px; }
.modal-body { flex: 1; overflow-y: auto; padding: 1.5rem; -webkit-overflow-scrolling: touch; }
.modal-footer { padding: 1rem 1.5rem; border-top: 1px solid var(--border); display: flex; gap: .75rem; justify-content: flex-end; background: var(--bg-secondary); flex-wrap: wrap; }
.modal-close { position: absolute; top: .75rem; right: .75rem; z-index: 5; }
.grabber { display: none; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
@media (max-width: 768px) {
  .modal-wrapper { align-items: flex-end; padding: 0; }
  .modal, .modal.modal-wide { max-width: 100%; border-radius: 22px 22px 0 0; max-height: 92vh; animation: sheetIn .32s cubic-bezier(.2,.8,.2,1); }
  .modal-footer { padding-bottom: calc(1rem + env(safe-area-inset-bottom)); }
  .modal-footer .btn { flex: 1; }
  .modal-footer [data-fav-modal] { flex: 0 0 52px; padding: 0; }
  .modal-footer [data-fav-modal] span { display: none; }
  .modal-footer .btn-unlock { min-width: 0; padding: 0 .75rem; font-size: 14px; gap: .4rem; }
  .modal-footer .btn-unlock > svg.lucide { display: none; }
  .modal-footer .btn-unlock .precio { padding-left: .55rem; }
  .grabber { display: block; width: 44px; height: 5px; border-radius: 3px; background: var(--border-strong); margin: .55rem auto 0; }
  @keyframes sheetIn { from { transform: translateY(100%); } }
}

/* detalle rápido de contenido */
.cd { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; }
.cd-media { position: relative; border-radius: 16px; overflow: hidden; background: #000; aspect-ratio: 3/4; }
.cd-media img, .cd-media video { width: 100%; height: 100%; object-fit: cover; }
.cd-media video { object-fit: contain; background: #000; }
.cd-media .card-lock { width: 68px; height: 68px; top: 50%; }
.cd-media .card-lock svg.lucide { width: 28px; height: 28px; }
.cd-lockmsg { position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem; text-align: center; font-size: 13px; color: rgba(247,239,234,.85); background: linear-gradient(180deg, transparent, rgba(11,7,8,.9)); }
.cd-wm { position: absolute; inset: 0; pointer-events: none; z-index: 4; overflow: hidden; }
.cd-wm span { position: absolute; white-space: nowrap; font-size: 13px; font-weight: 700; color: rgba(255,255,255,.28); text-shadow: 0 1px 2px rgba(0,0,0,.4); transform: rotate(-24deg); animation: wmMove 14s linear infinite alternate; }
@keyframes wmMove { from { transform: translate(-8%, -6%) rotate(-24deg); } to { transform: translate(8%, 6%) rotate(-24deg); } }
.cd-info h2 { font-family: "Cormorant Garamond", Georgia, serif; font-size: 38px; line-height: 1.05; margin: .5rem 0 .75rem; }
.cd-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.cd-meta .chip-mini { background: var(--bg-tertiary); color: var(--text-secondary); border-color: var(--border); backdrop-filter: none; }
.cd-price { display: flex; align-items: baseline; gap: .6rem; margin: 1.25rem 0 .25rem; }
.cd-price strong { font-family: "Cormorant Garamond", Georgia, serif; font-size: 44px; color: var(--gold); line-height: 1; }
.cd-note { padding: .9rem 1rem; border-radius: 12px; background: var(--rosa-soft); color: var(--text-secondary); font-size: 14px; display: flex; gap: .6rem; margin-top: 1rem; }
.cd-note svg.lucide { color: var(--rosa); margin-top: 2px; }
.protected { -webkit-touch-callout: none; }
@media (max-width: 768px) { .cd { grid-template-columns: 1fr; gap: 1.25rem; } .cd-media { aspect-ratio: 4/5; max-height: 58vh; margin: 0 auto; width: 100%; } .cd-info h2 { font-size: 32px; } }

/* "Ver más" (skill 31) */
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.menu-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; min-height: 92px; padding: .75rem .5rem; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); color: var(--text-primary); font-size: 13px; font-weight: 500; text-align: center; position: relative; overflow: hidden; }
.menu-item svg.lucide { width: 24px; height: 24px; color: var(--gold); }
.menu-item.on { border-color: var(--gold); }
.menu-item.danger svg.lucide { color: var(--danger); }
.menu-user { display: flex; align-items: center; gap: .8rem; padding: .9rem 1rem; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); margin-bottom: 1rem; }

/* ------------------------------------------------ footer mobile nativo */
.app-footer-nav { display: none; }
@media (max-width: 768px) {
  .app-footer-nav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 999;
    height: calc(64px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    display: flex; background: var(--bg-secondary); border-top: 1px solid var(--border);
  }
  .app-footer-nav a { position: relative; overflow: hidden; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 44px; color: var(--text-muted); font-size: 12px; font-weight: 500; cursor: pointer; }
  .app-footer-nav a svg.lucide { width: 22px; height: 22px; }
  .app-footer-nav a.active { color: var(--gold); }
  .app-footer-nav a.active::before { content: ""; position: absolute; top: 0; width: 28px; height: 2px; border-radius: 0 0 2px 2px; background: var(--grad-gold); }
  .app-footer-nav a.cta svg.lucide { color: var(--gold); }
}

/* site footer desktop */
.site-foot { border-top: 1px solid var(--border); margin-top: 4rem; padding: 2rem 0 2.5rem; color: var(--text-muted); font-size: 13px; }
.site-foot .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center; }
.age { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--bordo-bright); color: var(--rosa); font-weight: 700; font-size: 12px; margin-right: .5rem; }

/* ---------------------------------------------------------------- toast */
#toasts { position: fixed; left: 50%; bottom: 88px; transform: translateX(-50%); z-index: 9999; display: flex; flex-direction: column; gap: .5rem; align-items: center; pointer-events: none; width: calc(100% - 2rem); max-width: 440px; }
@media (min-width: 769px) { #toasts { bottom: 32px; } }
.toast { display: flex; align-items: center; gap: .6rem; padding: .8rem 1.1rem; border-radius: 12px; font-size: 14px; font-weight: 500; color: #fff; box-shadow: 0 18px 40px -12px rgba(0,0,0,.6); animation: toastIn .3s cubic-bezier(.2,.8,.2,1); max-width: 100%; }
.toast svg.lucide { width: 18px; height: 18px; }
.toast-error { background: #A8323F; } .toast-success { background: #1F7A4E; } .toast-warning { background: #9A5A08; }
.toast-info { background: #2A1C20; border: 1px solid rgba(214,178,113,.45); }
.toast.out { animation: toastOut .25s ease forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(8px); } }

/* ---------------------------------------------------------------- splash */
#splash { position: fixed; inset: 0; z-index: 10000; background: #0B0708; display: flex; align-items: center; justify-content: center; flex-direction: column; transition: opacity .6s ease; overflow: hidden; }
#splash .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; animation: heroZoom 9s ease-out forwards; transform: scale(1.12); }
#splash::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 45%, rgba(11,7,8,.25), rgba(11,7,8,.92)); }
#splash .inner { position: relative; z-index: 2; text-align: center; padding: 1rem; }
#splash .logo { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; margin: 0 auto 1.4rem; box-shadow: 0 0 0 1px rgba(214,178,113,.7), 0 0 60px -6px rgba(150,30,250,.45); animation: splashPulse 2.4s ease-in-out infinite; }
@keyframes splashPulse { 50% { box-shadow: 0 0 0 1px rgba(214,178,113,.95), 0 0 80px 0 rgba(150,30,250,.55); } }
#splash h1 { font-family: "Cormorant Garamond", Georgia, serif; font-size: 58px; font-style: italic; color: #F7EFEA; font-weight: 600; line-height: 1; }
#splash .tag { margin: .5rem 0 2rem; font-size: 12px; letter-spacing: .38em; text-transform: uppercase; color: #EBCD91; }
#splash .track { width: 220px; height: 2px; margin: 0 auto; border-radius: 2px; background: rgba(247,239,234,.14); overflow: hidden; }
#splash .fill { height: 100%; width: 0; background: linear-gradient(90deg, #A8823F, #EBCD91, #F2C6CF); transition: width .1s linear; }

/* pull to refresh */
#ptr { position: fixed; top: -56px; left: 50%; transform: translateX(-50%); z-index: 950; width: 42px; height: 42px; border-radius: 50%; background: var(--grad-gold); color: #1B0F07; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0,0,0,.4); transition: top .2s; }
#ptr.spin svg.lucide { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ocultamiento al perder foco (base; se amplía en FASE 4) */
body.ed-blur .protected img, body.ed-blur .protected video { filter: blur(28px) brightness(.35); }

/* standalone / notch (skill 52) */
.modo-app .app-header { padding-top: env(safe-area-inset-top); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
.spin-ico { animation: spin .8s linear infinite; }
@media (max-width: 370px) { .modal-footer .btn-unlock { font-size: 13px; letter-spacing: 0; padding: 0 .6rem; } }
