
        :root {
            --bg-primary: #050508; --bg-secondary: #08080e; --bg-tertiary: #0c0c16;
            --bg-card: rgba(255, 255, 255, 0.04); --bg-glass: rgba(10, 10, 18, 0.75);
            --accent-primary: #6366f1; --accent-secondary: #818cf8; --accent-tertiary: #4338ca;
            --accent-glow: rgba(99, 102, 241, 0.45);
            --accent-gradient: linear-gradient(135deg, #6366f1 0%, #a78bfa 50%, #4338ca 100%);
            --glass-border: rgba(255, 255, 255, 0.08); --glass-border-hover: rgba(99, 102, 241, 0.35);
            --text-primary: #f1f5f9; --text-secondary: #94a3b8; --text-muted: #475569;
            --shadow-float: 0 -8px 32px rgba(0, 0, 0, 0.7); --shadow-glow: 0 0 30px var(--accent-glow);
            --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.06);
            --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px; --radius-xl: 24px; --radius-full: 9999px;
            --safe-bottom: env(safe-area-inset-bottom, 0px);
            --glass-bg: rgba(255, 255, 255, 0.03);
            --glass-surface: rgba(255, 255, 255, 0.06);
        }
        * { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
        html { scroll-behavior: smooth; }
        body {
            font-family: 'Plus Jakarta Sans', sans-serif; background: var(--bg-primary); color: var(--text-primary);
            line-height: 1.6; min-height: 100vh; overflow-x: hidden;
            background-image: 
                radial-gradient(ellipse at 15% 0%, rgba(99, 102, 241, 0.12) 0%, transparent 45%),
                radial-gradient(ellipse at 85% 100%, rgba(67, 56, 202, 0.08) 0%, transparent 45%),
                radial-gradient(ellipse at 50% 50%, rgba(139, 92, 246, 0.03) 0%, transparent 70%);
        }
        ::-webkit-scrollbar { width: 4px; height: 4px; }
        ::-webkit-scrollbar-track { background: transparent; }
        ::-webkit-scrollbar-thumb { background: rgba(99, 102, 241, 0.4); border-radius: 3px; }
        ::-webkit-scrollbar-thumb:hover { background: var(--accent-primary); }

        /* Navbar Atas */
        .navbar {
            position: sticky;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: rgba(5, 5, 8, 0.6);
            backdrop-filter: blur(24px) saturate(180%);
            -webkit-backdrop-filter: blur(24px) saturate(180%);
            border-bottom: 1px solid var(--glass-border);
            padding: 12px 20px;
            box-shadow: 0 1px 0 rgba(255,255,255,0.04), 0 4px 24px rgba(0,0,0,0.4);
        }
        .navbar-content {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .logo { text-decoration: none; display: flex; align-items: center; gap: 10px; font-size: 1.4rem; font-weight: 800; }
        .logo-icon { width: 40px; height: 40px; background: var(--accent-gradient); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; box-shadow: var(--shadow-glow); animation: pulse 2s infinite; }
        @keyframes pulse { 0%, 100% { box-shadow: 0 0 20px var(--accent-glow); } 50% { box-shadow: 0 0 40px var(--accent-glow); } }
        
        .nav-links {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .nav-link {
            padding: 10px 18px;
            border-radius: var(--radius-full);
            color: var(--text-secondary);
            text-decoration: none;
            font-weight: 600;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .nav-link:hover, .nav-link.active {
            color: var(--text-primary);
            background: rgba(99, 102, 241, 0.12);
            border: 1px solid rgba(99, 102, 241, 0.2);
        }
        .nav-link.active {
            color: var(--accent-secondary);
        }
        
        .nav-actions {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .search-btn, .notif-btn, .login-btn {
            width: 42px; height: 42px; border-radius: var(--radius-full); 
            background: rgba(255,255,255,0.05); 
            border: 1px solid var(--glass-border);
            display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease; color: var(--text-secondary); 
            backdrop-filter: blur(12px); 
            position: relative;
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.07);
        }
        .search-btn:hover, .notif-btn:hover, .login-btn:hover { 
            background: rgba(99, 102, 241, 0.2); 
            border-color: rgba(99, 102, 241, 0.4);
            color: var(--accent-secondary); 
            transform: scale(1.05); 
            box-shadow: 0 0 20px rgba(99,102,241,0.3), inset 0 1px 0 rgba(255,255,255,0.1); 
        }
        .notif-badge { position: absolute; top: -2px; right: -2px; width: 18px; height: 18px; background: #ef4444; border-radius: 50%; font-size: 0.65rem; display: flex; align-items: center; justify-content: center; font-weight: 700; }
        
        /* User Info in Navbar */
        .user-info {
            display: none;
            align-items: center;
            gap: 12px;
            cursor: pointer;
            padding: 6px 12px 6px 6px;
            border-radius: var(--radius-full);
            background: rgba(255,255,255,0.04);
            border: 1px solid var(--glass-border);
            transition: all 0.3s ease;
            backdrop-filter: blur(12px);
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
        }
        .user-info:hover {
            border-color: rgba(99,102,241,0.35);
            background: rgba(99, 102, 241, 0.08);
            box-shadow: 0 0 20px rgba(99,102,241,0.15), inset 0 1px 0 rgba(255,255,255,0.08);
        }
        .user-avatar {
            width: 36px;
            height: 36px;
            border-radius: var(--radius-full);
            background: var(--accent-gradient);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 0.85rem;
            overflow: hidden;
        }
        .user-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .user-details {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }
        .user-name {
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--text-primary);
            max-width: 120px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .user-role {
            font-size: 0.7rem;
            color: var(--accent-primary);
            font-weight: 500;
        }
        
        .admin-badge {
            background: linear-gradient(135deg, #f59e0b, #d97706);
            color: white;
            padding: 2px 8px;
            border-radius: var(--radius-full);
            font-size: 0.65rem;
            font-weight: 700;
            text-transform: uppercase;
        }

        .main-content { padding: 24px 16px; max-width: 1400px; margin-left: auto; margin-right: auto; }
        .hero { position: relative; border-radius: var(--radius-xl); overflow: hidden; margin-bottom: 28px; aspect-ratio: 16/9; max-height: 500px; cursor: pointer; border: 1px solid rgba(255,255,255,0.07); box-shadow: 0 20px 80px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255,255,255,0.04); }
        .hero-bg { position: absolute; inset: 0; }
        .hero-bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
        .hero:hover .hero-bg img { transform: scale(1.05); }
        .hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 5, 8, 0.2) 0%, rgba(5, 5, 8, 0.55) 50%, rgba(5, 5, 8, 0.97) 100%); }
        .hero-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
        .hero-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--accent-gradient); color: white; padding: 8px 16px; border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; width: fit-content; box-shadow: var(--shadow-glow); animation: glow 2s infinite; }
        @keyframes glow { 0%, 100% { box-shadow: 0 0 10px var(--accent-glow); } 50% { box-shadow: 0 0 28px var(--accent-glow); } }
        .hero-title { font-size: 2rem; font-weight: 800; line-height: 1.2; text-shadow: 0 4px 20px rgba(0,0,0,0.8); background: linear-gradient(135deg, #fff 0%, #c4c9d4 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
        .hero-meta { display: flex; align-items: center; gap: 16px; font-size: 0.9rem; color: var(--text-secondary); }
        .hero-actions { display: flex; gap: 12px; margin-top: 8px; }
        .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border-radius: var(--radius-full); font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: all 0.3s ease; border: none; outline: none; }
        .btn-primary { background: var(--accent-gradient); color: white; box-shadow: var(--shadow-glow), inset 0 1px 0 rgba(255,255,255,0.15); }
        .btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(99, 102, 241, 0.5); }
        .btn-secondary { background: rgba(255,255,255,0.06); color: white; backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.1); box-shadow: inset 0 1px 0 rgba(255,255,255,0.08); }
        .btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(99,102,241,0.35); transform: translateY(-2px); }
        .btn-icon { width: 44px; height: 44px; padding: 0; border-radius: var(--radius-full); }
        .btn-favorite { background: rgba(239, 68, 68, 0.1); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.25); }
        .btn-favorite:hover, .btn-favorite.active { background: #ef4444; color: white; box-shadow: 0 0 24px rgba(239, 68, 68, 0.4); }
        .btn-subscribe { background: rgba(34, 197, 94, 0.1); color: #22c55e; border: 1px solid rgba(34, 197, 94, 0.25); }
        .btn-subscribe:hover, .btn-subscribe.active { background: #22c55e; color: white; box-shadow: 0 0 24px rgba(34, 197, 94, 0.4); }
        .section { margin-bottom: 36px; }
        .section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
        .section-title { font-size: 1.2rem; font-weight: 700; display: flex; align-items: center; gap: 10px; }
        .section-title::before { content: ''; width: 3px; height: 22px; background: var(--accent-gradient); border-radius: 2px; box-shadow: 0 0 12px var(--accent-glow); }
        .view-all { font-size: 0.9rem; color: var(--accent-secondary); font-weight: 600; display: flex; align-items: center; gap: 4px; cursor: pointer; transition: all 0.3s ease; opacity: 0.8; }
        .view-all:hover { opacity: 1; text-shadow: 0 0 12px var(--accent-glow); }
        .scroll-container { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
        .scroll-container::-webkit-scrollbar { display: none; }
        .anime-card { flex: 0 0 auto; scroll-snap-align: start; width: 150px; cursor: pointer; transition: transform 0.3s ease; }
        .anime-card:hover { transform: translateY(-6px); }
        .card-image { position: relative; aspect-ratio: 3/4; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 12px; background: rgba(255,255,255,0.03); border: 1px solid var(--glass-border); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.05); }
        .card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
        .anime-card:hover .card-image img { transform: scale(1.08); }
        .card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(5, 5, 8, 0.95) 0%, transparent 60%); opacity: 0; transition: opacity 0.3s ease; display: flex; align-items: center; justify-content: center; }
        .anime-card:hover .card-overlay { opacity: 1; }
        .play-icon { width: 52px; height: 52px; background: rgba(255,255,255,0.12); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; transform: scale(0.8); transition: all 0.3s ease; box-shadow: 0 0 30px rgba(99,102,241,0.4); }
        .anime-card:hover .play-icon { transform: scale(1); background: var(--accent-gradient); border-color: transparent; }
        .card-badge { position: absolute; top: 10px; left: 10px; background: rgba(99,102,241,0.85); backdrop-filter: blur(8px); color: white; padding: 4px 10px; border-radius: var(--radius-full); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; border: 1px solid rgba(255,255,255,0.15); }
        .card-rating { position: absolute; top: 10px; right: 10px; background: rgba(0,0,0,0.75); backdrop-filter: blur(8px); padding: 4px 10px; border-radius: var(--radius-sm); font-size: 0.78rem; font-weight: 700; color: #fbbf24; display: flex; align-items: center; gap: 4px; border: 1px solid rgba(255,255,255,0.06); }
        .card-favorite { position: absolute; bottom: 10px; right: 10px; width: 32px; height: 32px; background: rgba(0,0,0,0.6); backdrop-filter: blur(8px); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; opacity: 0; transition: all 0.3s ease; cursor: pointer; border: 1px solid rgba(255,255,255,0.1); }
        .anime-card:hover .card-favorite { opacity: 1; }
        .card-favorite:hover, .card-favorite.active { background: #ef4444; opacity: 1; border-color: transparent; }
        .card-title { font-size: 0.95rem; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 6px; color: var(--text-primary); }
        .card-meta { font-size: 0.82rem; color: var(--text-muted); }
        .grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
        @media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(3, 1fr); } }
        @media (min-width: 1024px) { .grid-2 { grid-template-columns: repeat(4, 1fr); } }
        .recent-card { flex: 0 0 auto; width: 320px; scroll-snap-align: start; background: rgba(255,255,255,0.03); border-radius: var(--radius-lg); padding: 14px; display: flex; gap: 14px; cursor: pointer; transition: all 0.3s ease; border: 1px solid var(--glass-border); backdrop-filter: blur(16px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.05); }
        .recent-card:hover { border-color: rgba(99,102,241,0.3); background: rgba(99,102,241,0.06); transform: translateX(4px); }
        .recent-thumb { width: 110px; height: 70px; border-radius: var(--radius-md); background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary)); flex-shrink: 0; position: relative; overflow: hidden; background-size: cover; background-position: center; }
        .recent-progress { position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: rgba(255,255,255,0.15); }
        .recent-progress-bar { height: 100%; width: 65%; background: var(--accent-gradient); }
        .recent-info { flex: 1; min-width: 0; }
        .recent-title { font-weight: 600; font-size: 1rem; margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .recent-ep { font-size: 0.85rem; color: var(--accent-secondary); margin-bottom: 8px; }
        .recent-time { font-size: 0.8rem; color: var(--text-muted); }
        .category-scroll { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 10px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
        .category-scroll::-webkit-scrollbar { display: none; }
        .category-pill { flex: 0 0 auto; padding: 10px 20px; background: rgba(255,255,255,0.04); border-radius: var(--radius-full); font-size: 0.88rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; border: 1px solid var(--glass-border); white-space: nowrap; backdrop-filter: blur(12px); color: var(--text-secondary); box-shadow: inset 0 1px 0 rgba(255,255,255,0.05); }
        .category-pill:hover { background: rgba(99,102,241,0.1); border-color: rgba(99,102,241,0.25); color: var(--text-primary); transform: translateY(-2px); }
        .category-pill.active { background: var(--accent-gradient); color: white; box-shadow: 0 4px 20px rgba(99,102,241,0.35); border-color: transparent; }
        
        .search-modal { position: fixed; inset: 0; z-index: 2000; background: rgba(5, 5, 8, 0.92); backdrop-filter: blur(28px) saturate(160%); transform: translateY(100%); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
        .search-modal.active { transform: translateY(0); }
        .search-header { padding: 20px; border-bottom: 1px solid var(--glass-border); display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,0.02); }
        .search-input-lg { flex: 1; background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); padding: 16px 24px; border-radius: var(--radius-full); color: var(--text-primary); font-size: 1.1rem; outline: none; backdrop-filter: blur(12px); transition: all 0.3s ease; box-shadow: inset 0 1px 0 rgba(255,255,255,0.05); }
        .search-input-lg:focus { border-color: rgba(99,102,241,0.45); box-shadow: 0 0 24px rgba(99, 102, 241, 0.15), inset 0 1px 0 rgba(255,255,255,0.07); }
        .search-input-lg::placeholder { color: var(--text-muted); }
        .search-close { width: 48px; height: 48px; border-radius: var(--radius-full); background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); color: var(--text-secondary); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
        .search-close:hover { background: rgba(239,68,68,0.2); border-color: rgba(239,68,68,0.3); color: #ef4444; }
        .search-results { padding: 20px; overflow-y: auto; height: calc(100vh - 90px); }
        .detail-modal { position: fixed; inset: 0; z-index: 2500; background: rgba(5, 5, 8, 0.95); backdrop-filter: blur(28px); display: none; overflow-y: auto; }
        .detail-modal.active { display: block; }
        .detail-header { position: sticky; top: 0; padding: 16px 20px; background: linear-gradient(180deg, rgba(5, 5, 8, 0.98) 0%, transparent 100%); backdrop-filter: blur(20px); display: flex; align-items: center; justify-content: space-between; z-index: 10; }
        .detail-close { width: 44px; height: 44px; border-radius: var(--radius-full); background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); color: var(--text-secondary); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
        .detail-close:hover { background: rgba(99,102,241,0.2); border-color: rgba(99,102,241,0.35); color: var(--accent-secondary); }
        .detail-content { padding: 0 20px 100px; max-width: 800px; margin: 0 auto; }
        .detail-banner { width: 100%; aspect-ratio: 16/9; border-radius: var(--radius-xl); overflow: hidden; margin-bottom: 24px; border: 1px solid var(--glass-border); box-shadow: 0 20px 60px rgba(0,0,0,0.6); }
        .detail-banner img { width: 100%; height: 100%; object-fit: cover; }
        .detail-title { font-size: 1.8rem; font-weight: 800; margin-bottom: 12px; background: linear-gradient(135deg, #fff 0%, #94a3b8 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
        .detail-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
        .detail-badge { padding: 6px 14px; border-radius: var(--radius-full); font-size: 0.8rem; font-weight: 600; backdrop-filter: blur(8px); }
        .detail-badge.rating { background: rgba(251, 191, 36, 0.12); color: #fbbf24; border: 1px solid rgba(251,191,36,0.2); }
        .detail-badge.status { background: rgba(99, 102, 241, 0.12); color: var(--accent-secondary); border: 1px solid rgba(99,102,241,0.2); }
        .detail-badge.episodes { background: rgba(34, 197, 94, 0.12); color: #22c55e; border: 1px solid rgba(34,197,94,0.2); }
        .detail-genres { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
        .detail-genre { padding: 6px 14px; background: rgba(255,255,255,0.04); border: 1px solid var(--glass-border); border-radius: var(--radius-full); font-size: 0.8rem; color: var(--text-secondary); backdrop-filter: blur(8px); }
        .detail-actions { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
        .detail-desc { color: var(--text-secondary); line-height: 1.8; font-size: 0.95rem; margin-bottom: 30px; }
        .detail-section-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
        .detail-episodes { display: flex; flex-direction: column; gap: 10px; }
        .detail-episode-item { display: flex; align-items: center; gap: 14px; padding: 14px; background: rgba(255,255,255,0.03); border-radius: var(--radius-lg); border: 1px solid var(--glass-border); cursor: pointer; transition: all 0.3s ease; backdrop-filter: blur(8px); }
        .detail-episode-item:hover { border-color: rgba(99,102,241,0.3); background: rgba(99, 102, 241, 0.07); }
        .detail-ep-number { width: 44px; height: 44px; background: var(--accent-gradient); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; box-shadow: 0 4px 14px rgba(99,102,241,0.3); }
        .detail-ep-info { flex: 1; }
        .detail-ep-title { font-weight: 600; margin-bottom: 4px; }
        .detail-ep-duration { font-size: 0.85rem; color: var(--text-muted); }
        .login-modal { position: fixed; inset: 0; z-index: 3000; background: rgba(5, 5, 8, 0.92); backdrop-filter: blur(28px) saturate(160%); display: none; align-items: center; justify-content: center; padding: 20px; }
        .login-modal.active { display: flex; }
        .login-container { background: rgba(255,255,255,0.04); border-radius: var(--radius-xl); padding: 40px; max-width: 420px; width: 100%; border: 1px solid rgba(255,255,255,0.09); box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255,255,255,0.04), inset 0 1px 0 rgba(255,255,255,0.07); position: relative; animation: slideUp 0.4s ease; backdrop-filter: blur(24px); }
        @keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
        .login-close { position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; border-radius: var(--radius-full); background: rgba(255,255,255,0.04); border: 1px solid var(--glass-border); color: var(--text-secondary); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
        .login-close:hover { background: rgba(239,68,68,0.15); border-color: rgba(239,68,68,0.3); color: #ef4444; }
        .login-logo { text-align: center; margin-bottom: 30px; }
        .login-logo-icon { width: 70px; height: 70px; background: var(--accent-gradient); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 2rem; box-shadow: 0 8px 32px rgba(99,102,241,0.4); }
        .login-title { font-size: 1.6rem; font-weight: 700; margin-bottom: 8px; }
        .login-subtitle { color: var(--text-muted); font-size: 0.95rem; }
        .login-btn-google { width: 100%; padding: 15px; background: rgba(255,255,255,0.07); color: var(--text-primary); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-full); font-size: 1rem; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 12px; transition: all 0.3s ease; margin-bottom: 20px; backdrop-filter: blur(8px); }
        .login-btn-google:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.18); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
        .login-divider { display: flex; align-items: center; gap: 16px; margin: 24px 0; color: var(--text-muted); font-size: 0.85rem; }
        .login-divider::before, .login-divider::after { content: ''; flex: 1; height: 1px; background: var(--glass-border); }
        .login-input-group { margin-bottom: 16px; }
        .login-input { width: 100%; padding: 15px 20px; background: rgba(255,255,255,0.04); border: 1px solid var(--glass-border); border-radius: var(--radius-full); color: var(--text-primary); font-size: 1rem; outline: none; transition: all 0.3s ease; }
        .login-input:focus { border-color: rgba(99,102,241,0.45); box-shadow: 0 0 20px rgba(99, 102, 241, 0.15); background: rgba(255,255,255,0.06); }
        .login-input::placeholder { color: var(--text-muted); }
        .login-btn-submit { width: 100%; padding: 16px; background: var(--accent-gradient); color: white; border: none; border-radius: var(--radius-full); font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 20px rgba(99,102,241,0.35); }
        .login-btn-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(99, 102, 241, 0.5); }
        .login-footer { text-align: center; margin-top: 24px; color: var(--text-muted); font-size: 0.9rem; }
        .login-footer a { color: var(--accent-secondary); text-decoration: none; font-weight: 600; }
        .profile-modal { position: fixed; inset: 0; z-index: 3000; background: rgba(5, 5, 8, 0.95); backdrop-filter: blur(28px); display: none; overflow-y: auto; }
        .profile-modal.active { display: block; }
        .profile-header { position: sticky; top: 0; padding: 16px 20px; background: linear-gradient(180deg, rgba(5, 5, 8, 0.98) 0%, transparent 100%); backdrop-filter: blur(20px); display: flex; align-items: center; justify-content: space-between; z-index: 10; border-bottom: 1px solid var(--glass-border); }
        .profile-header h2 { font-size: 1.3rem; font-weight: 700; }
        .profile-content { padding: 20px; max-width: 600px; margin: 0 auto; }
        .profile-avatar-section { text-align: center; margin-bottom: 30px; }
        .profile-avatar { width: 120px; height: 120px; border-radius: 50%; background: var(--accent-gradient); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 3rem; font-weight: 700; border: 2px solid rgba(255,255,255,0.1); box-shadow: 0 0 40px rgba(99,102,241,0.3), 0 20px 60px rgba(0,0,0,0.5); overflow: hidden; position: relative; }
        .profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
        .profile-avatar-edit { position: absolute; bottom: 0; left: 0; right: 0; height: 40px; background: rgba(0,0,0,0.75); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease; }
        .profile-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 30px; }
        .profile-stat { text-align: center; padding: 16px; background: rgba(255,255,255,0.03); border-radius: var(--radius-lg); border: 1px solid var(--glass-border); backdrop-filter: blur(8px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.05); }
        .profile-stat-value { font-size: 1.5rem; font-weight: 800; color: var(--accent-secondary); }
        .profile-stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }
        .profile-section { margin-bottom: 24px; }
        .profile-section-title { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 1.5px; }
        .profile-input-group { margin-bottom: 16px; }
        .profile-input-group label { display: block; font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 8px; }
        .profile-input { width: 100%; padding: 14px 18px; background: rgba(255,255,255,0.04); border: 1px solid var(--glass-border); border-radius: var(--radius-md); color: var(--text-primary); font-size: 1rem; outline: none; transition: all 0.3s ease; }
        .profile-input:focus { border-color: rgba(99,102,241,0.4); box-shadow: 0 0 16px rgba(99, 102, 241, 0.15); }
        .profile-toggle { display: flex; align-items: center; justify-content: space-between; padding: 16px; background: rgba(255,255,255,0.03); border-radius: var(--radius-md); border: 1px solid var(--glass-border); margin-bottom: 12px; backdrop-filter: blur(8px); }
        .profile-toggle-info h4 { font-size: 0.95rem; margin-bottom: 4px; }
        .profile-toggle-info p { font-size: 0.8rem; color: var(--text-muted); }
        .toggle-switch { width: 50px; height: 26px; background: rgba(255,255,255,0.08); border: 1px solid var(--glass-border); border-radius: 13px; position: relative; cursor: pointer; transition: all 0.3s ease; }
        .toggle-switch.active { background: var(--accent-primary); border-color: transparent; }
        .toggle-switch::after { content: ''; position: absolute; width: 20px; height: 20px; background: white; border-radius: 50%; top: 2px; left: 2px; transition: all 0.3s ease; box-shadow: 0 2px 6px rgba(0,0,0,0.3); }
        .toggle-switch.active::after { left: 26px; }
        .profile-btn-save { width: 100%; padding: 16px; background: var(--accent-gradient); color: white; border: none; border-radius: var(--radius-full); font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 20px rgba(99,102,241,0.35); margin-top: 20px; }
        .profile-btn-save:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(99, 102, 241, 0.5); }
        
        /* User Dropdown Menu */
        .user-dropdown {
            position: absolute;
            top: 70px;
            right: 20px;
            background: rgba(8, 8, 14, 0.85);
            backdrop-filter: blur(28px) saturate(180%);
            -webkit-backdrop-filter: blur(28px) saturate(180%);
            border-radius: var(--radius-lg);
            padding: 12px;
            min-width: 240px;
            border: 1px solid rgba(255,255,255,0.08);
            box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.03), inset 0 1px 0 rgba(255,255,255,0.06);
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s ease;
            z-index: 1001;
        }
        .user-dropdown.active {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        .user-dropdown-header {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px;
            border-bottom: 1px solid var(--glass-border);
            margin-bottom: 8px;
        }
        .user-dropdown-avatar {
            width: 48px;
            height: 48px;
            border-radius: var(--radius-full);
            background: var(--accent-gradient);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 1.2rem;
            overflow: hidden;
        }
        .user-dropdown-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .user-dropdown-info {
            flex: 1;
        }
        .user-dropdown-name {
            font-weight: 600;
            font-size: 0.95rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 150px;
        }
        .user-dropdown-email {
            font-size: 0.8rem;
            color: var(--text-muted);
        }
        .user-dropdown-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px;
            border-radius: var(--radius-md);
            cursor: pointer;
            transition: all 0.3s ease;
            color: var(--text-secondary);
            font-size: 0.9rem;
        }
        .user-dropdown-item:hover {
            background: rgba(99, 102, 241, 0.12);
            color: var(--text-primary);
        }
        .user-dropdown-item i {
            width: 20px;
            text-align: center;
        }
        .user-dropdown-item.admin-item {
            color: #f59e0b;
        }
        .user-dropdown-item.admin-item:hover {
            background: rgba(245, 158, 11, 0.15);
        }
        .user-dropdown-divider {
            height: 1px;
            background: var(--glass-border);
            margin: 8px 0;
        }
        
        .notif-panel {
            position: absolute;
            top: 70px;
            right: 80px;
            background: rgba(8, 8, 14, 0.85);
            backdrop-filter: blur(28px) saturate(180%);
            -webkit-backdrop-filter: blur(28px) saturate(180%);
            border-radius: var(--radius-lg);
            padding: 0;
            min-width: 320px;
            max-width: 360px;
            max-height: 400px;
            border: 1px solid rgba(255,255,255,0.08);
            box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.03), inset 0 1px 0 rgba(255,255,255,0.06);
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s ease;
            z-index: 1001;
            overflow: hidden;
        }
        .notif-panel.active { opacity: 1; visibility: visible; transform: translateY(0); }
        .notif-header { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 1px solid var(--glass-border); }
        .notif-header h3 { font-size: 1rem; font-weight: 700; }
        .notif-header span { font-size: 0.8rem; color: var(--accent-secondary); cursor: pointer; opacity: 0.8; }
        .notif-header span:hover { opacity: 1; }
        .notif-list { max-height: 320px; overflow-y: auto; }
        .notif-item { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--glass-border); cursor: pointer; transition: all 0.3s ease; }
        .notif-item:hover { background: rgba(99, 102, 241, 0.08); }
        .notif-item.unread { background: rgba(99, 102, 241, 0.05); }
        .notif-item.unread::before { content: ''; width: 8px; height: 8px; background: var(--accent-secondary); border-radius: 50%; flex-shrink: 0; margin-top: 6px; }
        .notif-content { flex: 1; }
        .notif-title { font-size: 0.9rem; font-weight: 600; margin-bottom: 4px; }
        .notif-text { font-size: 0.8rem; color: var(--text-muted); line-height: 1.4; }
        .notif-time { font-size: 0.75rem; color: var(--text-muted); margin-top: 6px; }
        .notif-empty { text-align: center; padding: 40px 20px; color: var(--text-muted); }
        .skeleton { background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(99, 102, 241, 0.07) 50%, rgba(255,255,255,0.03) 75%); background-size: 200% 100%; animation: shimmer 1.8s infinite; border-radius: var(--radius-md); }
        @keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
        .toast { position: fixed; top: 100px; left: 50%; transform: translateX(-50%) translateY(-100px); background: rgba(10, 10, 18, 0.88); color: white; padding: 14px 28px; border-radius: var(--radius-full); font-size: 0.95rem; font-weight: 500; z-index: 4000; opacity: 0; transition: all 0.4s ease; border: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(24px); box-shadow: 0 16px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255,255,255,0.07); }
        .toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
        .toast.success { border-color: rgba(34,197,94,0.4); }
        .toast.error { border-color: rgba(239,68,68,0.4); }
        
        @media (max-width: 768px) {
            .nav-links { display: none; }
            .user-details { display: none; }
        }
        @media (min-width: 768px) { .main-content { padding: 0 24px; } .hero-title { font-size: 2.8rem; } .detail-title { font-size: 2.2rem; } }
        @media (min-width: 1024px) { .main-content { padding: 0 32px; } .hero { aspect-ratio: 21/9; } .anime-card { width: 170px; } }
  
/* --- MOBILE BOTTOM NAV STYLES --- */
.mobile-bottom-nav {
    display: none; /* Sembunyikan di PC/Laptop */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--bg-glass); /* Pakai variabel glassmorphism kamu */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    padding-bottom: env(safe-area-inset-bottom); /* Biar aman dari notch iPhone */
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.mobile-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 0;
    color: var(--text-muted, #94a3b8); /* Warna teks redup */
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-nav-item i {
    font-size: 1.25rem;
    margin-bottom: 4px;
    transition: transform 0.3s ease;
}

/* Efek saat diklik / aktif */
.mobile-nav-item.active,
.mobile-nav-item:hover {
    color: var(--accent-primary, #3b82f6); /* Warna biru accent kamu */
}

.mobile-nav-item.active i,
.mobile-nav-item:hover i {
    transform: translateY(-2px);
}

/* Tampilkan HANYA di layar HP */
@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
    }
    
    body {
        /* Kasih jarak di bawah biar konten nggak ketutupan navbar */
        padding-bottom: 70px; 
    }
}