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

:root{
  --rz-bg:#0b0a0f;
  --rz-surface:#17151d;
  --rz-surface-2:#211e28;
  --rz-surface-3:#2a2632;
  --rz-border:#4c4656;
  --rz-border-soft:#37323f;
  --rz-text:#f8f6fb;
  --rz-muted:#b9b5c2;
  --rz-muted-2:#8d8994;
  --rz-pink:#ff4f8b;
  --rz-pink-soft:#ff8fb5;
  --rz-purple:#9b76ff;
  --rz-gold:#f4b45c;
  --rz-green:#71d99a;
  --rz-danger:#ff829c;
  --rz-shadow:0 16px 42px rgba(0,0,0,.34);
}

/* ============================================================
   HEADER GENERAL
   ============================================================ */

.rz-header{
  position:sticky;
  top:0;
  z-index:12000;
  background:rgba(12,11,16,.94);
  border-bottom:1px solid rgba(255,255,255,.10);
  box-shadow:0 8px 28px rgba(0,0,0,.22);
  backdrop-filter:blur(18px) saturate(135%);
}

.rz-header-inner{
  width:min(1240px,94%);
  min-height:72px;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.rz-brand{
  display:flex;
  align-items:center;
  gap:11px;
  flex:0 0 auto;
  min-width:0;
  color:var(--rz-text);
  text-decoration:none;
}

.rz-logo{
  width:50px;
  height:50px;
  flex:0 0 50px;
  display:block;
  object-fit:contain;
  object-position:center;
  padding:1px;
  border-radius:0;
  filter:drop-shadow(0 5px 14px rgba(0,0,0,.22));
}

.rz-brand-copy{
  display:flex;
  align-items:center;
  min-width:0;
}

.rz-brand-copy b{
  font-family:'Cinzel','Times New Roman',serif;
  font-size:20px;
  line-height:1;
  font-weight:600;
  letter-spacing:2.3px;
  color:#fff;
  text-transform:uppercase;
  white-space:nowrap;
}

/* ============================================================
   NAVEGACIÓN DESKTOP
   ============================================================ */

.rz-nav-desktop{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  min-width:0;
}

.rz-link,
.rz-icon-btn{
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  flex:0 0 auto;
  padding:9px 14px;
  border:1px solid var(--rz-border);
  border-radius:999px;
  background:linear-gradient(180deg,#302c37,#26222d);
  color:var(--rz-text);
  text-decoration:none;
  font-family:'Manrope',Arial,sans-serif;
  font-size:12px;
  line-height:1;
  font-weight:600;
  letter-spacing:.05px;
  white-space:nowrap;
  cursor:pointer;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
  transition:
    transform .16s ease,
    background .16s ease,
    border-color .16s ease,
    color .16s ease,
    box-shadow .16s ease;
}

.rz-link:hover,
.rz-link.active,
.rz-icon-btn:hover{
  transform:translateY(-1px);
  background:linear-gradient(180deg,#3b3544,#302b38);
  border-color:#6a6274;
  color:#fff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.07),
    0 8px 20px rgba(0,0,0,.18);
}

.rz-link.back{
  background:#292630;
}

.rz-link.request,
.rz-link.register,
.rz-link.video-models{
  border-color:rgba(255,255,255,.15);
  background:linear-gradient(135deg,#d93d78 0%,#a447c5 52%,#795ddd 100%);
  color:#fff;
  box-shadow:0 8px 22px rgba(139,92,246,.18);
}

.rz-link.request:hover,
.rz-link.register:hover,
.rz-link.video-models:hover,
.rz-link.video-models.active{
  border-color:rgba(255,255,255,.28);
  background:linear-gradient(135deg,#ed4b88 0%,#b855d4 52%,#8d6df0 100%);
}

.rz-link.video-models .rz-video-dot{
  width:7px;
  height:7px;
  display:inline-block;
  border-radius:50%;
  background:#fff;
  box-shadow:0 0 11px rgba(255,255,255,.90);
}

.rz-link.account{
  max-width:180px;
  overflow:hidden;
  text-overflow:ellipsis;
  border-color:#665270;
  background:linear-gradient(180deg,#34273a,#2a202f);
}

.rz-icon-btn.language{
  min-width:52px;
  padding-inline:12px;
  font-size:16px;
}

.rz-current-lang{
  margin-left:2px;
  font-size:10px;
  font-weight:700;
  letter-spacing:.4px;
}

/* ============================================================
   USUARIO LOGUEADO · HEADER COMPACTO
   ============================================================ */

.rz-icon-btn.session-menu{
  display:none;
  background:linear-gradient(135deg,#3a2c46,#2a2334);
  border-color:#65566f;
}

/* Estado de cuenta consistente en todas las páginas e idiomas.
   Visitante: Sign in + Register.
   Logueado: Profile + Log out. */
html.rz-user-logged .rz-nav-desktop .account{
  display:inline-flex!important;
}

html.rz-user-logged .rz-nav-desktop .register{
  display:none!important;
}

html.rz-user-logged .rz-nav-desktop .language{
  display:inline-flex!important;
}

html.rz-user-logged .rz-nav-desktop .rz-logout-form.visible{
  display:block!important;
}

html.rz-user-logged .rz-nav-desktop .rz-icon-btn.session-menu{
  display:inline-flex;
}

html.rz-user-logged .rz-nav-desktop .rz-notifications > span:not(.rz-notifications-badge){
  display:none;
}

html.rz-user-logged .rz-mobile-tools .rz-mobile-guest-outside{
  display:none!important;
}

/* ============================================================
   NUEVAS / NOTIFICACIONES
   ============================================================ */

.rz-new-since{
  display:none;
  border-color:#866133;
  background:linear-gradient(180deg,#3d2d19,#312316);
  color:#ffd99e;
}

.rz-new-since.visible{
  display:inline-flex;
}

.rz-new-since strong,
.rz-notifications-badge{
  min-width:20px;
  height:20px;
  padding:0 6px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  font-size:9px;
  line-height:20px;
  font-weight:700;
}

.rz-new-since strong{
  background:#f4b45c;
  color:#20170b;
}

.rz-notifications{
  display:none;
  position:relative;
  border-color:#635463;
  background:linear-gradient(180deg,#342b35,#2b242d);
}

.rz-notifications.visible{
  display:inline-flex;
}

.rz-notifications-badge{
  display:none;
  background:#e54a7c;
  color:#fff;
}

.rz-notifications-badge.has-unread{
  display:inline-flex;
}

/* ============================================================
   LOGOUT
   ============================================================ */

.rz-logout-form{
  display:none;
  margin:0;
  padding:0;
}

.rz-logout-form.visible{
  display:block;
}

.rz-link.logout{
  border-color:#774554;
  background:linear-gradient(180deg,#3b242b,#311d23);
  color:#ffc0ce;
}

.rz-link.logout:hover{
  border-color:#a95d72;
  background:#482a33;
}

/* ============================================================
   MOBILE HEADER
   ============================================================ */

.rz-mobile-tools{
  display:none;
  align-items:center;
  gap:7px;
  margin-left:auto;
}

.rz-mobile-btn{
  min-height:40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:0 11px;
  border:1px solid var(--rz-border);
  border-radius:12px;
  background:linear-gradient(180deg,#302c37,#26222d);
  color:#fff;
  text-decoration:none;
  font-family:'Manrope',Arial,sans-serif;
  font-size:10px;
  font-weight:600;
  line-height:1;
  white-space:nowrap;
  cursor:pointer;
}

.rz-mobile-btn.menu{
  background:linear-gradient(135deg,#3a2c46,#2a2334);
  border-color:#65566f;
}

.rz-mobile-btn.video-models{
  border-color:rgba(255,255,255,.15);
  background:linear-gradient(135deg,#d93d78,#8a60e8);
}

.rz-mobile-btn .hamb{
  font-size:18px;
  line-height:1;
}

.rz-mobile-btn.rz-new-since,
.rz-mobile-btn.rz-notifications{
  display:none;
  position:relative;
}

.rz-mobile-btn.rz-new-since.visible,
.rz-mobile-btn.rz-notifications.visible{
  display:inline-flex;
}

.rz-mobile-btn.rz-notifications .rz-notifications-badge{
  position:absolute;
  top:-5px;
  right:-5px;
}

/* ============================================================
   MODALES
   ============================================================ */

.rz-header-modal{
  position:fixed;
  inset:0;
  z-index:50000;
  display:none;
  align-items:flex-start;
  justify-content:center;
  padding:86px 16px 28px;
  background:rgba(5,4,8,.80);
  backdrop-filter:blur(10px);
  overflow-y:auto;
}

.rz-header-modal.open{
  display:flex;
}

.rz-header-modal-card{
  width:min(620px,100%);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.13);
  border-radius:24px;
  background:
    radial-gradient(circle at 92% 0,rgba(155,118,255,.13),transparent 34%),
    radial-gradient(circle at 7% 100%,rgba(255,79,139,.10),transparent 38%),
    #17151d;
  box-shadow:0 30px 90px rgba(0,0,0,.62);
}

.rz-modal-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  padding:22px 22px 18px;
  border-bottom:1px solid rgba(255,255,255,.09);
}

.rz-modal-head-copy{
  min-width:0;
}

.rz-modal-head h2{
  margin:0;
  color:#fff;
  font-family:'Manrope',Arial,sans-serif;
  font-size:24px;
  line-height:1.15;
  font-weight:650;
  letter-spacing:-.35px;
}

.rz-modal-head p{
  margin:7px 0 0;
  color:var(--rz-muted);
  font-family:'Manrope',Arial,sans-serif;
  font-size:13px;
  line-height:1.55;
  font-weight:400;
}

.rz-modal-close{
  width:42px;
  height:42px;
  flex:0 0 42px;
  border:1px solid var(--rz-border);
  border-radius:50%;
  background:#2a2631;
  color:#fff;
  font-family:Arial,sans-serif;
  font-size:25px;
  font-weight:400;
  cursor:pointer;
}

/* ============================================================
   MENÚ
   ============================================================ */

.rz-menu-body{
  padding:16px;
}

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

.rz-menu-item{
  min-height:62px;
  display:flex;
  align-items:center;
  gap:11px;
  padding:13px 14px;
  border:1px solid var(--rz-border-soft);
  border-radius:15px;
  background:linear-gradient(180deg,#24212a,#1e1b23);
  color:#f7f5fa;
  text-decoration:none;
  text-align:left;
  font-family:'Manrope',Arial,sans-serif;
  font-size:13px;
  line-height:1.25;
  font-weight:600;
  cursor:pointer;
  transition:
    transform .15s ease,
    background .15s ease,
    border-color .15s ease;
}

.rz-menu-item:hover{
  transform:translateY(-1px);
  background:linear-gradient(180deg,#302b36,#28232e);
  border-color:#625a6d;
}

.rz-menu-item.primary{
  background:
    linear-gradient(135deg,rgba(255,79,139,.15),rgba(155,118,255,.13)),
    #231d28;
  border-color:#6c526f;
}

.rz-menu-item .ico{
  width:34px;
  height:34px;
  flex:0 0 34px;
  display:grid;
  place-items:center;
  border-radius:10px;
  background:#322e39;
  font-size:17px;
}

.rz-menu-item .txt{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
}

.rz-menu-item .mini-badge{
  margin-left:auto;
  min-width:22px;
  height:22px;
  padding:0 6px;
  display:none;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:#e54a7c;
  color:#fff;
  font-size:9px;
  font-weight:700;
}

.rz-menu-item .mini-badge.visible{
  display:inline-flex;
}

.rz-menu-register.hidden{
  display:none!important;
}

.rz-menu-only-logged{
  display:none;
}

.rz-menu-only-logged.visible{
  display:flex;
}

.rz-menu-logout-form{
  display:none;
  margin:0;
}

.rz-menu-logout-form.visible{
  display:block;
}

.rz-menu-logout-form .rz-menu-item{
  width:100%;
  color:#ffd0da;
  border-color:#734552;
  background:linear-gradient(180deg,#38242b,#2e1d23);
}

/* Menú logueado en orden alfabético */
html.rz-user-logged .rz-menu-logout{order:1}
html.rz-user-logged .rz-menu-language{order:2}
html.rz-user-logged .rz-menu-home{order:3}
html.rz-user-logged .rz-menu-models{order:4}
html.rz-user-logged .rz-menu-videos{order:5}
html.rz-user-logged .rz-menu-new{order:6}
html.rz-user-logged .rz-menu-notifications{order:7}
html.rz-user-logged .rz-menu-request{order:8}
html.rz-user-logged .rz-menu-account{order:9}
html.rz-user-logged .rz-menu-ranking{order:10}

/* ============================================================
   IDIOMAS
   ============================================================ */

.rz-language-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  padding:16px;
}

.rz-language-option{
  min-height:64px;
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px 14px;
  border:1px solid var(--rz-border-soft);
  border-radius:15px;
  background:#211e27;
  color:#fff;
  text-decoration:none;
  font-family:'Manrope',Arial,sans-serif;
}

.rz-language-option:hover{
  background:#2b2732;
  border-color:#625a6d;
}

.rz-language-option.active{
  border-color:#9477e3;
  background:
    linear-gradient(135deg,rgba(155,118,255,.16),rgba(255,79,139,.08)),
    #241f2b;
}

.rz-language-flag{
  font-size:27px;
  line-height:1;
}

.rz-language-name{
  font-size:14px;
  font-weight:600;
}

.rz-language-check{
  margin-left:auto;
  color:#d8c9ff;
  font-size:16px;
  font-weight:700;
}

/* ============================================================
   MODAL LANZAMIENTO DE VIDEOS
   ============================================================ */

.rz-construction-card{
  width:min(620px,100%);
}

.rz-construction-hero{
  position:relative;
  padding:32px 26px 20px;
  text-align:center;
  overflow:hidden;
}

.rz-construction-hero:before{
  content:"";
  position:absolute;
  width:270px;
  height:270px;
  top:-175px;
  left:50%;
  transform:translateX(-50%);
  border-radius:50%;
  background:
    radial-gradient(circle,rgba(255,79,139,.26),rgba(155,118,255,.10) 50%,transparent 72%);
  pointer-events:none;
}

.rz-construction-logo{
  position:relative;
  width:76px;
  height:76px;
  display:block;
  object-fit:contain;
  margin:0 auto 14px;
}

.rz-construction-badge{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:8px 12px;
  border:1px solid rgba(244,180,92,.40);
  border-radius:999px;
  background:rgba(244,180,92,.10);
  color:#ffdca8;
  font-family:'Manrope',Arial,sans-serif;
  font-size:11px;
  font-weight:700;
  letter-spacing:.45px;
}

.rz-construction-title{
  position:relative;
  margin:15px 0 10px;
  color:#fff;
  font-family:'Manrope',Arial,sans-serif;
  font-size:clamp(30px,5vw,40px);
  line-height:1.08;
  font-weight:650;
  letter-spacing:-.8px;
}

.rz-construction-text{
  position:relative;
  max-width:510px;
  margin:0 auto;
  color:var(--rz-muted);
  font-family:'Manrope',Arial,sans-serif;
  font-size:14px;
  line-height:1.65;
}

.rz-construction-video{
  position:relative;
  max-width:510px;
  margin:15px auto 0;
  padding:12px 14px;
  border:1px solid rgba(155,118,255,.30);
  border-radius:14px;
  background:linear-gradient(135deg,rgba(255,79,139,.08),rgba(155,118,255,.10));
  color:#f1ebff;
  font-family:'Manrope',Arial,sans-serif;
  font-size:13px;
  font-weight:600;
}

.rz-construction-actions{
  display:flex;
  justify-content:center;
  padding:2px 24px 26px;
}

.rz-construction-ok{
  width:min(350px,100%);
  min-height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:12px 18px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:999px;
  background:linear-gradient(135deg,#d93d78,#8b65e7);
  color:#fff;
  text-align:center;
  text-decoration:none;
  font-family:'Manrope',Arial,sans-serif;
  font-size:13px;
  font-weight:650;
  box-shadow:0 10px 26px rgba(139,92,246,.18);
}

.rz-construction-ok:hover{
  filter:brightness(1.08);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media(max-width:1160px){
  .rz-nav-desktop{
    gap:6px;
  }

  .rz-link,
  .rz-icon-btn{
    padding-inline:11px;
    font-size:11px;
  }

  .rz-brand-copy b{
    font-size:18px;
    letter-spacing:1.8px;
  }
}

@media(max-width:960px){
  .rz-header-inner{
    width:100%;
    min-height:64px;
    padding:0 3%;
    gap:10px;
  }

  .rz-nav-desktop{
    display:none;
  }

  .rz-mobile-tools{
    display:flex;
  }

  .rz-logo{
    width:44px;
    height:44px;
    flex-basis:44px;
  }

  .rz-brand-copy b{
    font-size:16px;
    letter-spacing:1.5px;
  }
}

@media(max-width:560px){
  .rz-header-inner{
    min-height:60px;
    padding:0 2.5%;
  }

  .rz-logo{
    width:40px;
    height:40px;
    flex-basis:40px;
  }

  .rz-brand{
    gap:7px;
  }

  .rz-brand-copy b{
    font-size:14px;
    letter-spacing:1.2px;
  }

  .rz-mobile-tools{
    gap:5px;
  }

  .rz-mobile-btn{
    min-height:38px;
    padding:0 9px;
    font-size:9.5px;
  }

  .rz-mobile-btn.menu .menu-label{
    display:none;
  }

  .rz-header-modal{
    padding:70px 9px 18px;
  }

  .rz-header-modal-card{
    border-radius:19px;
  }

  .rz-modal-head{
    padding:18px 16px 15px;
  }

  .rz-modal-head h2{
    font-size:21px;
  }

  .rz-modal-head p{
    font-size:12px;
  }

  .rz-menu-grid{
    grid-template-columns:1fr 1fr;
    gap:8px;
  }

  .rz-menu-item{
    min-height:58px;
    padding:11px;
    font-size:12px;
  }

  .rz-language-list{
    grid-template-columns:1fr;
  }
}

@media(max-width:390px){
  .rz-brand-copy{
    display:flex;
  }

  .rz-brand-copy b{
    font-size:13px;
    letter-spacing:1px;
  }

  .rz-logo{
    width:38px;
    height:38px;
    flex-basis:38px;
  }

  .rz-mobile-btn.quick-models .quick-text,
  .rz-mobile-btn.video-models .video-models-text{
    display:none;
  }

  .rz-mobile-btn.quick-models,
  .rz-mobile-btn.video-models{
    min-width:38px;
    padding:0 8px;
  }
}


/* ============================================================
   HOME HEADER SEARCH
   ============================================================ */
.rz-home-header-search{flex:1 1 360px;max-width:480px;display:flex;align-items:center;gap:10px;margin:0 18px 0 22px;}
.rz-home-header-search-input{width:100%;min-width:0;height:44px;padding:0 16px;border:1px solid rgba(255,255,255,.1);border-radius:999px;background:rgba(255,255,255,.04);color:#fff;font:600 14px/1 'Manrope',Arial,sans-serif;outline:none;}
.rz-home-header-search-input::placeholder{color:#a8a1b5;}
.rz-home-header-search-input:focus{border-color:rgba(255,79,139,.45);box-shadow:0 0 0 3px rgba(255,79,139,.14);}
.rz-home-header-search button{height:44px;padding:0 16px;border:1px solid rgba(255,255,255,.14);border-radius:999px;background:linear-gradient(135deg,#d93d78,#865fe3);color:#fff;font:700 13px/1 'Manrope',Arial,sans-serif;cursor:pointer;white-space:nowrap;}
@media(max-width:1080px){.rz-home-header-search{max-width:360px;margin-left:14px;margin-right:14px;}.rz-home-header-search button{padding:0 13px;}}
@media(max-width:780px){.rz-home-header-search{order:10;flex:1 0 100%;max-width:none;margin:0 0 12px;}.rz-header-inner{flex-wrap:wrap;padding-top:10px;padding-bottom:10px;}}
@media(max-width:640px){.rz-home-header-search{display:none;}}


/* Second navigation row under the main header */
.rz-subheader{position:sticky;top:70px;z-index:80;width:100%;border-top:1px solid rgba(255,255,255,.06);border-bottom:1px solid rgba(255,255,255,.09);background:#131018;box-shadow:0 10px 28px rgba(0,0,0,.22);}
.rz-subheader-inner{width:min(1400px,96%);min-height:48px;margin:0 auto;display:flex;align-items:center;justify-content:center;gap:6px;overflow-x:auto;scrollbar-width:none;}
.rz-subheader-inner::-webkit-scrollbar{display:none;}
.rz-subheader a{flex:0 0 auto;display:flex;align-items:center;min-height:48px;padding:0 18px;border-bottom:2px solid transparent;color:#ded8e5;text-decoration:none;font-size:12px;font-weight:800;letter-spacing:.25px;text-transform:uppercase;}
.rz-subheader a:hover{color:#fff;border-bottom-color:#ff4f8b;background:rgba(255,79,139,.06);}
@media(max-width:780px){.rz-subheader{top:84px;}.rz-subheader-inner{justify-content:flex-start;width:100%;padding:0 12px;}.rz-subheader a{padding:0 14px;font-size:11px;}}
@media(max-width:640px){.rz-subheader{top:60px;}}


/* ============================================================
   HOME: TOP BAR LIMPIA + SUBHEADER DE NAVEGACION
   ============================================================ */
.rz-nav-desktop.rz-nav-home-top > *{display:none!important;}
.rz-nav-desktop.rz-nav-home-top > .account,
.rz-nav-desktop.rz-nav-home-top > .register,
.rz-nav-desktop.rz-nav-home-top > .language{display:inline-flex!important;}
html.rz-user-logged .rz-nav-desktop.rz-nav-home-top > .rz-logout-form.visible{display:block!important;}
.rz-nav-desktop.rz-nav-home-top{flex:0 0 auto;margin-left:auto;gap:9px;}

.rz-subheader{
  position:sticky;
  top:70px;
  z-index:80;
  width:100%;
  border-top:1px solid rgba(255,255,255,.06);
  border-bottom:1px solid rgba(255,255,255,.09);
  background:#110f16;
  box-shadow:0 10px 28px rgba(0,0,0,.22);
}
.rz-subheader-inner{
  width:min(1440px,97%);
  min-height:54px;
  margin:0 auto;
  display:flex;
  align-items:stretch;
  justify-content:center;
  gap:0;
  overflow-x:auto;
  scrollbar-width:none;
}
.rz-subheader-inner::-webkit-scrollbar{display:none;}
.rz-subheader a{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:54px;
  padding:0 16px;
  border-bottom:2px solid transparent;
  color:#ddd7e4;
  text-decoration:none;
  font-size:12px;
  font-weight:800;
  letter-spacing:.2px;
  text-transform:uppercase;
  white-space:nowrap;
}
.rz-subheader a:hover{
  color:#fff;
  border-bottom-color:#ff4f8b;
  background:rgba(255,255,255,.035);
}

@media(max-width:1100px){
  .rz-home-header-search{max-width:410px;}
}
@media(max-width:980px){
  .rz-nav-desktop.rz-nav-home-top{display:none!important;}
  .rz-subheader-inner{justify-content:flex-start;}
}
@media(max-width:780px){
  .rz-subheader{top:84px;}
  .rz-subheader-inner{width:100%;padding:0 10px;}
  .rz-subheader a{padding:0 13px;font-size:11px;}
}
@media(max-width:640px){
  .rz-subheader{top:60px;}
}


/* ============================================================
   MOBILE HEADER V2 · DOS FILAS LIMPIAS
   1) Logo + idioma + menú
   2) Buscador
   ============================================================ */
@media(max-width:780px){
  .rz-header-inner{
    width:100%;
    min-height:0;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    grid-template-rows:58px 48px;
    align-items:center;
    gap:6px 10px;
    padding:4px 12px 8px;
  }

  .rz-brand{
    grid-column:1;
    grid-row:1;
    align-self:center;
    min-width:0;
  }

  .rz-logo{
    width:42px;
    height:42px;
    flex-basis:42px;
  }

  .rz-brand-copy b{
    font-size:15px;
    letter-spacing:1.45px;
  }

  .rz-mobile-tools{
    grid-column:2;
    grid-row:1;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:7px;
    min-width:0;
  }

  /* En celular dejamos lo esencial arriba; el resto vive en el menú/subheader. */
  .rz-mobile-tools > *{
    display:none!important;
  }

  .rz-mobile-tools > .language,
  .rz-mobile-tools > .rz-mobile-account-trigger,
  .rz-mobile-tools > .menu{
    display:inline-flex!important;
  }

  html.rz-user-logged .rz-mobile-tools > .language,
  html.rz-user-logged .rz-mobile-tools > .rz-mobile-account-trigger,
  html.rz-user-logged .rz-mobile-tools > .menu{
    display:inline-flex!important;
  }

  .rz-mobile-btn.language,
  .rz-mobile-btn.rz-mobile-account-trigger,
  .rz-mobile-btn.menu{
    min-width:42px;
    min-height:42px;
    padding:0 11px;
    border-radius:14px;
    font-size:15px;
  }

  .rz-mobile-btn.menu .menu-label{
    display:none;
  }

  .rz-home-header-search{
    grid-column:1 / -1;
    grid-row:2;
    width:100%;
    max-width:none;
    margin:0;
    display:flex!important;
    gap:7px;
    align-items:center;
  }

  .rz-home-header-search-input{
    height:42px;
    padding:0 14px;
    border-radius:14px;
    font-size:13px;
    background:#191620;
    border-color:#403949;
  }

  .rz-home-header-search button{
    height:42px;
    padding:0 14px;
    border-radius:14px;
    font-size:12px;
  }

  /* El subheader empieza debajo de las dos filas del header. */
  .rz-subheader{
    top:116px;
  }

  .rz-subheader-inner{
    width:100%;
    min-height:46px;
    padding:0 8px;
    justify-content:flex-start;
  }

  .rz-subheader a{
    min-height:46px;
    padding:0 12px;
    font-size:10.5px;
  }
}

@media(max-width:440px){
  .rz-header-inner{
    grid-template-rows:54px 46px;
    padding:3px 9px 7px;
    gap:5px 8px;
  }

  .rz-logo{
    width:39px;
    height:39px;
    flex-basis:39px;
  }

  .rz-brand{
    gap:6px;
  }

  .rz-brand-copy b{
    font-size:13px;
    letter-spacing:1.05px;
  }

  .rz-mobile-btn.language,
  .rz-mobile-btn.rz-mobile-account-trigger,
  .rz-mobile-btn.menu{
    min-width:40px;
    min-height:40px;
    padding:0 9px;
  }

  .rz-home-header-search-input,
  .rz-home-header-search button{
    height:40px;
  }

  .rz-home-header-search button{
    padding:0 11px;
  }

  .rz-subheader{
    top:108px;
  }

  .rz-subheader a{
    padding:0 11px;
    font-size:10px;
  }
}


/* ============================================================
   MOBILE ACCOUNT BUTTON + POPOVER
   ============================================================ */
.rz-mobile-account-trigger{
  align-items:center;
  justify-content:center;
  flex:0 0 40px;
  width:40px;
  padding:0;
  border:1.5px solid #fff!important;
}
.rz-account-person{
  width:auto;
  height:auto;
  display:grid;
  place-items:center;
  border:0;
  border-radius:0;
  background:transparent;
  font-size:15px;
  line-height:1;
}
.rz-account-popover{
  position:fixed;
  inset:0;
  z-index:60000;
  display:none;
  align-items:flex-start;
  justify-content:flex-end;
  padding:68px 10px 18px;
  box-sizing:border-box;
  background:rgba(0,0,0,.22);
}
.rz-account-popover.open{display:flex;}
.rz-account-popover-card{
  position:relative;
  flex:0 0 auto;
  width:220px;
  max-width:calc(100vw - 20px);
  box-sizing:border-box;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.14);
  border-radius:16px;
  background:#17141d;
  box-shadow:0 22px 60px rgba(0,0,0,.60);
}
.rz-account-popover-close{
  position:absolute;
  top:7px;
  right:7px;
  z-index:2;
  width:30px;
  height:30px;
  border:0;
  border-radius:50%;
  background:#24202b;
  color:#c8c1ce;
  font-size:20px;
  line-height:30px;
  cursor:pointer;
}
.rz-account-guest-links,
.rz-account-logged-links{
  width:100%;
  box-sizing:border-box;
  display:grid;
  grid-template-columns:1fr;
  padding:10px;
  padding-top:42px;
}
.rz-account-logged-links{display:none;}
html.rz-user-logged .rz-account-guest-links{display:none;}
html.rz-user-logged .rz-account-logged-links{display:grid;}
.rz-account-guest-links a,
.rz-account-logged-links a,
.rz-account-logged-links button{
  width:100%;
  min-width:0;
  min-height:48px;
  box-sizing:border-box;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
  padding:0 12px;
  border:0;
  border-bottom:1px solid rgba(255,255,255,.08);
  background:transparent;
  color:#fff;
  text-decoration:none;
  text-align:left;
  font:600 14px/1.2 'Manrope',Arial,sans-serif;
  white-space:nowrap;
  overflow:hidden;
  cursor:pointer;
}
.rz-account-guest-links a b,
.rz-account-logged-links a b,
.rz-account-logged-links button b{
  display:block;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
}
.rz-account-guest-links a:last-child,
.rz-account-logged-links form:last-child button{border-bottom:0;}
.rz-account-guest-links a:hover,
.rz-account-logged-links a:hover,
.rz-account-logged-links button:hover{background:rgba(255,255,255,.05);}
.rz-account-logged-links form{width:100%;margin:0;}
@media(min-width:781px){.rz-account-popover{display:none!important;}}
@media(max-width:440px){
  .rz-account-popover{padding:62px 8px 16px;}
  .rz-account-popover-card{width:210px;max-width:calc(100vw - 16px);}
  .rz-account-person{width:23px;height:23px;font-size:12px;}
}

/* ============================================================
   HEADER GLOBAL DEFINITIVO · MISMA ESTRUCTURA EN TODA LA WEB
   ============================================================ */

/* La navegación principal vive en el subheader. Evitamos duplicar
   Modelos / Modelos con videos / Videos XXX / Ranking en la fila superior. */
.rz-nav-desktop > .video-models,
.rz-nav-desktop > .xxx-videos,
.rz-nav-desktop > .favorites,
.rz-nav-desktop > a.rz-guest-outside:not(.account):not(.register){
  display:none!important;
}

/* El buscador debe estar disponible en todas las páginas. */
.rz-home-header-search{
  display:flex!important;
  min-width:220px;
}

/* En móvil: fila superior limpia (logo + idioma + cuenta + menú),
   segunda fila buscador, luego subheader global. */
@media(max-width:780px){
  .rz-mobile-tools .quick-models,
  .rz-mobile-tools .video-models,
  .rz-mobile-tools .xxx-videos,
  .rz-mobile-tools > .rz-new-since,
  .rz-mobile-tools > .rz-notifications{
    display:none!important;
  }

  .rz-header-inner{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-areas:
      "brand tools"
      "search search"!important;
    align-items:center!important;
    gap:8px 10px!important;
  }

  .rz-brand{grid-area:brand!important;min-width:0!important;}
  .rz-mobile-tools{grid-area:tools!important;}
  .rz-home-header-search{
    grid-area:search!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
  }
}


/* ============================================================
   FIX 2026-10-12 · MENU SIEMPRE VISIBLE AL INICIAR SESION
   ============================================================ */

/* En la portada de escritorio el modo "home-top" oculta casi todo.
   Cuando hay sesión activa, el botón MENÚ debe seguir visible. */
html.rz-user-logged .rz-nav-desktop.rz-nav-home-top > .session-menu,
html.rz-user-logged .rz-nav-desktop > .session-menu{
  display:inline-flex!important;
  visibility:visible!important;
  opacity:1!important;
  pointer-events:auto!important;
}

/* En móvil el menú es uno de los tres controles esenciales:
   idioma + cuenta + menú. Nunca debe desaparecer por el estado de sesión. */
@media(max-width:960px){
  html.rz-user-logged .rz-mobile-tools > .menu,
  .rz-mobile-tools > .menu{
    display:inline-flex!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
    flex:0 0 auto!important;
    order:99;
  }
}


/* ============================================================
   FIX AUTH + IDIOMA 2026-10-12
   El selector de idioma conserva la URL actual, pero la sesión no debe
   alterar u ocultar los controles de cuenta.
   ============================================================ */
html.rz-user-logged .rz-nav-desktop > .account{
  display:inline-flex!important;
  visibility:visible!important;
  opacity:1!important;
}
html.rz-user-logged .rz-nav-desktop > .rz-logout-form.visible{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
}
html.rz-user-logged .rz-nav-desktop > .register{display:none!important;}
html:not(.rz-user-logged) .rz-nav-desktop > .rz-logout-form{display:none!important;}
html:not(.rz-user-logged) .rz-account-guest-links{display:grid;}
html:not(.rz-user-logged) .rz-account-logged-links{display:none;}
html.rz-user-logged .rz-account-guest-links{display:none!important;}
html.rz-user-logged .rz-account-logged-links{display:grid!important;}

/* ============================================================
   SUBHEADER TOCROMO · V4 IMPACTO / NEON
   Override final: navegación protagonista, clara y con accesos completos.
   ============================================================ */
.rz-subheader{
  position:sticky;
  top:70px;
  z-index:80;
  width:100%;
  padding:9px 0 10px;
  border-top:1px solid rgba(255,255,255,.08);
  border-bottom:1px solid rgba(255,75,145,.24);
  background:
    radial-gradient(circle at 8% -60%,rgba(255,44,126,.30),transparent 34%),
    radial-gradient(circle at 52% 180%,rgba(127,75,255,.26),transparent 34%),
    radial-gradient(circle at 94% -30%,rgba(255,171,45,.14),transparent 30%),
    linear-gradient(180deg,rgba(18,13,24,.98),rgba(9,8,13,.98));
  box-shadow:0 14px 36px rgba(0,0,0,.42),inset 0 -1px 0 rgba(255,255,255,.035);
  backdrop-filter:blur(18px) saturate(145%);
}

.rz-subheader::before{
  content:"";
  position:absolute;
  left:0;right:0;top:0;
  height:2px;
  background:linear-gradient(90deg,transparent,#ff2d7f,#a968ff,#ffb443,transparent);
  opacity:.9;
  pointer-events:none;
}

.rz-subheader-inner{
  width:min(1460px,98%);
  min-height:52px;
  margin:0 auto;
  padding:0 8px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  overflow-x:auto;
  scrollbar-width:none;
}
.rz-subheader-inner::-webkit-scrollbar{display:none;}

.rz-subheader a{
  position:relative;
  flex:0 0 auto;
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 17px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.025));
  color:#f1edf5;
  text-decoration:none;
  font-family:'Manrope',Arial,sans-serif;
  font-size:11.5px;
  line-height:1;
  font-weight:900;
  letter-spacing:.32px;
  text-transform:uppercase;
  white-space:nowrap;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 7px 18px rgba(0,0,0,.18);
  transition:transform .16s ease,border-color .16s ease,background .16s ease,color .16s ease,box-shadow .16s ease;
}

.rz-subheader a::after{
  content:"";
  position:absolute;
  left:14px;right:14px;bottom:-1px;
  height:2px;
  border-radius:99px;
  background:linear-gradient(90deg,#ff3f87,#9d72ff);
  transform:scaleX(0);
  transform-origin:center;
  transition:transform .16s ease;
}

.rz-subheader a:hover,
.rz-subheader a:focus-visible{
  transform:translateY(-2px);
  color:#fff;
  border-color:rgba(255,92,154,.60);
  background:linear-gradient(135deg,rgba(255,56,132,.23),rgba(147,92,255,.20));
  box-shadow:0 10px 26px rgba(0,0,0,.32),0 0 22px rgba(255,60,139,.10),inset 0 1px 0 rgba(255,255,255,.12);
  outline:none;
}
.rz-subheader a:hover::after,
.rz-subheader a:focus-visible::after{transform:scaleX(1);}

/* XXX: acceso más fuerte */
.rz-subheader a[href*="videos_xxx"]{
  border-color:rgba(255,57,126,.50);
  background:linear-gradient(135deg,rgba(255,33,110,.34),rgba(128,55,205,.28));
  color:#fff0f6;
  box-shadow:0 8px 22px rgba(174,32,103,.20),inset 0 1px 0 rgba(255,255,255,.10);
}

/* Favoritos: rojo/rosa, siempre visible en el subheader. */
.rz-subheader a[href*="favoritos"]{
  border-color:rgba(255,83,130,.42);
  background:linear-gradient(135deg,rgba(190,35,83,.28),rgba(255,62,132,.18));
  color:#ffdce8;
}

/* Modelos: violeta premium. */
.rz-subheader a[href*="modelo"]{
  border-color:rgba(167,116,255,.40);
  background:linear-gradient(135deg,rgba(108,71,190,.26),rgba(181,93,255,.15));
  color:#eee5ff;
}

/* Ranking: dorado. */
.rz-subheader a[href*="ranking"]{
  border-color:rgba(255,185,76,.44);
  background:linear-gradient(135deg,rgba(190,124,28,.25),rgba(255,189,75,.12));
  color:#ffe3a4;
}

.rz-subheader a[href*="videos_xxx"]:hover,
.rz-subheader a[href*="favoritos"]:hover,
.rz-subheader a[href*="modelo"]:hover,
.rz-subheader a[href*="ranking"]:hover{
  color:#fff;
  border-color:rgba(255,255,255,.34);
  filter:brightness(1.14);
}

@media(max-width:980px){
  .rz-subheader-inner{justify-content:flex-start;}
}

@media(max-width:780px){
  .rz-subheader{top:116px;padding:7px 0 8px;}
  .rz-subheader-inner{
    width:100%;
    min-height:46px;
    padding:0 9px;
    gap:7px;
    justify-content:flex-start;
  }
  .rz-subheader a{
    min-height:40px;
    padding:0 13px;
    border-radius:12px;
    font-size:10px;
  }
}

@media(max-width:440px){
  .rz-subheader{top:108px;}
  .rz-subheader a{
    min-height:38px;
    padding:0 12px;
    font-size:9.5px;
  }
}


/* Anime/Hentai · acceso especial del subheader */
.rz-subheader a[href^="/anime"]{border-color:rgba(91,221,255,.46);background:linear-gradient(135deg,rgba(255,42,135,.30),rgba(137,74,255,.28) 55%,rgba(55,210,255,.20));color:#fff;box-shadow:0 8px 24px rgba(128,55,204,.20),0 0 20px rgba(69,204,255,.10),inset 0 1px 0 rgba(255,255,255,.11)}.rz-subheader a[href^="/anime"]::before{content:"NEW";margin-right:7px;padding:3px 5px;border-radius:999px;background:#fff;color:#7d3bd6;font-size:7px;font-weight:1000;letter-spacing:.4px}.rz-subheader a[href^="/anime"]:hover{border-color:rgba(255,255,255,.45);box-shadow:0 12px 28px rgba(112,53,205,.28),0 0 28px rgba(255,62,145,.18);filter:brightness(1.12)}
