/* Importando Tailwind CSS */
@import "https://cdn.tailwindcss.com";

:root {
    --netflix-red: #E50914;
    --sidebar-width: 240px;
}

body {
    background-color: #000;
    color: #fff;
    font-family: 'Inter', sans-serif;
    margin: 0;
    overflow-x: hidden;
}

/* Scrollbar personalizada Estilo Netflix */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #141414;
}
::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #444;
}

/* Menu Vertical Sidebar */
.sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    background-color: #000;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    border-right: 1px solid #141414;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-content {
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
    min-height: 100vh;
    transition: all 0.3s ease;
}

/* Mobile Adjustments */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
    }
    .sidebar.active {
        transform: translateX(0);
    }
    .main-content {
        margin-left: 0;
        width: 100%;
    }
    .sidebar-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 999;
        display: none;
    }
    .sidebar-overlay.active {
        display: block;
    }
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    color: #b3b3b3;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
}

.nav-link:hover, .nav-link.active {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
    border-left: 4px solid var(--netflix-red);
}

/* Efeitos de Galeria */
.story-card {
    transition: transform 0.3s ease, z-index 0.3s ease;
    cursor: pointer;
}

.story-card:hover {
    transform: scale(1.1);
    z-index: 100;
}

.hero-gradient {
    background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.8) 100%);
}

.hero-side-gradient {
    background: linear-gradient(90deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 60%);
}

/* Modal Estilo Netflix */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.modal-content {
    background: #181818;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: 8px;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}
