/* ============================================================
   MEU.CSS - Estilos Consolidados
   Header, Index, Item, Comentários
   Paleta: AZUL
   ============================================================ */

/* ============================================================
   VARIÁVEIS GLOBAIS
   ============================================================ */
:root {
    /* ====== PALETA DO NAVBAR (AZUL) ====== */
    --nav-wine-1: #0B3D91;
    --nav-wine-2: #1256B8;
    --nav-wine-3: #1565C0;
    --nav-border: #2196F3;
    --nav-divider: #0B3D91;

    --red-primary: #1565C0;
    --accent-gold: #FFD166;
    --accent-gold-soft: #F3D98A;

    --nav-text: #ffffff;
    --nav-text-hover: #FFD166;
    --nav-text-muted: #C9DCF3;

    /* ====== DROPDOWN ====== */
    --dd-bg-1: #0B3D91;
    --dd-bg-2: #0A2E6E;
    --dd-border: #1565C0;
    --dd-item-text: #EAF2FB;
    --dd-item-hover-text: #FFD166;
    --dd-item-hover-bg: rgba(255, 209, 102, 0.12);
    --dd-title: #FFD166;

    /* ====== BUSCA ====== */
    --search-bg: rgba(255, 255, 255, 0.95);
    --search-border: rgba(21, 101, 192, 0.25);
    --search-placeholder: #6B7A8F;

    /* ====== TEMA CINEMATOGRÁFICO (ITEM) ====== */
    --hero-dark: #050505;
    --hero-darker: #0a0a0a;

    --cine-red: #1565C0;
    --cine-red-glow: rgba(21, 101, 192, 0.35);
    --cine-green: #198754;
    --cine-green-glow: rgba(25, 135, 84, 0.35);
    --cine-gold: #d4af37;

    --bg-page: #ffffff;
    --bg-soft: #f8f9fb;
    --bg-card: #ffffff;
    --border-light: #e8eaee;
    --border-soft: #f0f2f5;
    --text-main: #1a1a1a;
    --text-muted: #6b7280;
    --text-secondary: #4b5563;

    --hero-text: #f8f9fa;
    --hero-text-secondary: #adb5bd;
    --hero-glass: rgba(20, 20, 25, 0.65);
    --hero-glass-border: rgba(255, 255, 255, 0.10);

    /* ====== INDEX / CARDS ====== */
    --accent-color: #1565C0;
    --card-shadow: rgba(0, 0, 0, 0.08);
    --card-shadow-hover: rgba(0, 0, 0, 0.18);
}

/* ============================================================
   BASE / BODY
   ============================================================ */
body {
    background-color: var(--bg-page);
    color: var(--text-main);
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ============================================================
   HEADER CONTAINER
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background:
        radial-gradient(circle at 12% 50%, rgba(255, 209, 102, 0.10) 0%, transparent 45%),
        radial-gradient(circle at 88% 50%, rgba(21, 101, 192, 0.30) 0%, transparent 50%),
        linear-gradient(180deg, var(--nav-wine-3) 0%, var(--nav-wine-2) 55%, var(--nav-wine-1) 100%);
    border-bottom: 1px solid var(--nav-border);
    box-shadow:
        0 4px 18px rgba(0, 0, 0, 0.45),
        0 1px 0 rgba(255, 209, 102, 0.15) inset;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.site-header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 209, 102, 0.55), transparent);
    pointer-events: none;
}

/* ============================================================
   LOGO / BRAND
   ============================================================ */
.site-brand {
    font-weight: 800;
    font-size: 1.45rem;
    letter-spacing: -0.5px;
    color: var(--nav-text) !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s ease;
}

.site-brand i {
    color: var(--accent-gold);
    text-shadow: 0 0 12px rgba(255, 209, 102, 0.55);
}

.site-brand:hover {
    transform: scale(1.03);
    color: #ffffff !important;
}

/* ============================================================
   NAV LINKS
   ============================================================ */
.custom-navbar .nav-link {
    color: var(--nav-text) !important;
    font-weight: 500;
    font-size: 0.93rem;
    padding: 8px 14px !important;
    border-radius: 8px;
    position: relative;
    transition: all 0.2s ease;
}

.custom-navbar .nav-link:hover,
.custom-navbar .nav-link.active {
    color: var(--nav-text-hover) !important;
    background-color: rgba(255, 209, 102, 0.12);
}

.custom-navbar .nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 2px;
    height: 2px;
    background: var(--accent-gold);
    border-radius: 2px;
    transition: all 0.25s ease;
    opacity: 0;
}

.custom-navbar .nav-link:hover::after {
    left: 15%;
    right: 15%;
    opacity: 1;
}

.custom-navbar .nav-link.active {
    font-weight: 700;
}

.custom-navbar .nav-link.active::after {
    left: 15%;
    right: 15%;
    opacity: 1;
}

/* ============================================================
   BOTÃO ENTRAR / USUÁRIO
   ============================================================ */
.nav-link-user {
    color: var(--accent-gold) !important;
    background: linear-gradient(135deg, rgba(255, 209, 102, 0.18), rgba(255, 209, 102, 0.06));
    border: 1px solid rgba(255, 209, 102, 0.5);
    font-weight: 700 !important;
    border-radius: 20px !important;
    padding: 7px 16px !important;
    transition: all 0.25s ease;
}

.nav-link-user::after { display: none; }

.nav-link-user:hover {
    background: linear-gradient(135deg, var(--accent-gold), #ffe19a) !important;
    color: #0B3D91 !important;
    box-shadow: 0 0 18px rgba(255, 209, 102, 0.5);
    transform: translateY(-1px);
}

/* ============================================================
   DROPDOWN (todos)
   ============================================================ */
.custom-dropdown-menu {
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 209, 102, 0.10) 0%, transparent 45%),
        linear-gradient(160deg, var(--dd-bg-1) 0%, var(--dd-bg-2) 100%) !important;
    border: 1px solid var(--dd-border) !important;
    border-radius: 14px !important;
    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 0 24px rgba(21, 101, 192, 0.20) !important;
    padding: 18px !important;
    margin-top: 0 !important;
    overflow: hidden;
    animation: fadeIn 0.22s ease-out;
    position: relative;
}

.custom-dropdown-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 209, 102, 0.65), transparent);
    pointer-events: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-header-title {
    color: var(--dd-title) !important;
    font-size: 0.76rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    padding: 0 0 10px 0 !important;
    margin-bottom: 12px !important;
    position: relative;
}

.dropdown-header-title::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 4px;
    height: 1px;
    background: linear-gradient(90deg, var(--nav-divider), transparent);
}

.dropdown-header-title i {
    color: var(--red-primary);
}

.custom-dropdown-menu .dropdown-item {
    color: var(--dd-item-text) !important;
    font-size: 0.88rem !important;
    font-weight: 500 !important;
    padding: 8px 12px 8px 14px !important;
    border-radius: 8px !important;
    background-color: transparent !important;
    transition: all 0.18s ease-in-out !important;
    text-decoration: none !important;
    position: relative;
}

.custom-dropdown-menu .dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 3px;
    height: 60%;
    background: var(--accent-gold);
    border-radius: 2px;
    transition: transform 0.2s ease;
}

.custom-dropdown-menu .dropdown-item:hover,
.custom-dropdown-menu .dropdown-item:focus {
    background-color: var(--dd-item-hover-bg) !important;
    color: var(--dd-item-hover-text) !important;
    transform: translateX(3px);
    padding-left: 18px !important;
}

.custom-dropdown-menu .dropdown-item:hover::before,
.custom-dropdown-menu .dropdown-item:focus::before {
    transform: translateY(-50%) scaleY(1);
}

.dropdown-grid-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
}

/* ============================================================
   MINI DROPDOWN DE GÊNEROS - HOVER DESKTOP
   ============================================================ */
.dropdown-genres-menu {
    min-width: 220px !important;
    padding: 16px !important;
    margin-top: 0 !important;
    top: 100% !important;
}

.dropdown-genres-menu .dropdown-header-title {
    padding: 0 0 8px 0 !important;
    margin-bottom: 10px !important;
}

@media (min-width: 1200px) {
    .custom-navbar .nav-item.dropdown {
        position: relative;
    }

    .custom-navbar .nav-item.dropdown::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: -6px;
        height: 10px;
        background: transparent;
    }

    .custom-navbar .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0 !important;
        animation: fadeIn 0.2s ease-out;
    }

    .custom-navbar .nav-item.dropdown:hover > .nav-link {
        color: var(--nav-text-hover) !important;
        background-color: rgba(255, 209, 102, 0.12);
    }
}

/* ============================================================
   CAMPO DE BUSCA
   ============================================================ */
.search-box-wrapper {
    position: relative;
    min-width: 240px;
}

.search-input-modern {
    background-color: var(--search-bg) !important;
    border: 1px solid var(--search-border) !important;
    color: #0B3D91 !important;
    border-radius: 30px !important;
    padding: 9px 42px 9px 18px !important;
    font-size: 0.88rem !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10) inset;
}

.search-input-modern::placeholder {
    color: var(--search-placeholder) !important;
}

.search-input-modern:focus {
    background-color: #ffffff !important;
    border-color: var(--accent-gold) !important;
    box-shadow: 0 0 0 3px rgba(255, 209, 102, 0.35), 0 2px 8px rgba(0, 0, 0, 0.10) inset !important;
    outline: none !important;
}

.btn-search-modern {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--red-primary);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-search-modern:hover {
    color: #ffffff;
    background-color: var(--red-primary);
    box-shadow: 0 0 12px rgba(21, 101, 192, 0.6);
}

/* ============================================================
   BOTÃO MOBILE TOGGLER
   ============================================================ */
.navbar-toggler-modern {
    border: 1px solid rgba(255, 209, 102, 0.5) !important;
    padding: 6px 10px !important;
    color: var(--accent-gold) !important;
    border-radius: 8px !important;
    transition: all 0.2s ease;
}

.navbar-toggler-modern:hover {
    background-color: rgba(255, 209, 102, 0.12);
    border-color: var(--accent-gold) !important;
}

.navbar-toggler-modern:focus {
    box-shadow: 0 0 0 3px rgba(255, 209, 102, 0.25) !important;
    border-color: var(--accent-gold) !important;
}

/* ============================================================
   RESPONSIVIDADE DO HEADER
   ============================================================ */
@media (max-width: 1199.98px) {
    .custom-dropdown-menu {
        min-width: 100% !important;
    }

    .dropdown-grid-links {
        grid-template-columns: 1fr;
    }

    .search-box-wrapper {
        width: 100%;
        margin-top: 15px;
    }

    .custom-navbar .nav-link {
        padding: 10px 14px !important;
    }
    .custom-navbar .nav-link::after {
        display: none;
    }
}

/* ============================================================
   INDEX - TÍTULO DA SEÇÃO
   ============================================================ */
.section-header {
    border-left: 4px solid var(--accent-color);
    padding-left: 12px;
}

/* ============================================================
   INDEX - CARD (modelo antigo, mantido para compatibilidade)
   ============================================================ */
.custom-card {
    display: block;
    width: 100%;
}

.cover-link {
    display: block;
    text-decoration: none;
}

.cover-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 8px;
    background-color: #f0f0f0;
    box-shadow: 0 2px 8px var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cover-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.custom-card:hover .cover-wrapper {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px var(--card-shadow-hover);
}

.custom-card:hover .cover-wrapper img {
    transform: scale(1.06);
}

/* ============================================================
   INDEX - BADGES NA CAPA (modelo antigo)
   ============================================================ */
.cover-badge {
    position: absolute;
    z-index: 2;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 4px;
    line-height: 1.15;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
}

.badge-tipo { top: 8px; left: 8px; background: rgba(21, 101, 192, 0.95); color: #fff; }
.badge-qualidade { top: 8px; right: 8px; background: rgba(255, 209, 102, 0.95); color: #000; }
.badge-nota {
    bottom: 8px; left: 8px;
    background: rgba(245, 197, 24, 0.98); color: #000;
    display: inline-flex; align-items: center; gap: 4px;
}
.badge-nota i { font-size: 0.85rem; }
.badge-audio { bottom: 8px; right: 8px; background: rgba(0, 0, 0, 0.85); color: #fff; backdrop-filter: blur(4px); }

/* ============================================================
   TOOLTIP FLUTUANTE (legado)
   ============================================================ */
.movie-tooltip {
    display: none;
    position: fixed;
    z-index: 9999;
    width: 280px;
    max-height: 380px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    pointer-events: none;
    overflow: hidden;
    color: #111;
}

.movie-tooltip .badges-wrapper { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 6px; }

.movie-tooltip .desc-box {
    background-color: #f5f5f5;
    color: #111827;
    font-size: 0.78rem;
    line-height: 1.35;
    padding: 8px;
    border-radius: 4px;
    margin-top: 8px;
    max-height: 180px;
    overflow-y: auto;
}

/* ============================================================
   ITEM - HERO (legado — não usado após o reskin)
   ============================================================ */
.hero-cinematic {
    position: relative;
    width: 100%;
    min-height: 80vh;
    padding: 120px 0 60px 0;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center 20%;
    background-repeat: no-repeat;
    color: var(--hero-text);
}

.hero-cinematic::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(0deg, #ffffff 0%, rgba(10,10,10,0.88) 25%, rgba(10,10,10,0.6) 100%);
    z-index: 1;
}

.hero-content { position: relative; z-index: 2; }

.hero-fade-bottom {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 80px;
    background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.0) 40%, #ffffff 100%);
    z-index: 3;
    pointer-events: none;
}

.hero-cinematic .breadcrumb,
.hero-cinematic nav[aria-label="breadcrumb"],
.hero-cinematic .breadcrumb a { color: var(--hero-text-secondary) !important; }
.hero-cinematic .breadcrumb a:hover { color: var(--cine-gold) !important; }

.poster-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.8);
    transition: transform 0.3s ease;
}
.poster-wrapper:hover { transform: translateY(-5px); }
.poster-wrapper img { border: 1px solid var(--hero-glass-border); }

.glass-panel {
    background: var(--hero-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--hero-glass-border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.movie-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 0.2rem;
    color: var(--hero-text);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.original-title {
    color: var(--hero-text-secondary);
    font-size: 1.1rem;
    font-weight: 300;
    font-style: italic;
    margin-bottom: 2rem;
}

.tagline {
    font-size: 1.2rem;
    color: var(--cine-gold);
    font-style: italic;
    border-left: 3px solid var(--cine-gold);
    padding-left: 15px;
    margin: 20px 0;
}

.info-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
}

.info-pill {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--hero-text);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.info-pill i { color: var(--cine-gold); }
.info-pill a { color: var(--hero-text); text-decoration: none; transition: color 0.2s ease; }
.info-pill a:hover { color: var(--cine-gold); }

/* ============================================================
   ITEM - BOTÕES DE GÊNERO
   ============================================================ */
.genre-balloon-link {
    display: inline-flex;
    align-items: center;
    background: rgba(212, 175, 55, 0.14);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #f3d57a;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    margin: 2px 4px 2px 0;
    letter-spacing: 0.2px;
    line-height: 1.4;
}

.genre-balloon-link:hover {
    background: var(--cine-gold, #d4af37);
    border-color: var(--cine-gold, #d4af37);
    color: #1a1a1a !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.45);
}

/* ============================================================
   ITEM - CONTEÚDO PÓS-HERO
   ============================================================ */
.main-light {
    background: var(--bg-page);
    color: var(--text-main);
}

.section-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
}
.section-title::after {
    content: '';
    flex-grow: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--border-light), transparent);
}
.section-title i { color: var(--cine-red); }

.content-spacing { margin-bottom: 3.5rem; }

.panel-light {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

/* ============================================================
   ITEM - SPECS
   ============================================================ */
.specs-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
}

.spec-card-glass {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.25s ease;
}
.spec-card-glass:hover {
    transform: translateY(-3px);
    border-color: rgba(21, 101, 192, 0.35);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}
.spec-card-glass i {
    font-size: 1.3rem;
    color: var(--cine-red);
    background: rgba(21, 101, 192, 0.08);
    padding: 12px;
    border-radius: 10px;
    flex-shrink: 0;
}
.spec-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.spec-text small {
    color: var(--text-muted);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 600;
}
.spec-text strong {
    font-size: 1rem;
    color: var(--text-main);
    font-weight: 700;
    word-break: break-word;
}

/* ============================================================
   ITEM - DOWNLOADS
   ============================================================ */
.download-section {
    background: #ffffff;
    border: 1px solid #cfe2f5;
    border-left: 4px solid var(--cine-red);
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 4px 18px rgba(21, 101, 192, 0.08);
}

.download-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.download-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background: var(--bg-soft);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 18px 20px;
    transition: all 0.25s ease;
}
.download-row:hover {
    border-color: rgba(21, 101, 192, 0.3);
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(0,0,0,0.07);
    transform: translateY(-2px);
}

.download-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-main);
    text-align: center;
    letter-spacing: 0.2px;
    word-break: break-word;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 38px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ffffff !important;
    text-decoration: none;
    transition: all 0.25s ease;
    min-width: 200px;
    position: relative;
    overflow: hidden;
    border: none;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.35), transparent);
    transform: skewX(-25deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.download-btn-red { background: var(--cine-red); }
.download-btn-red:hover {
    background: #0B3D91;
    color: #ffffff !important;
    box-shadow: 0 10px 22px var(--cine-red-glow);
    transform: scale(1.03);
}

.download-btn-green { background: var(--cine-green); }
.download-btn-green:hover {
    background: #146c43;
    color: #ffffff !important;
    box-shadow: 0 10px 22px var(--cine-green-glow);
    transform: scale(1.03);
}

/* ============================================================
   ITEM - AVISO / NOTICE DE DOWNLOAD
   ============================================================ */
.download-notice {
    margin-top: 26px;
    padding: 24px 26px;
    background: linear-gradient(135deg, #eef6ff 0%, #e0efff 100%);
    border: 1px solid #b8d8f3;
    border-left: 4px solid #2196F3;
    border-radius: 12px;
    color: #143a63;
    font-size: 0.94rem;
    line-height: 1.7;
    text-align: center;
}

.download-notice .notice-favorite {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-weight: 800;
    font-size: 0.9rem;
    color: #0B3D91;
    background: #d8ebff;
    padding: 10px 18px;
    border-radius: 10px;
    margin: 0 auto 16px auto;
    letter-spacing: 0.4px;
    border: 1.5px dashed #1565C0;
    text-transform: uppercase;
    flex-wrap: wrap;
}

.download-notice .notice-favorite i {
    color: var(--cine-red);
    font-size: 1rem;
}

.download-notice .notice-favorite kbd {
    display: inline-block;
    background: #1a1a1a;
    color: #ffffff;
    font-family: 'Segoe UI', monospace;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 5px;
    letter-spacing: 0.5px;
    margin: 0 2px;
    box-shadow: 0 2px 0 rgba(0,0,0,0.6);
}

.download-notice p {
    margin: 0 0 10px 0;
}
.download-notice p:last-child {
    margin-bottom: 0;
}

.download-notice a {
    color: #0B3D91;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px dotted #0B3D91;
    transition: all 0.2s ease;
}
.download-notice a:hover {
    color: #2196F3;
    border-bottom: 1px solid #2196F3;
}

/* ============================================================
   ITEM - FICHA
   ============================================================ */
.ficha-info {
    background: #f4f9ff;
    border: 1px solid #c9e0f4;
    border-left: 4px solid var(--cine-gold);
    border-radius: 12px;
    padding: 20px;
}
.ficha-info h2.section-title {
    font-size: 1.3rem;
    color: #0B3D91;
}
.ficha-info h2.section-title i { color: #1565C0; }
.ficha-info h2.section-title::after { background: linear-gradient(90deg, #c9e0f4, transparent); }

/* ============================================================
   ITEM - ELENCO / DIREÇÃO
   ============================================================ */
.cast-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 20px;
}
.cast-card-glass {
    text-align: center;
    color: var(--text-main);
    cursor: default;
}
.cast-img-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 10px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--border-light);
    background: var(--bg-soft);
}
.cast-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.cast-card-glass .cast-name {
    display: block;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text-main);
}
.cast-card-glass .cast-role {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ============================================================
   ITEM - PROVIDERS / SOCIAL / TAGS
   ============================================================ */
.provider-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--bg-soft);
    border: 1px solid var(--border-light);
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.2s ease;
}
.provider-row:hover {
    background: #ffffff;
    border-color: rgba(21, 101, 192, 0.3);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    color: var(--text-main);
}
.provider-row img { height: 30px; border-radius: 4px; }
.provider-row .badge-tipo-provider {
    background: #eef0f3;
    color: var(--text-secondary);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
}

.social-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-soft);
    border: 1px solid var(--border-light);
    color: var(--text-main);
    transition: all 0.2s ease;
    text-decoration: none;
}
.social-btn:hover {
    background: var(--cine-red);
    color: #ffffff;
    border-color: var(--cine-red);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(21, 101, 192, 0.3);
}

.tag-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 20px;
    background: var(--bg-soft);
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: default;
    transition: all 0.2s ease;
}
.tag-pill:hover {
    background: #eef0f3;
    color: var(--text-main);
    border-color: #d1d5db;
}

/* ============================================================
   ITEM - RECOMENDAÇÕES / LANÇAMENTOS
   ============================================================ */
.reco-card { display: block; text-decoration: none; color: var(--text-main); }
.reco-poster {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-soft);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.reco-poster img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.reco-card:hover .reco-poster {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}
.reco-card:hover .reco-poster img { transform: scale(1.05); }
.reco-title {
    margin-top: 8px;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-main);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.reco-meta { color: var(--text-muted); font-size: 0.76rem; }

/* ============================================================
   ITEM - COMENTÁRIOS
   ============================================================ */
.comments-panel {
    background: var(--bg-soft);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 24px;
}

/* ============================================================
   ITEM - CARROSSEL DE CAPAS
   ============================================================ */
#posterCarousel.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 1.8s ease-in-out !important;
}
#posterCarousel.carousel-fade .carousel-item.active,
#posterCarousel.carousel-fade .carousel-item-next.carousel-item-start,
#posterCarousel.carousel-fade .carousel-item-prev.carousel-item-end {
    opacity: 1;
}
#posterCarousel.carousel-fade .active.carousel-item-start,
#posterCarousel.carousel-fade .active.carousel-item-end {
    opacity: 0;
    transition: opacity 1.8s ease-in-out !important;
}
#posterCarousel.carousel-fade .carousel-item-next,
#posterCarousel.carousel-fade .carousel-item-prev,
#posterCarousel.carousel-fade .carousel-item.active {
    transform: translate3d(0, 0, 0) !important;
}

.rating-badge-overlay {
    position: absolute;
    top: 10px; left: 10px;
    z-index: 10;
    pointer-events: none;
}
.badge-classificacao-br {
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    line-height: 1;
    text-transform: uppercase;
}
.fe-livre { background-color: #00a859; color: #ffffff; }
.fe-10    { background-color: #0091ff; color: #ffffff; }
.fe-12    { background-color: #f7c928; color: #000000; }
.fe-14    { background-color: #e86c1e; color: #ffffff; }
.fe-16    { background-color: #d8232a; color: #ffffff; }
.fe-18    { background-color: #000000; color: #ffffff; border: 1px solid rgba(255,255,255,0.3); }
.fe-padrao { background-color: #ffffff; color: #000000; }

/* ============================================================
   ITEM - RESPONSIVO
   ============================================================ */
@media (max-width: 767.98px) {
    .movie-title { font-size: 1.9rem; }
    .section-title { font-size: 1.35rem; }
    .content-spacing { margin-bottom: 2.5rem; }
    .poster-wrapper { max-width: 260px; margin: 0 auto; }
    .cast-grid-premium { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
    .download-btn { width: 100%; min-width: 0; }
    .download-notice .notice-favorite { font-size: 0.78rem; padding: 8px 12px; }
}

/* ============================================================
   COMENTÁRIOS INCLUDE
   ============================================================ */
.comentarios-section {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.card-comentario {
    border: none;
    border-bottom: 1px solid #eee;
    border-radius: 0;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.card-comentario .card-body {
    padding: 0.5rem 0;
}

.nome-usuario {
    font-weight: 700;
    color: #2c3e50;
    font-size: 0.95rem;
}

.data-comentario {
    color: #95a5a6;
    font-size: 0.8rem;
}

#texto-comentario {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    resize: none;
    transition: border-color 0.3s;
}

#texto-comentario:focus {
    border-color: #1565C0;
    box-shadow: none;
}

#btn-enviar-comentario {
    border-radius: 8px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
}

.novo-comentario-animacao {
    animation: fadeInComment 0.5s ease-in-out;
}
@keyframes fadeInComment {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   ============================================================
   RESKIN — HOME (LISTA VERTICAL + SIDEBAR AZUL)
   v3 (caixa externa + imagens maiores + sidebar sem scroll)
   ============================================================
   ============================================================ */

:root {
    --rz-primary:        #1565C0;
    --rz-primary-dark:   #0B3D91;
    --rz-primary-light:  #E3F0FF;
    --rz-accent:         #2196F3;
    --rz-bg:             #F7F9FC;
    --rz-card-bg:        #FFFFFF;
    --rz-border:         #E3E8EF;
    --rz-border-soft:    #EDF1F7;
    --rz-text:           #1A1A1A;
    --rz-text-muted:     #5A6472;
    --rz-radius:         12px;
    --rz-radius-sm:      10px;
    --rz-shadow:         0 2px 8px rgba(13, 71, 161, 0.06);
    --rz-shadow-hover:   0 8px 22px rgba(13, 71, 161, 0.14);
    --rz-shadow-box:     0 4px 16px rgba(13, 71, 161, 0.08);
}

/* CAIXA EXTERNA DA LISTA */
.media-list-wrapper {
    background: var(--rz-card-bg);
    border: 1px solid var(--rz-border);
    border-radius: var(--rz-radius);
    box-shadow: var(--rz-shadow-box);
    padding: 1.25rem;
    position: relative;
    overflow: hidden;
}
.media-list-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--rz-primary) 0%, var(--rz-accent) 50%, var(--rz-primary-dark) 100%);
}

.media-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .25rem .25rem 1rem;
    margin-bottom: .75rem;
    border-bottom: 2px solid var(--rz-border-soft);
}
.media-list-header h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--rz-primary-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: .5rem;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.media-list-header h2 i { color: var(--rz-accent); }
.media-list-header .media-list-count {
    font-size: .82rem;
    color: var(--rz-text-muted);
    background: var(--rz-primary-light);
    border-radius: 20px;
    padding: .25rem .75rem;
    font-weight: 600;
    white-space: nowrap;
}

/* LISTA */
.media-list { display: flex; flex-direction: column; gap: 1rem; }

.media-list-item {
    display: flex;
    gap: 1.25rem;
    background: var(--rz-card-bg);
    border: 1px solid var(--rz-border);
    border-radius: var(--rz-radius-sm);
    box-shadow: var(--rz-shadow);
    padding: 1rem;
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
    position: relative;
}
.media-list-item::before {
    content: '';
    position: absolute;
    left: 0; top: 12px; bottom: 12px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--rz-accent);
    opacity: 0;
    transition: opacity .2s ease;
}
.media-list-item:hover {
    box-shadow: var(--rz-shadow-hover);
    border-color: var(--rz-accent);
    transform: translateY(-2px);
}
.media-list-item:hover::before { opacity: 1; }

.media-cover { flex: 0 0 220px; max-width: 220px; }
.media-cover img {
    width: 100%; height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
    object-fit: cover;
    transition: transform .3s ease;
}
.media-list-item:hover .media-cover img { transform: scale(1.02); }

.media-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }

.media-title { font-size: 1.2rem; font-weight: 700; margin: 0 0 .5rem; line-height: 1.3; }
.media-title a { color: var(--rz-primary-dark); text-decoration: none; transition: color .15s ease; }
.media-title a:hover { color: var(--rz-accent); }

.media-divider { margin: .5rem 0 .75rem; border: 0; border-top: 1px solid var(--rz-border); opacity: 1; }

.media-meta { list-style: none; padding: 0; margin: 0 0 .75rem; font-size: .92rem; color: var(--rz-text); line-height: 1.65; }
.media-meta li { margin-bottom: .2rem; }
.media-meta strong { color: var(--rz-primary-dark); font-weight: 600; }

.media-synopsis {
    font-size: .92rem;
    color: var(--rz-text-muted);
    margin: auto 0 0;
    line-height: 1.6;
    padding-top: .25rem;
}
.media-synopsis strong { color: var(--rz-primary-dark); }

/* SIDEBAR */
.sidebar-sticky {
    position: sticky;
    top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.sidebar-box {
    background: var(--rz-card-bg);
    border: 1px solid var(--rz-border);
    border-radius: var(--rz-radius);
    box-shadow: var(--rz-shadow-box);
    overflow: hidden;
}
.sidebar-title {
    background: linear-gradient(135deg, var(--rz-primary) 0%, var(--rz-primary-dark) 100%);
    color: #ffffff;
    font-size: .95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    padding: .75rem 1rem;
    text-align: center;
}
/* Sidebar SEM scroll — mostra tudo */
.sidebar-list { list-style: none; padding: .5rem 0; margin: 0; }
.sidebar-list li { border-bottom: 1px solid var(--rz-border); }
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list a {
    display: block;
    padding: .55rem 1rem;
    color: var(--rz-text);
    font-size: .88rem;
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease, padding-left .15s ease;
}
.sidebar-list a:hover {
    background-color: var(--rz-primary-light);
    color: var(--rz-primary-dark);
    padding-left: 1.25rem;
}

/* RESPONSIVO DA HOME */
@media (max-width: 1199.98px) {
    .media-cover { flex: 0 0 180px; max-width: 180px; }
}
@media (max-width: 991.98px) {
    .sidebar-sticky { position: static; }
    .media-list-wrapper { padding: 1rem; }
}
@media (max-width: 575.98px) {
    .media-list-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: .9rem;
    }
    .media-cover { flex: 0 0 auto; max-width: 240px; width: 100%; }
    .media-meta { text-align: left; }
    .media-list-header { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   ============================================================
   RESKIN — ITEM (item.php)
   Topo com capa + tabela de dados, sidebar e caixa de conteúdo
   ============================================================
   ============================================================ */

/* Caixa branca que envolve todo o conteúdo principal */
.item-wrapper {
    background: #ffffff;
    border: 1px solid var(--rz-border, #E3E8EF);
    border-radius: var(--rz-radius, 12px);
    box-shadow: var(--rz-shadow-box, 0 4px 16px rgba(13, 71, 161, 0.08));
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.item-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1565C0 0%, #2196F3 50%, #0B3D91 100%);
}

/* Título principal */
.item-titulo {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--rz-primary-dark, #0B3D91);
    text-align: center;
    line-height: 1.35;
    margin: 0 0 .75rem;
    text-transform: uppercase;
    letter-spacing: .3px;
}

/* Divisor */
.item-divider {
    border: 0;
    border-top: 1px solid var(--rz-border, #E3E8EF);
    opacity: 1;
    margin: .75rem 0 1rem;
}

/* Capa */
.item-capa img {
    width: 100%;
    height: auto;
    max-width: 290px;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(13, 71, 161, 0.20);
    object-fit: cover;
}

/* Bloco de dados técnicos (à direita da capa) */
.item-dados {
    background: #F7F9FC;
    border: 1px solid var(--rz-border, #E3E8EF);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    font-size: .94rem;
    line-height: 1.7;
    color: var(--rz-text, #1A1A1A);
}

.item-dados p { margin: 0 0 .35rem; }
.item-dados p:last-child { margin-bottom: 0; }

.item-dados strong {
    color: var(--rz-primary-dark, #0B3D91);
    font-weight: 700;
}

.item-dados-titulo {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--rz-primary-dark, #0B3D91) !important;
    border-bottom: 1px solid var(--rz-border, #E3E8EF);
    padding-bottom: .5rem;
    margin-bottom: .75rem !important;
}

/* Sinopse */
.item-sinopse {
    font-size: .95rem;
    line-height: 1.7;
    color: var(--rz-text, #1A1A1A);
    margin-bottom: 1rem;
}
.item-sinopse strong {
    color: var(--rz-primary-dark, #0B3D91);
}

/* Linha "Atualizado em" */
.item-atualizado {
    font-size: .92rem;
    color: var(--rz-primary-dark, #0B3D91);
    margin: .5rem 0 1rem;
}

/* Responsivo do item */
@media (max-width: 767.98px) {
    .item-wrapper { padding: 1rem; }
    .item-titulo { font-size: 1.1rem; }
    .item-dados { padding: .85rem 1rem; font-size: .9rem; }
}