:root{
    --bg:#030407;
    --surface:#090b10;
    --surface2:#0e1118;
    --text:#f4f6f9;
    --muted:#8a93a1;
    --line:rgba(255,255,255,.07);
    --cyan:var(--brand-primary,#00cfff);
    --magenta:var(--brand-accent,#d91cff);
    --max:1600px;
}

*{box-sizing:border-box}

html,
body{
    margin:0;
    min-height:100%;
    background:var(--bg);
    color:var(--text);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    -webkit-font-smoothing:antialiased;
}

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

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


/* HEADER */

.ott-header{
    position:fixed;
    top:0;
    left:0;
    right:0;
    z-index:100;
    height:72px;
    background:
        linear-gradient(
            180deg,
            rgba(3,4,7,.97),
            rgba(3,4,7,.75)
        );
    backdrop-filter:blur(16px);
    border-bottom:1px solid rgba(255,255,255,.035);
}

.ott-header-inner{
    width:min(calc(100% - 70px),var(--max));
    height:100%;
    margin:auto;
    display:flex;
    align-items:center;
}

.ott-logo{
    width:150px;
    height:50px;
    display:flex;
    align-items:center;
}

.ott-logo img{
    max-width:145px;
    max-height:46px;
    object-fit:contain;
}

.ott-logo strong{
    font-size:18px;
}

.ott-nav{
    margin-left:34px;
    display:flex;
    align-items:center;
    gap:27px;
}

.ott-nav a{
    position:relative;
    color:#9da5b1;
    font-size:13px;
    font-weight:650;
    transition:.15s ease;
}

.ott-nav a:hover,
.ott-nav a.active{
    color:white;
}

.ott-nav a.active:after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:-13px;
    width:16px;
    height:2px;
    margin:auto;
    border-radius:99px;
    background:white;
}

.ott-actions{
    margin-left:auto;
    display:flex;
    align-items:center;
    gap:10px;
}

.ott-search{
    width:38px;
    height:38px;
    display:grid;
    place-items:center;
    color:#d9dee7;
    border:1px solid rgba(255,255,255,.08);
    border-radius:50%;
    background:rgba(255,255,255,.025);
}

.ott-search svg{
    width:17px;
    height:17px;
    fill:currentColor;
}

.ott-menu{
    display:none;
    width:38px;
    height:38px;
    padding:9px;
    background:none;
    border:1px solid rgba(255,255,255,.08);
    border-radius:8px;
}

.ott-menu span{
    display:block;
    height:2px;
    margin:4px 0;
    background:white;
}

.ott-mobile-menu{
    display:none;
}


/* HERO */

.ott-hero{
    position:relative;
    min-height:78vh;
    overflow:hidden;
    background:#05070c;
}

.ott-hero.has-content{
    background-image:
        var(
            --hero-image,
            linear-gradient(
                145deg,
                #0b0f17,
                #030407
            )
        );
    background-size:cover;
    background-position:center;
}

.ott-hero-shade{
    position:absolute;
    inset:0;
    background:
        linear-gradient(
            90deg,
            rgba(2,3,6,.98) 0%,
            rgba(2,3,6,.86) 34%,
            rgba(2,3,6,.35) 70%,
            rgba(2,3,6,.12) 100%
        ),
        linear-gradient(
            0deg,
            #030407 0%,
            transparent 35%
        );
}

.ott-hero-content{
    position:relative;
    z-index:3;
    width:min(calc(100% - 90px),var(--max));
    min-height:78vh;
    margin:auto;
    padding-top:100px;
    display:flex;
    justify-content:center;
    flex-direction:column;
    align-items:flex-start;
}

.ott-feature-label{
    color:#a7b0bd;
    font-size:10px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.18em;
    margin-bottom:12px;
}

.ott-hero h1{
    max-width:760px;
    margin:0;
    font-size:clamp(46px,5.5vw,82px);
    line-height:.98;
    letter-spacing:-.05em;
}

.ott-hero p{
    max-width:610px;
    margin:20px 0 0;
    color:#c0c7d1;
    font-size:15px;
    line-height:1.7;
}

.ott-meta{
    display:flex;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
    margin:19px 0 0;
    color:#b3bbc6;
    font-size:11px;
}

.ott-meta span:not(:last-child):after{
    content:"";
    width:3px;
    height:3px;
    display:inline-block;
    vertical-align:middle;
    margin-left:12px;
    background:#5e6876;
    border-radius:50%;
}

.ott-age{
    padding:3px 6px;
    border:1px solid rgba(255,255,255,.22);
    border-radius:3px;
}

.ott-hero-buttons{
    display:flex;
    gap:10px;
    margin-top:26px;
}

.ott-btn{
    min-height:44px;
    padding:0 18px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:6px;
    font-size:13px;
    font-weight:800;
    transition:.15s ease;
}

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

.ott-btn.play{
    color:#050607;
    background:#fff;
}

.ott-btn.info{
    color:#fff;
    background:rgba(255,255,255,.12);
    backdrop-filter:blur(10px);
}


/* EMPTY CATALOG HERO */

.empty-catalog{
    display:grid;
    grid-template-columns:1fr 1fr;
    background:
        radial-gradient(
            circle at 70% 35%,
            rgba(0,207,255,.055),
            transparent 26%
        ),
        radial-gradient(
            circle at 85% 65%,
            rgba(217,28,255,.045),
            transparent 30%
        ),
        #030407;
}

.empty-catalog .ott-hero-content{
    width:auto;
    margin:0;
    padding-left:max(45px,calc((100vw - var(--max))/2));
    padding-right:30px;
}

.hero-logo{
    max-width:210px;
    max-height:125px;
    margin-bottom:30px;
    object-fit:contain;
}

.empty-catalog h1{
    font-size:clamp(44px,4.8vw,70px);
}

.ott-hero-art{
    position:relative;
    z-index:2;
    display:grid;
    place-items:center;
}

.screen-frame{
    position:relative;
    width:min(78%,540px);
    aspect-ratio:16/10;
    display:grid;
    place-items:center;
    overflow:hidden;
    background:
        linear-gradient(
            145deg,
            #0d1220,
            #06080d
        );
    border:1px solid rgba(255,255,255,.09);
    border-radius:24px;
    box-shadow:
        0 50px 120px rgba(0,0,0,.55);
}

.screen-frame:before{
    content:"";
    position:absolute;
    inset:0;
    background:
        linear-gradient(
            130deg,
            rgba(0,207,255,.06),
            transparent 35%,
            transparent 65%,
            rgba(217,28,255,.06)
        );
}

.screen-frame img{
    position:relative;
    z-index:2;
    max-width:68%;
    max-height:68%;
    object-fit:contain;
}

.screen-frame span{
    font-size:54px;
    color:white;
}

.screen-glow{
    position:absolute;
    width:230px;
    height:230px;
    background:#2a38ff;
    filter:blur(95px);
    opacity:.09;
}


/* CONTENT */

.ott-main{
    width:min(calc(100% - 90px),var(--max));
    margin:auto;
    padding:35px 0 80px;
}

.ott-row,
.ott-placeholder-row{
    margin-bottom:48px;
}

.ott-row-head{
    margin-bottom:15px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.ott-row-head h2{
    margin:0;
    font-size:20px;
    font-weight:750;
    letter-spacing:-.02em;
}

.ott-row-head a{
    color:#778191;
    font-size:11px;
    font-weight:700;
}

.ott-row-head a:hover{
    color:#fff;
}

.ott-cards,
.skeleton-cards{
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:14px;
}

.ott-card{
    min-width:0;
    transition:.18s ease;
}

.ott-card:hover{
    transform:translateY(-4px);
}

.ott-poster{
    position:relative;
    aspect-ratio:2/3;
    overflow:hidden;
    background:#0a0e15;
    border:1px solid rgba(255,255,255,.045);
    border-radius:8px;
}

.ott-poster img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .28s ease;
}

.ott-card:hover .ott-poster img{
    transform:scale(1.03);
}

.poster-placeholder{
    width:100%;
    height:100%;
    display:grid;
    place-items:center;
    color:#343d4a;
    background:
        linear-gradient(
            145deg,
            #0c111a,
            #06080c
        );
    font-size:42px;
    font-weight:800;
}

.card-play{
    position:absolute;
    inset:0;
    display:grid;
    place-items:center;
    opacity:0;
    color:#111;
    background:rgba(0,0,0,.28);
    font-size:11px;
    transition:.18s ease;
}

.card-play:before{
    content:"";
    position:absolute;
    width:42px;
    height:42px;
    background:#fff;
    border-radius:50%;
    z-index:-1;
}

.ott-card:hover .card-play{
    opacity:1;
}

.ott-card-title{
    margin-top:9px;
    overflow:hidden;
    color:#e8ebef;
    font-size:12px;
    font-weight:700;
    white-space:nowrap;
    text-overflow:ellipsis;
}

.ott-card-sub{
    margin-top:3px;
    color:#626d7c;
    font-size:9px;
}


/* SKELETON EMPTY CATALOG */

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

.skeleton-poster{
    aspect-ratio:2/3;
    background:
        linear-gradient(
            110deg,
            #090c12 8%,
            #10141b 18%,
            #090c12 33%
        );
    background-size:200% 100%;
    border:1px solid rgba(255,255,255,.035);
    border-radius:8px;
    animation:skeleton 2.2s linear infinite;
}

.skeleton-line{
    width:70%;
    height:9px;
    margin-top:10px;
    background:#10141a;
    border-radius:99px;
}

.skeleton-line.short{
    width:36%;
    height:7px;
    margin-top:6px;
    opacity:.7;
}

.muted-row{
    opacity:.52;
}

@keyframes skeleton{
    to{
        background-position-x:-200%;
    }
}


/* FOOTER */

.ott-footer{
    border-top:1px solid rgba(255,255,255,.045);
    background:#020305;
}

.ott-footer-inner{
    width:min(calc(100% - 90px),var(--max));
    min-height:130px;
    margin:auto;
    display:grid;
    grid-template-columns:1fr auto 1fr;
    align-items:center;
    gap:30px;
}

.ott-footer-brand img{
    max-width:105px;
    max-height:50px;
    object-fit:contain;
}

.ott-footer-links{
    display:flex;
    gap:20px;
    color:#616b79;
    font-size:10px;
}

.ott-footer-copy{
    justify-self:end;
    color:#4f5865;
    font-size:10px;
}


/* EXISTING PAGE COMPATIBILITY */

.browse-wrap,
.search-page{
    width:min(calc(100% - 90px),var(--max));
    min-height:75vh;
    margin:auto;
    padding:115px 0 80px;
}

.browse-head h1,
.search-page h1{
    margin:0 0 25px;
    font-size:34px;
    letter-spacing:-.035em;
}

.grid,
.card-row{
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:14px;
}

.poster{
    aspect-ratio:2/3;
    overflow:hidden;
    display:grid;
    place-items:center;
    color:#46505e;
    background:#0a0e15;
    border-radius:8px;
}

.poster img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.card-name{
    margin-top:8px;
    font-size:12px;
    font-weight:700;
}

.card-meta{
    margin-top:3px;
    color:#66717f;
    font-size:9px;
}

.search-large{
    max-width:680px;
    display:flex;
    margin-bottom:35px;
}

.search-large input{
    flex:1;
    min-width:0;
    height:44px;
    padding:0 13px;
    color:#fff;
    background:#0a0d13;
    border:1px solid #252b35;
    border-radius:7px 0 0 7px;
    outline:0;
}

.search-large button{
    padding:0 19px;
    color:#050607;
    background:#fff;
    border:0;
    border-radius:0 7px 7px 0;
    font-weight:750;
}

.empty-state{
    padding:45px;
    color:#697484;
    text-align:center;
    background:#080b10;
    border:1px solid #171c24;
    border-radius:12px;
}

.detail{
    min-height:100vh;
    position:relative;
}

.detail-bg{
    position:absolute;
    inset:0;
    height:80vh;
    background:#090c12;
    background-size:cover;
    background-position:center;
}

.detail-bg:after{
    content:"";
    position:absolute;
    inset:0;
    background:
        linear-gradient(
            90deg,
            rgba(3,4,7,.97),
            rgba(3,4,7,.42) 65%,
            rgba(3,4,7,.14)
        ),
        linear-gradient(
            0deg,
            #030407,
            transparent 52%
        );
}

.detail-content{
    position:relative;
    z-index:2;
    max-width:800px;
    padding:210px 6vw 80px;
}

.detail h1{
    margin:0 0 18px;
    font-size:clamp(43px,6vw,76px);
    line-height:.98;
    letter-spacing:-.05em;
}

.detail-synopsis{
    max-width:680px;
    color:#b9c1cc;
    font-size:14px;
    line-height:1.7;
}


/* RESPONSIVE */

@media(max-width:1200px){

    .ott-cards,
    .skeleton-cards,
    .grid,
    .card-row{
        grid-template-columns:repeat(5,minmax(0,1fr));
    }
}

@media(max-width:900px){

    .ott-header-inner,
    .ott-main,
    .ott-footer-inner,
    .browse-wrap,
    .search-page{
        width:calc(100% - 34px);
    }

    .ott-nav{
        display:none;
    }

    .ott-menu{
        display:block;
    }

    .ott-mobile-menu{
        position:fixed;
        z-index:99;
        top:72px;
        left:0;
        right:0;
        padding:12px 17px 17px;
        background:rgba(3,4,7,.98);
        border-bottom:1px solid var(--line);
    }

    .menu-open .ott-mobile-menu{
        display:grid;
        gap:3px;
    }

    .ott-mobile-menu a{
        padding:12px;
        color:#cbd1da;
        font-size:13px;
        font-weight:700;
        border-radius:7px;
    }

    .empty-catalog{
        grid-template-columns:1fr;
        min-height:auto;
    }

    .empty-catalog .ott-hero-content{
        width:calc(100% - 40px);
        min-height:auto;
        margin:auto;
        padding:140px 0 45px;
    }

    .ott-hero-art{
        padding:20px 0 70px;
    }

    .screen-frame{
        width:min(80%,500px);
    }

    .ott-cards,
    .skeleton-cards,
    .grid,
    .card-row{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }

    .ott-footer-inner{
        grid-template-columns:1fr;
        padding:28px 0;
    }

    .ott-footer-copy{
        justify-self:start;
    }
}

@media(max-width:560px){

    .ott-header{
        height:66px;
    }

    .ott-header-inner{
        width:calc(100% - 26px);
    }

    .ott-logo{
        width:125px;
    }

    .ott-logo img{
        max-width:120px;
        max-height:41px;
    }

    .ott-mobile-menu{
        top:66px;
    }

    .empty-catalog .ott-hero-content{
        width:calc(100% - 30px);
        padding-top:120px;
    }

    .empty-catalog h1{
        font-size:43px;
    }

    .ott-hero p{
        font-size:14px;
    }

    .screen-frame{
        width:86%;
        border-radius:17px;
    }

    .ott-main{
        width:calc(100% - 26px);
        padding-top:25px;
    }

    .ott-cards,
    .skeleton-cards,
    .grid,
    .card-row{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:12px;
    }

    .ott-row{
        margin-bottom:38px;
    }

    .ott-footer-inner{
        width:calc(100% - 28px);
    }

    .ott-footer-links{
        flex-wrap:wrap;
    }

    .browse-wrap,
    .search-page{
        width:calc(100% - 28px);
        padding-top:100px;
    }
}
