.app-brand-header { position: relative; display: inline-block; font-size: 22px; font-weight: 900; font-style: italic; letter-spacing: -0.8px; line-height: 1.1; white-space: nowrap; }
.app-brand-header-base { display: inline-block; position: relative; z-index: 1; }
.app-brand-header-venus { color: #E50914; text-shadow: 0 2px 4px rgba(0,0,0,0.95); }
.app-brand-header-cine { color: #ffffff; margin-left: 4px; text-shadow: 0 2px 4px rgba(0,0,0,0.95); }
.app-brand-header-sweep { position: absolute; top: 0; left: 0; z-index: 2; pointer-events: none; font-size: inherit; font-weight: inherit; font-style: inherit; letter-spacing: inherit; line-height: inherit; white-space: inherit; background: linear-gradient(100deg, transparent 0%, transparent 35%, rgba(255,255,255,0.05) 42%, rgba(255,255,255,1) 50%, rgba(255,255,255,0.05) 58%, transparent 65%, transparent 100%); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; animation: brandTextSweep 3s infinite linear; }
.app-brand-header-sweep .sweep-venus { color: transparent; }
.app-brand-header-sweep .sweep-cine { color: transparent; margin-left: 4px; }
@keyframes brandTextSweep { 0% { background-position: 250% 0; } 100% { background-position: -150% 0; } }

/* ============================================================
   HEADER — efeito Netflix (transparente no topo, escurece ao rolar)
   ============================================================ */
#main-header {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    background: rgba(10,10,10,0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    border-bottom: 1px solid rgba(255,255,255,0);
    transition: background 0.35s ease, backdrop-filter 0.35s ease, border-color 0.35s ease;
    pointer-events: none;
}
#main-header > * { pointer-events: auto; }

#main-header.scrolled {
    background: rgba(10,10,10,0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom-color: rgba(255,255,255,0.08);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

body:not(.app-ready) #main-header {
    display: none !important;
}

.header-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    transition: transform 0.15s, background 0.2s, border-color 0.2s;
}
.header-btn:active { transform: scale(0.9); background: rgba(255,255,255,0.14); }

/* Quando tiver rolado, remove a "cápsula" e deixa o ícone puro */
#main-header.scrolled .header-btn {
    background: transparent;
    border-color: transparent;
}

.header-profile-btn { overflow: hidden; padding: 2px; }
.header-profile-btn img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 1.5px solid rgba(229,9,20,0.6);
    box-sizing: border-box;
}

/* ============================================================
   BOTTOM NAV
   ============================================================ */
#bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    background: rgba(10,10,10,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 8px 12px 16px 12px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.nav-btn { display: flex; flex-direction: column; align-items: center; gap: 3px; background: none; border: none; color: #6b6b6b; cursor: pointer; padding: 4px 6px; transition: color 0.2s; font-family: inherit; flex: 1; min-width: 0; }
.nav-btn i { font-size: 17px; }
.nav-btn span { font-size: 9px; font-weight: 600; letter-spacing: 0.2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.nav-btn.active { color: #E50914; }
.nav-btn.active span { font-weight: 800; }
.nav-btn:active { opacity: 0.7; }

body:not(.app-ready) #bottom-nav {
    display: none !important;
}