Huge Movies Collection -

.movie-card background: #14141e; border-radius: 20px; overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s; cursor: pointer; border: 1px solid #2a2a3a;

function loadMore() if (visibleCount >= currentFiltered.length) return; visibleCount = Math.min(visibleCount + 30, currentFiltered.length); renderGrid(); if (visibleCount >= currentFiltered.length) document.getElementById('loadMoreBtn').style.opacity = '0.5'; document.getElementById('loadMoreBtn').innerText = "All movies loaded";

<button id="showWatchlistBtn" class="watchlist-toggle">⭐ My Vault (0)</button> </div> </div> HUGE MOVIES COLLECTION

<!-- Movie Modal --> <div id="movieModal" class="modal"> <div class="modal-content"> <span class="close-modal">×</span> <h2 id="modalTitle"></h2> <p id="modalDetails"></p> <button id="modalWatchlistBtn" style="margin-top: 1rem; background:#f5c518; border:none; padding:0.5rem 1rem; border-radius:30px;">➕ Add to My Vault</button> </div> </div>

<script> // ---------- HUGE MOVIES DATABASE (mock of 150+ movies, expandable to thousands) ---------- const genres = ['Action', 'Drama', 'Sci-Fi', 'Comedy', 'Horror']; const titles = [ "The Dark Knight", "Inception", "The Matrix", "Interstellar", "Pulp Fiction", "Fight Club", "Forrest Gump", "Gladiator", "Avengers: Endgame", "The Godfather", "Star Wars: A New Hope", "Jurassic Park", "Titanic", "The Shawshank Redemption", "Mad Max: Fury Road", "Joker", "Parasite", "Whiplash", "Get Out", "The Social Network", "Dune", "Top Gun: Maverick", "Everything Everywhere All at Once", "John Wick", "Spider-Verse", "The Prestige", "Memento" ]; .movie-card background: #14141e

.no-results text-align: center; grid-column: 1 / -1; padding: 3rem;

.poster width: 100%; aspect-ratio: 2 / 3; object-fit: cover; background: #0b0b12; transition: transform 0.2s ease

let currentModalMovie = null; function openModal(movie) currentModalMovie = movie; const modal = document.getElementById('movieModal'); document.getElementById('modalTitle').innerText = movie.title; document.getElementById('modalDetails').innerHTML = <strong>$movie.year</strong> • $movie.genre<br> ⭐ $movie.rating/10<br><br> 📖 $movie.synopsis<br> 🎬 Part of the HUGE MOVIES COLLECTION. ; const btn = document.getElementById('modalWatchlistBtn'); const isIn = watchlist.some(w => w.id === movie.id); btn.innerText = isIn ? '❌ Remove from My Vault' : '➕ Add to My Vault'; modal.style.display = 'flex';