I will start by exploring the existing project files to understand the project structure and setup.
I will check package.json to see what libraries and icons are installed.
I will install lucide-react to provide professional iconography for our multi-platform movie streaming application.
I will inspect src/index.css to ensure proper Tailwind CSS configuration and add custom utilities if needed.
I will create src/types.ts to define all TypeScript interfaces for movies, episodes, filters, comments, and application state.
I will create src/data/movies.ts with a detailed mock dataset of trending movies, local Vietnamese hits, Korean dramas, Hollywood blockbusters, and anime.
I will create src/components/Navigation/WebSidebar.tsx to serve as the modern desktop sidebar with expand-on-hover functionality.
I will update src/components/Navigation/WebSidebar.tsx to remove the unused Settings import.
I will create src/components/Navigation/MobileBottomNav.tsx for mobile navigation with touch-friendly icons and haptic feedback simulations.
I will create src/components/Navigation/TvTopBar.tsx to display an authentic Android TV / Google TV top status bar with real-time clock, Wi-Fi 5G status, and profile selector.
I will clean up unused icon imports in src/components/Navigation/TvTopBar.tsx.
I will create src/components/Navigation/TvRemote.tsx to simulate a fully-functional high-end Android TV physical remote with tactile directional buttons, voice control simulation, and quick shortcuts.
I will create src/components/Navigation/PlatformSwitcher.tsx to let users switch between Web, Mobile, and Android TV modes.
I will create src/components/HeroBanner/HeroBanner.tsx to deliver an immersive cinematic billboard with interactive backdrop fading, sound toggles, metadata tags, and multi-featured carousels.
I will update src/components/HeroBanner/HeroBanner.tsx to remove the unused Sparkles import.
I will create src/components/MovieGrid/MovieCard.tsx to display individual movies with interactive quick-play overlays, age tags, 4K badges, and TV focus styles.
I will create src/components/MovieGrid/MovieRow.tsx to showcase horizontal rows of movies with interactive scroll arrows.
I will update src/components/MovieGrid/MovieRow.tsx to remove the unused Sparkles import.
I will create src/components/MovieModal/MovieModal.tsx for an immersive cinematic detail view featuring trailer previews, episode navigation, cast showcase, and user comments.
I will remove the unused AlertCircle import in src/components/MovieModal/MovieModal.tsx.
I will create src/components/WatchPlayer/WatchPlayer.tsx to provide an ultra-modern multi-track cinema video player with VIP server selection, resolution selector, audio/subtitle toggles, and Skip Intro functionality.
I will update src/components/WatchPlayer/WatchPlayer.tsx to remove the unused Tv icon import.
I will create src/components/AiAssistant/AiAssistant.tsx to serve as the intelligent AI movie matchmaking assistant.
I will remove the unused Film icon import in src/components/AiAssistant/AiAssistant.tsx.
I will create src/components/Watchlist/WatchlistView.tsx for managing and browsing saved user favorites.
I will create src/components/VipModal/VipModal.tsx to display premium VIP package tiers with interactive features and 4K Dolby Atmos benefits.
I will create src/components/Search/SearchView.tsx to handle instant multi-attribute movie filtering and categorized discovery.
I will remove the unused Star import in src/components/Search/SearchView.tsx.
I will create src/components/TvView/TvView.tsx to deliver a custom Android TV home interface with dynamic remote control D-Pad focus handling.
I will update src/components/TvView/TvView.tsx to remove unused icon imports.
I will update src/App.tsx to provide the premium master layout that seamlessly unites the Web, Mobile, and Android TV cinematic experiences.
I will export App as default in src/App.tsx to match src/main.tsx.
I will update src/App.tsx to include both named and default exports.
I will add export default App; to the bottom of src/App.tsx.
I will update src/App.tsx to import and render TvView synchronously for reliable rendering.
I will inspect the mode === 'tv' block in src/App.tsx.
I will replace the asynchronous import block in src/App.tsx with <TvView />.
I will run build_project to test that the entire project compiles successfully without TypeScript or bundling errors.
I will inspect index.html to update the application title and metadata.
I will update index.html with a modern Vietnamese movie streaming title and include high-quality Google Fonts for cinematic typography.
I will update src/index.css to set the new default cinematic font family, and add keyframe animations.
I will run build_project to ensure our CSS updates and font configurations compile flawlessly.
Tôi đã tạo hoàn chỉnh giao diện ứng dụng xem phim hiện đại cao cấp mang tên Movix Premium, được tối ưu hóa đặc biệt và hoàn hảo cho cả 3 nền tảng: Web (Desktop), Mobile App, và Android TV / Smart TV.
🌟 BẢNG ĐIỀU KHIỂN & CHUYỂN ĐỔI CHẾ ĐỘ TRẢI NGHIỆM (Platform Mode Switcher)
Ngay trên cùng của ứng dụng có thanh chọn chế độ trải nghiệm tức thì:
- 🖥️ Chế độ Web / Desktop:
- Thanh điều hướng bên trái (Sidebar navigation) tinh tế, tự động mở rộng với hiệu ứng mượt mà khi di chuột qua.
- Cinematic Hero Billboard hiển thị các bộ phim bom tấn với video/hình ảnh phong cách rạp hát, có nút bật/tắt âm thanh, thông số kỹ thuật (4K UHD, Dolby Vision, IMDB).
- Các dãy phim phân loại dạng Carousel trượt ngang mượt mà với nút cuộn trái/phải.
- 📱 Chế độ Mobile App:
- Tối ưu hóa tuyệt đối cho thao tác chạm và lướt trên khung hình dọc.
- Bottom Navigation Bar cố định phía dưới (Trang chủ, Tìm kiếm, Danh sách phim, Trợ lý AI, Hồ sơ) giúp thao tác bằng một ngón tay cực dễ dàng.
- Giao diện chi tiết và danh sách tập phim tối ưu cho màn hình cảm ứng di động.
- 📺 Chế độ Android TV / Smart TV:
- Trải nghiệm màn hình tối màu điện ảnh sang trọng. Trang bị Thanh Trạng Thái TV (TV Top Bar) với đồng hồ thời gian thực, báo sóng 5G Wi-Fi và tài khoản gia đình.
- 🎮 Bảng Điều Khiển Tự Động (Virtual Remote Control Overlay): Tích hợp Remote ảo đầy đủ phím D-Pad (Lên, Xuống, Trái, Phải, OK, Home, Back, Phím tắt Micro tìm kiếm giọng nói) cho phép bạn có thể bấm trực tiếp trên màn hình hoặc sử dụng Phím Mũi Tên Keyboard (↑ ↓ ← →) + Enter để thao tác điều khiển Smart TV.
- Các thẻ phim trong chế độ TV có viền sáng neon nổi bật khi được chọn/focus theo đúng chuẩn Google TV / Android TV.
🎞️ TÍNH NĂNG ĐỘC QUYỀN ĐỈNH CAO (Premium Features)
- 🎬 Rạp Chiếu Trực Tuyến Đa Năng (Watch Player Modal): Trình phát video chuyên nghiệp hỗ trợ chọn Đổi Máy Chủ (VIP FPT 4K Server, Cloudflare CDN), chọn Tốc độ phát (0.75x đến 2x), chọn Kênh âm thanh / Thuyết minh và Phụ đề. Đặc biệt tích hợp nút "Bỏ qua phần giới thiệu (Skip Intro)" tiện lợi.
- ✨ Trợ Lý AI Match ("AI Gợi Ý Phim"): Chatbox trợ lý thông minh cho phép người dùng chọn nhanh theo tâm trạng (Thư giãn, Lãng mạn, Kịch tính, Muốn khóc, Cày phim Việt) hoặc nhập lời nhắn để AI lập tức phân tích và đưa ra danh sách đề xuất phù hợp nhất.
- 💬 Watch Party & Bình luận Trực tiếp Mock: Hệ thống đánh giá sao (1-5 Sao) và viết nhận xét phim theo thời gian thực.
- 💖 Bộ Sưu Tập Cá Nhân ("Danh Sách Của Tôi"): Cho phép thêm/bớt phim yêu thích và tự động đồng bộ hóa trên trình duyệt (
localStorage).
- 👑 Bảng Nâng Cấp Gói VIP 4K Ultra HD: Giao diện so sánh các đặc quyền cao cấp dành cho tài khoản Gia đình & Siêu VIP.
Files built: src/types.ts, src/data/movies.ts, src/components/Navigation/WebSidebar.tsx, src/components/Navigation/MobileBottomNav.tsx, src/components/Navigation/TvTopBar.tsx, src/components/Navigation/TvRemote.tsx, src/components/Navigation/PlatformSwitcher.tsx, src/components/HeroBanner/HeroBanner.tsx, src/components/MovieGrid/MovieCard.tsx, src/components/MovieGrid/MovieRow.tsx, src/components/MovieModal/MovieModal.tsx, src/components/WatchPlayer/WatchPlayer.tsx, src/components/AiAssistant/AiAssistant.tsx, src/components/Watchlist/WatchlistView.tsx, src/components/VipModal/VipModal.tsx, src/components/Search/SearchView.tsx, src/components/TvView/TvView.tsx, src/App.tsx, index.html, src/index.css