
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #040810;
    color: #ffffff;
    font-family: Arial, sans-serif;
}

/* MENU LATERAL */

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 220px;
    padding: 15px 18px;
    background: #070e19;
    border-right: 1px solid #242b36;
}

.logo {
    height: 110px;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
}

.logo img {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

nav {
    display: flex;
    flex-direction: column;
}

button {
    cursor: pointer;
    font-family: inherit;
}

.menu {
    border: 2px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: #aab4c8;
    padding: 15px;
    margin-bottom: 8px;
    text-align: left;
    font-size: 17px;
    transition: background .2s;
}

.menu.active {
    color: #e9b84a;
    background: #292316;
    border-left-color: #e9b84a;
}

.sidebar small {
    position: absolute;
    bottom: 25px;
    left: 30px;
    color: #657085;
}

/* AREA PRINCIPAL */

.content {
    margin-left: 220px;
    padding: 25px 35px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#clock {
    color: #e9b84a;
    font-size: 20px;
}

/* BANNER PRINCIPAL */

.hero {
    min-height: 340px;
    padding: 55px 40px;
    border-radius: 16px;
    border: 1px solid #393020;
    background: linear-gradient(
        110deg,
        #080e18,
        #142333,
        #302719
    );
}

.hero h1 {
    font-size: 46px;
    margin: 20px 0 10px;
}

.hero p {
    color: #b9c9da;
    font-size: 19px;
}

.tag {
    color: #e9b84a;
    font-size: 12px;
    letter-spacing: 3px;
}

.primary {
    padding: 14px 32px;
    border: 2px solid transparent;
    border-radius: 8px;
    background: linear-gradient(
        135deg,
        #fff0b0,
        #e9b84a,
        #bd862c
    );
    color: #040810;
    font-size: 17px;
    font-weight: bold;
}

/* CARROSSEIS */

.category {
    margin-top: 30px;
}

.category h2 {
    font-size: 22px;
}

.carousel {
    display: flex;
    overflow-x: auto;
    padding: 12px 8px;
    scroll-behavior: auto;
    scrollbar-width: none;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.poster {
    flex: 0 0 180px;
    height: 245px;
    margin-right: 16px;
    padding: 15px;
    border: 2px solid #263040;
    border-radius: 12px;
    background: linear-gradient(
        145deg,
        #1b293b,
        #080e18
    );
    color: white;
    font-size: 17px;
    text-align: center;
    transition: border-color .2s, transform .2s;
}

#continue-list .poster {
    height: 120px;
    flex-basis: 220px;
}

/* NAVEGACAO E SELECAO */

button:focus {
    outline: 3px solid #e9b84a;
    outline-offset: 2px;
}

button:hover {
    border-color: #e9b84a;
}

.poster:focus {
    border-color: #e9b84a;
    background: #202b38;
    outline: 3px solid #e9b84a;
    outline-offset: 2px;
    transform: scale(1.03);
}

#other-page {
    padding: 35px;
    background: #0b1624;
    border-radius: 12px;
}

/* V0.4.1 - menu retratil */
.sidebar { width:85px; padding:15px 10px; overflow:hidden; z-index:100; transition:width .2s ease; }
.sidebar.expanded, .sidebar:hover { width:240px; box-shadow:15px 0 45px rgba(0,0,0,.6); }
.logo {height:100px; margin-bottom:20px;}
.menu {display:flex; align-items:center; width:100%; height:52px; padding:10px 14px; white-space:nowrap; overflow:hidden;}
.menu-icon {display:inline-block; width:32px; min-width:32px; text-align:center; font-size:25px;}
.menu-label {margin-left:18px; opacity:0;}
.sidebar.expanded .menu-label,.sidebar:hover .menu-label {opacity:1;}
.sidebar small {display:none; white-space:nowrap;}
.sidebar.expanded small,.sidebar:hover small {display:block;}
.content {margin-left:85px;}
.hero {min-height:380px;}
.menu:focus {outline-offset:-3px; color:#e9b84a; background:#292316;}
[hidden] {display:none !important;}
.menu-icon svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}.hero{background-size:cover;background-position:center;min-height:340px}.hero p{max-width:550px}.secondary{background:#182331;color:white;border:1px solid #657085;border-radius:8px;padding:14px 20px;font-size:16px;margin:5px}.poster{padding:0;overflow:hidden;background-size:cover;background-position:center}.poster:focus{background-color:#202b38;background-size:cover}.poster span{display:block;background:rgba(4,8,16,.85);padding:8px;margin-top:160px}#continue-list .poster span{margin-top:65px}#splash{position:fixed;inset:0;z-index:1000;background:#040810;display:flex;align-items:center;justify-content:center;flex-direction:column}#splash img{width:300px;max-width:70vw}#splash p{color:#e9b84a}#details{position:fixed;inset:0;background:rgba(4,8,16,.97);z-index:200;overflow:auto;padding:8vh 8vw}.detail-box{display:flex;align-items:center;gap:40px}.detail-box img{width:250px;max-width:35vw;border-radius:12px}.detail-box h1{font-size:42px}.detail-box p{line-height:1.6;color:#b9c9da}#search{padding:15px;background:#101827;color:white;border:1px solid #e9b84a;font-size:18px;margin:15px 0;width:100%;max-width:500px}#notice{color:#e9b84a}
#login{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px;background:radial-gradient(ellipse at center,#192538,#040810 72%);}
#login-form{width:420px;max-width:100%;padding:30px 36px;background:#0b1624;border:1px solid #55452c;border-radius:18px;box-shadow:0 20px 70px #0008;}
#login-form>img{display:block;width:150px;margin:0 auto;}
#login-form h1{text-align:center;margin:8px 0;}
#login-form>p{text-align:center;color:#b9c9da;}
#login-form>label{display:block;margin:16px 0 7px;}
#login-form>input{width:100%;padding:13px;background:#040810;border:1px solid #536078;border-radius:8px;color:white;font-size:18px;}
#login-form input:focus{outline:2px solid #e9b84a;}
#login-form .primary{width:100%;margin-top:14px;}
#login-form .login-note{font-size:13px;line-height:1.5;}
#logout{margin-left:12px;}
[hidden]{display:none!important;}
.category-list{display:flex;flex-wrap:wrap;margin:8px 0 16px}.filter[aria-pressed=true]{background:#e9b84a;color:#040810;border-color:#e9b84a}.poster{position:relative}.poster img{width:100%;height:100%;object-fit:cover;display:block}.poster span,#continue-list .poster span{position:absolute;bottom:0;left:0;right:0;margin:0;font-size:14px;background:#040810dd;padding:8px}.poster:focus{background-color:#202b38}#load-more{margin-top:15px}

#player{position:fixed;inset:0;z-index:10000;background:#000;color:white;display:flex;flex-direction:column;justify-content:center}#video{width:100%;height:100%;min-height:0;object-fit:contain;position:absolute;inset:0}.player-panel{position:absolute;bottom:0;left:0;right:0;padding:20px 4%;background:linear-gradient(transparent,rgba(0,0,0,.95) 30%)}.player-buttons{display:flex;flex-wrap:wrap;gap:10px}#seek{width:100%;accent-color:#e9b84a}#player-diag{font-size:12px;color:#b9c9da}#player-status{color:#e9b84a}

body.lite *,body.lite *::before,body.lite *::after{animation:none!important;transition:none!important;box-shadow:none!important;scroll-behavior:auto!important} body.lite .poster:focus{transform:none} #preferences{padding:12px 0} #preferences button{margin:5px} #device-info{line-height:1.6}

#profile-screen{position:fixed;inset:0;z-index:100;background:#040810;overflow:auto;padding:5vh 5vw;text-align:center}#profile-screen[hidden],#profile-form[hidden]{display:none}.profile-panel{max-width:850px;margin:8vh auto}.profile-panel h1{font-size:2rem}#profile-list{display:flex;flex-wrap:wrap;justify-content:center;gap:20px;margin:30px 0}.profile-card{display:flex;flex-direction:column;gap:8px;width:140px}.profile-choice{display:flex;flex-direction:column;align-items:center;gap:10px;overflow-wrap:anywhere}.profile-avatar{display:grid;place-items:center;width:80px;height:80px;border-radius:18px;color:white;font-size:36px}#profile-form{margin:24px auto;max-width:340px;display:grid;gap:12px;text-align:left}#profile-form input,#profile-form select{padding:12px;background:#0b1624;color:white;border:1px solid #66758a;border-radius:6px}#profile-screen :focus-visible{outline:3px solid #e9b84a;outline-offset:3px}
