/* CineNova v1.6 · Inicio Premium, sin dependencias adicionales.
   El carrusel usa solo las fichas publicadas por el Worker existente. */
:root{--home-rose:#ed1e37;--home-charcoal:#0a0b10}
body{background:radial-gradient(ellipse 65% 800px at 65% 280px,#2b101833,transparent 76%),#09090b}
.site-header{background:#090a0de8;border-bottom-color:#ffffff11;box-shadow:0 12px 50px #0005}
.home-hero-visual{position:absolute;z-index:-1;width:clamp(240px,28vw,385px);height:clamp(345px,40vw,536px);right:clamp(45px,10.5vw,194px);top:49%;transform:translateY(-50%) rotate(2deg);border-radius:17px;background:#1e1419;box-shadow:0 23px 90px #000b,0 0 2px 1px #ffffff3a,0 0 90px #b417333d;overflow:visible;pointer-events:none;transition:transform .4s ease,opacity .25s ease}
.home-hero-visual:before{content:'';position:absolute;inset:-10px;border-radius:24px;border:1px solid #ffffff16;z-index:0}
.home-hero-visual img{display:block;width:100%;height:100%;object-fit:cover;border-radius:16px;box-shadow:inset 0 0 0 1px #ffffff11}
.home-hero-poster-glow{position:absolute;inset:13%;z-index:-1;background:#a31b37;filter:blur(100px);opacity:.5}
.home-poster-watermark{position:absolute;left:0;right:0;bottom:0;padding:32px 13px 12px;border-radius:0 0 16px 16px;background:linear-gradient(transparent,#060608ce);color:white;font-size:9px;font-weight:900;letter-spacing:1.8px;text-align:center;text-shadow:0 1px 8px #000}
.home-poster-watermark span:not(.home-poster-spark){color:#ff4a61}.home-poster-spark{color:#ee2342;margin-right:5px}
.hero{min-height:clamp(610px,50vw,760px);background:#0b0b0e}
.hero-art{background-position:center 45%;filter:saturate(.65) blur(22px) brightness(.38);transform:scale(1.15);transition:opacity .25s ease}
.hero-overlay{background:linear-gradient(90deg,#09090b 0%,#09090bf7 21%,#09090bd9 47%,#09090b30 100%),linear-gradient(0deg,#09090b 1%,transparent 44%,#09090b88 100%),radial-gradient(circle at 80% 55%,#ed1e371b,transparent 49%)}
.hero-content{z-index:2;max-width:min(850px,66%);margin-right:auto;padding-top:85px;padding-bottom:100px}
.hero-kicker{color:#ff93a4;margin-bottom:32px;letter-spacing:2px;font-size:10px}
.hero-tag{color:#ff526c;font-size:11px}
.hero h1{font-size:clamp(58px,7.2vw,122px);line-height:.92;letter-spacing:-1.2px;max-width:740px;text-wrap:balance;overflow-wrap:anywhere;margin:15px 0 21px}
.hero-metadata{color:#e7dee2;font-size:12px;letter-spacing:.3px;margin-bottom:16px}
.hero-content>p{color:#d0cad0;max-width:535px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;line-height:1.65;font-size:14px}
.hero-actions{margin-top:26px;gap:11px}.hero-actions .btn{border-radius:9px;min-height:47px;padding:12px 21px}
.hero-actions .btn-primary{background:linear-gradient(120deg,#d21832,#f12c42);box-shadow:0 10px 29px #e21b3665}
.hero-actions .btn-glass{background:#26262bd9;border:1px solid #ffffff30}
.home-hero-actions-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:15px;margin-top:45px}
.hero-bottomline{margin:0;letter-spacing:1.05px}.hero-bottomline small{font-size:11px}
.home-hero-nav{display:flex;align-items:center;gap:11px;background:#0a0a0d88;border:1px solid #ffffff24;border-radius:50px;padding:7px 9px;backdrop-filter:blur(16px)}
.home-hero-arrow{height:34px;width:34px;display:grid;place-items:center;color:white;background:#ffffff11;border:1px solid #ffffff18;border-radius:50%;font-size:24px;line-height:1;transition:background .18s,transform .18s}.home-hero-arrow:hover{background:#cf1c35;transform:scale(1.07)}
.home-hero-dots{display:flex;gap:7px;align-items:center}.home-hero-dot{width:9px;height:9px;border-radius:20px;border:0;background:#ffffff4d;padding:0;transition:width .25s,background .25s}.home-hero-dot.active{width:27px;background:#f42b4c;box-shadow:0 0 13px #f42b4c63}
.hero.home-switching .home-hero-visual{opacity:.55;transform:translateY(-49%) rotate(1deg) scale(.98)}
.hero.home-switching .hero-content{opacity:.78}
.hero-content{transition:opacity .24s ease}
.hero-corner{color:#d7bdc487}
/* Premium rows and a better content rhythm */
.content{position:relative;z-index:1;margin-top:-38px}
.view-head{padding-top:22px}.view-head .micro-label{color:#f15e74}
#homeRows{display:grid;gap:23px;padding-top:8px}
.home-premium-row{margin:0}
.home-premium-row .movie-scroller{scroll-snap-type:x mandatory;padding-bottom:18px;gap:16px}
.home-premium-row .movie-card{scroll-snap-align:start;transition:transform .25s ease}
.home-premium-row .movie-card:hover{transform:translateY(-4px)}
.home-premium-row .poster-button{border-radius:12px;box-shadow:0 11px 30px #0006;overflow:hidden;border:1px solid #ffffff1d}
.home-premium-row .poster-button:hover{border-color:#f32a4b80;box-shadow:0 14px 42px #db17322b}
.home-premium-row .poster-category{border-color:#f93f5740;background:#121215b8}
.home-premium-row .section-heading{margin-bottom:19px}
.home-premium-row .section-heading h3{font-size:clamp(20px,2vw,27px);font-weight:800}
.home-premium-row .movie-card-under h4{font-size:14px}
.home-premium-row .movie-card-under p{font-size:11px}
.continue-row{background:linear-gradient(100deg,#40111b33,transparent 45%);padding:22px 0 5px;border-radius:15px}
.home-catalog-empty{text-align:center;border:1px solid #ffffff20;background:#1a171c;padding:42px 22px;border-radius:16px}
.home-catalog-empty h3{font-size:25px;margin:0 0 8px}.home-catalog-empty p{color:#b4aeb8;line-height:1.5}
.live-status{font-size:11px;letter-spacing:.5px;opacity:.78;padding:10px 13px;margin:8px 0 28px}
.features-strip{margin-top:55px;border-radius:17px;background:linear-gradient(110deg,#220c13,#141317 75%)}
@media(min-width:1450px){.hero-content{max-width:60%}.home-hero-visual{right:12vw}}
@media(max-width:1000px){.hero-content{max-width:68%}.home-hero-visual{right:45px;opacity:.9;width:28vw;height:41vw}.hero h1{font-size:clamp(54px,7vw,85px)}}
@media(max-width:720px){
 .hero{min-height:690px;align-items:flex-end;isolation:isolate}
 .hero-art{filter:blur(18px) brightness(.42) saturate(.65);background-position:center 33%}
 .hero-overlay{background:linear-gradient(0deg,#09090b 0%,#09090bf9 24%,#09090bd3 47%,#09090b3b 84%,#09090b6b 100%)}
 .home-hero-visual{width:clamp(190px,42vw,260px);height:clamp(275px,60vw,350px);left:50%;right:auto;top:8%;transform:translateX(-50%) rotate(2deg);border-radius:14px;opacity:1}
 .home-hero-visual img{border-radius:14px}.home-hero-visual:before{border-radius:18px}
 .hero.home-switching .home-hero-visual{transform:translateX(-50%) rotate(0deg) scale(.98)}
 .home-poster-watermark{font-size:7px;letter-spacing:1.2px}
 .hero-content{width:100%;max-width:none;padding:380px var(--gutter) 67px;z-index:2}
 .hero-kicker{margin-bottom:10px;letter-spacing:1.35px;font-size:9px}
 .hero-tag{font-size:9px;letter-spacing:1.5px}
 .hero h1{font-size:clamp(41px,9vw,65px);margin:12px 0 15px;line-height:.97;letter-spacing:-.4px;max-width:96%}
 .hero-content>p{max-width:97%;font-size:12px;-webkit-line-clamp:2;line-height:1.5}
 .hero-metadata{font-size:10px;margin-bottom:10px;gap:8px}
 .hero-actions{margin-top:18px}.hero-actions .btn{min-height:45px;font-size:11px;padding:11px 17px}
 .home-hero-actions-row{margin-top:21px;gap:16px}.hero-bottomline{font-size:9px;letter-spacing:.5px}
 .home-hero-nav{margin-left:auto;padding:5px;gap:8px}.home-hero-arrow{width:30px;height:30px;font-size:22px}.home-hero-dots{gap:5px}.home-hero-dot{width:7px;height:7px}.home-hero-dot.active{width:19px}
 .hero-corner{display:none}.content{margin-top:-9px}.view-head{padding-top:10px}
 #homeRows{gap:10px}.home-premium-row .movie-scroller{grid-auto-columns:min(42vw,205px);gap:12px}
 .home-premium-row .section-heading h3{font-size:19px}
 .features-strip{margin-top:25px}
}
@media(max-width:390px){
 .hero{min-height:650px}.home-hero-visual{top:6%;width:184px;height:265px}
 .hero-content{padding-top:322px;padding-bottom:62px}
 .hero h1{font-size:clamp(39px,10vw,45px)}
 .hero-actions{gap:7px}.hero-actions .btn{padding:10px 11px;font-size:10px}
 .home-hero-actions-row{margin-top:18px}.hero-bottomline{font-size:8px}
 .home-hero-nav{gap:6px}.home-hero-arrow{width:29px;height:29px}
 .home-premium-row .movie-scroller{grid-auto-columns:44vw}
}
@media(prefers-reduced-motion:reduce){.home-hero-visual,.home-hero-dot,.hero-content,.home-premium-row .movie-card{transition:none!important}}
/* Responsive containment: scrolling rows must never expand the page width. */
#homeRows{display:block;min-width:0;width:100%;max-width:100%}
#homeRows>.movie-row{min-width:0;width:100%;max-width:100%;margin-bottom:28px}
#homeRows .movie-scroller{min-width:0;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
#homeRows .section-heading{min-width:0}
#homeRows .section-heading>div:first-child{min-width:0}
#homeRows .section-heading h3{overflow-wrap:anywhere}
@media(max-width:700px){
 .studio-float{right:12px;bottom:79px;padding:9px 12px;font-size:11px;border-color:#ffffff25;background:#be1830eb;box-shadow:0 4px 17px #000b}
}
@media(max-width:370px){
 .header-inner{gap:6px}.header-actions{gap:6px}.searchbox{width:30vw;min-width:0;padding:8px 7px}.avatar{width:29px;height:29px}.brand-word{font-size:19px}.brand-mark{width:25px;height:25px}
}

/* Un acceso limpio a Studio dentro del menú móvil evita tapar el carrusel. */
@media(max-width:720px){.studio-float{display:none!important}.mobile-nav button{min-width:0!important;flex:1}.mobile-nav #studioNavMobile{color:#ef6278}.mobile-nav #studioNavMobile span{font-size:22px}}
