 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Poppins', sans-serif;
            background: linear-gradient(135deg, #121212 0%, #1e1e2f 100%);
            color: #fff;
            min-height: 100vh;
            overflow-x: hidden;
        }

        .navbar {
            background: rgba(18, 18, 18, 0.95);
            backdrop-filter: blur(12px);
            padding: 0.75rem 1rem;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        }

        .nav-container {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 1rem;
        }

        .logo {
            font-size: 1.5rem;
            font-weight: 700;
            background: linear-gradient(45deg, #ff2e63, #08d9d6);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            display: flex;
            align-items: center;
            gap: 0.3rem;
        }

        .nav-menu {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .nav-btn {
            background: none;
            border: none;
            color: #fff;
            cursor: pointer;
            font-size: 0.9rem;
            padding: 0.4rem 0.8rem;
            border-radius: 50px;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 0.3rem;
            font-weight: 500;
        }

        .nav-btn:hover, .nav-btn.active {
            background: linear-gradient(45deg, #ff2e63, #08d9d6);
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(255, 46, 99, 0.4);
        }

        .search-bar {
            display: flex;
            align-items: center;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50px;
            padding: 0.3rem 0.8rem;
        }

        .search-bar input {
            background: none;
            border: none;
            color: #fff;
            font-size: 0.85rem;
            outline: none;
            width: 100px;
            transition: width 0.3s ease;
        }

        .search-bar input:focus {
            width: 150px;
        }

        .mobile-menu-toggle {
            display: none;
            background: none;
            border: none;
            color: #fff;
            font-size: 1.2rem;
            cursor: pointer;
            padding: 0.2rem;
        }

        .mobile-menu {
            display: none;
            position: fixed;
            top: 60px;
            right: 0;
            background: rgba(18, 18, 18, 0.98);
            backdrop-filter: blur(12px);
            width: 250px;
            padding: 1rem;
            border-radius: 15px 0 0 15px;
            box-shadow: -5px 5px 20px rgba(0, 0, 0, 0.5);
            z-index: 999;
            transform: translateX(100%);
            transition: transform 0.3s ease;
        }

        .mobile-menu.active {
            display: block;
            transform: translateX(0);
        }

        .mobile-menu .nav-btn {
            width: 100%;
            justify-content: flex-start;
            margin-bottom: 0.6rem;
            padding: 0.6rem 0.8rem;
            font-size: 0.9rem;
        }

        .mobile-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.6);
            z-index: 998;
        }

        .mobile-overlay.active {
            display: block;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 2rem;
        }

        /* Home View Styles */
        .home-view {
            display: none;
        }

        .home-view.active {
            display: block;
        }

        .category-section {
            margin-bottom: 3rem;
        }

        .category-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 1.5rem;
            padding-bottom: 1rem;
            border-bottom: 2px solid rgba(255, 46, 99, 0.3);
        }

        .category-title {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .category-title h2 {
            font-size: 1.8rem;
            font-weight: 600;
        }

        .category-title i {
            color: #ff2e63;
            font-size: 1.5rem;
        }

        .category-controls {
            display: flex;
            gap: 0.5rem;
        }

        .nav-arrow {
            background: rgba(255, 46, 99, 0.2);
            border: 1px solid rgba(255, 46, 99, 0.5);
            color: #fff;
            width: 2.5rem;
            height: 2.5rem;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .nav-arrow:hover:not(:disabled) {
            background: linear-gradient(45deg, #ff2e63, #08d9d6);
            transform: scale(1.1);
        }

        .nav-arrow:disabled {
            opacity: 0.3;
            cursor: not-allowed;
        }

        .movie-scroll {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 1.5rem;
        }

        .movie-card {
            cursor: pointer;
            border-radius: 12px;
            overflow: hidden;
            transition: all 0.3s ease;
            background: rgba(255, 255, 255, 0.05);
            position: relative;
        }

        .movie-card:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: 0 15px 30px rgba(255, 46, 99, 0.3);
        }

        .movie-card img {
            width: 100%;
            height: 300px;
            object-fit: cover;
            display: block;
        }

        .movie-card-info {
            padding: 1rem;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
        }

        .movie-card-title {
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 0.3rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .movie-card-rating {
            display: flex;
            align-items: center;
            gap: 0.3rem;
            font-size: 0.9rem;
            color: #ffd700;
        }

        /* Movie View Styles */
        .movie-view {
            display: none;
        }

        .movie-view.active {
            display: block;
        }

        .movie-details {
            display: grid;
            grid-template-columns: 250px 1fr;
            gap: 2rem;
            margin-bottom: 2rem;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 20px;
            padding: 2rem;
            backdrop-filter: blur(10px);
        }

        .movie-poster {
            width: 100%;
            border-radius: 12px;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
        }

        .movie-info h1 {
            font-size: 2.2rem;
            margin-bottom: 1rem;
            background: linear-gradient(45deg, #fff, #ff2e63);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .movie-meta {
            display: flex;
            gap: 1rem;
            margin-bottom: 1.5rem;
            flex-wrap: wrap;
        }

        .meta-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem 1rem;
            background: rgba(255, 46, 99, 0.2);
            border-radius: 20px;
            font-size: 0.9rem;
        }

        .meta-item i {
            color: #ff2e63;
        }

        .movie-overview {
            line-height: 1.7;
            color: #ddd;
            font-size: 1rem;
        }

        .player {
            margin-bottom: 2rem;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
        }

        .player iframe {
            width: 100%;
            height: 500px;
            border: none;
        }

        .recommendations {
            margin-top: 3rem;
        }

        .recommendations h2 {
            font-size: 1.8rem;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .recommendations h2 i {
            color: #ff2e63;
        }

        .rec-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
            gap: 1rem;
        }

        .rec-item {
            cursor: pointer;
            border-radius: 10px;
            overflow: hidden;
            transition: all 0.3s ease;
            background: rgba(255, 255, 255, 0.05);
        }

        .rec-item:hover {
            transform: translateY(-6px);
            box-shadow: 0 10px 25px rgba(255, 46, 99, 0.3);
        }

        .rec-item img {
            width: 100%;
            height: 240px;
            object-fit: cover;
            display: block;
        }

        .loading {
            text-align: center;
            padding: 3rem;
            font-size: 1.2rem;
        }

        .loading i {
            font-size: 2.5rem;
            color: #ff2e63;
            animation: spin 1s linear infinite;
        }

        .skeleton {
            background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 25%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.1) 75%);
            background-size: 200% 100%;
            animation: skeleton-loading 1.5s infinite;
            border-radius: 12px;
            height: 300px;
        }

        @keyframes skeleton-loading {
            0% { background-position: 200% 0; }
            100% { background-position: -200% 0; }
        }

        @keyframes spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        @media (max-width: 1200px) {
            .movie-scroll {
                grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            }
        }

        @media (max-width: 900px) {
            .movie-scroll {
                grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
            }
            .movie-details {
                grid-template-columns: 1fr;
            }
            .player iframe {
                height: 400px;
            }
        }

        @media (max-width: 600px) {
            .movie-scroll {
                grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
            }
            .nav-menu {
                gap: 0.5rem;
            }
            .nav-links {
                display: none;
            }
            .search-bar input {
                width: 100px;
            }
            .search-bar input:focus {
                width: 150px;
            }
            .mobile-menu-toggle {
                display: block;
            }
            .nav-container {
                padding: 0 1rem;
            }
            .movie-card img {
                height: 250px;
            }
            .player iframe {
                height: 300px;
            }
            .navbar {
                padding: 0.5rem 0.75rem;
            }

            .nav-container {
                flex-direction: row;
                align-items: center;
                gap: 0.5rem;
            }

            .logo {
                font-size: 1.3rem;
            }

            .nav-links {
                display: none;
            }

            .search-bar {
                flex-grow: 1;
                padding: 0.2rem 0.6rem;
            }

            .search-bar input {
                width: 100%;
            }

            .search-bar input:focus {
                width: 100%;
            }

            .mobile-menu-toggle {
                display: block;
            }

            .nav-menu {
                display: flex;
                align-items: center;
                gap: 0.5rem;
            }

            #homeBtn {
                display: none; /* Sembunyikan tombol home di mobile jika diperlukan, atau sesuaikan */
            }
        }
