

:root {
    --primary: #E50914;
    --background: #0F0F0F;
    --surface-light: #2A2A2A;
    --text-primary: #FFFFFF;
    --text-secondary: #B3B3B3;
    --success: #22c55e;
    --radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--background);
    color: var(--text-primary);
    min-height: 100vh;
}



.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(15,15,15,0.98);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4%;
    z-index: 1000;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}

.brand-icon {
    font-size: 2rem;
    color: var(--primary);
}

.brand-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--surface);
    border: none;
    border-radius: 50px;
    color: var(--text-primary);
    cursor: pointer;
}

.nav-icon {
    color: var(--text-secondary);
    font-size: 1.3rem;
    text-decoration: none;
}


.list-section {
    padding: 100px 4% 60px;
    max-width: 1600px;
    margin: 0 auto;
}

.list-header {
    margin-bottom: 40px;
}

.list-header h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.list-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.list-card {
    position: relative;
    aspect-ratio: 2/3;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    background: var(--surface);
}

.list-card:hover {
    transform: scale(1.05);
}

.list-card:hover .remove-btn {
    opacity: 1;
}

.list-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.type-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 5;
    border: 1px solid rgba(255,255,255,0.1);
}

.type-badge.movie {
    color: #60a5fa; 
    border-color: rgba(96, 165, 250, 0.3);
}

.type-badge.series {
    color: #f472b6; 
    border-color: rgba(244, 114, 182, 0.3);
}

.remove-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: var(--transition);
    z-index: 10;
}

.remove-btn:hover {
    transform: scale(1.1);
}

.list-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.95));
}

.list-info h3 {
    font-size: 1rem;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.list-info span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}


.error-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    gap: 8px;
}

.error-placeholder i {
    font-size: 2rem;
    color: var(--primary);
}


.empty-list {
    text-align: center;
    padding: 100px 20px;
}

.empty-list i {
    font-size: 5rem;
    color: var(--surface-light);
    margin-bottom: 24px;
}

.empty-list h3 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.empty-list p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.btn-browse {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
    margin: 0 8px;
}

.btn-browse:hover {
    background: #b20710;
    transform: translateY(-2px);
}


.shimmer-card {
    background: linear-gradient(90deg, var(--surface) 0%, var(--surface-light) 50%, var(--surface) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}


.footer {
    padding: 40px 4%;
    border-top: 1px solid var(--surface);
    text-align: center;
}

.disclaimer {
    color: var(--text-muted);
    font-size: 0.85rem;
}


@media (max-width: 768px) {
    .list-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 16px;
    }

    .remove-btn {
        opacity: 1;
    }

    .type-badge {
        font-size: 0.6rem;
        padding: 4px 8px;
    }
}

#starCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: radial-gradient(ellipse at bottom, #1a0000 0%, #000000 100%);
}

.star-overlay {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.3) 100%);
    pointer-events: none;
}


* {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

*::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

html {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar {
    display: none;
}

body {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body::-webkit-scrollbar {
    display: none;
}