:root { --primary: #e50914; --bg: #141414; --card-bg: #222; --text: #fff; } * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; -webkit-tap-highlight-color: transparent; } body { background-color: var(--bg); color: var(--text); padding-top: 60px; overflow-x: hidden; } .navbar { position: fixed; top: 0; left: 0; width: 100%; height: 60px; background: rgba(0,0,0,0.95); z-index: 1000; padding: 0 4%; box-shadow: 0 2px 10px rgba(0,0,0,0.5); } .nav-container { display: flex; justify-content: space-between; align-items: center; height: 100%; max-width: 1400px; margin: 0 auto; } .brand { font-size: 1.5rem; font-weight: 900; color: #fff; cursor: pointer; letter-spacing: 1px; } .highlight { color: var(--primary); } .nav-right { display: flex; gap: 15px; align-items: center; } .search-box { display: flex; align-items: center; background: #333; padding: 5px 10px; border-radius: 4px; border: 1px solid #444; } .search-box input { background: transparent; border: none; color: white; margin-left: 5px; outline: none; width: 100px; transition: width 0.3s; } .search-box input:focus { width: 160px; } #categorySelect { background: #333; color: white; border: 1px solid #444; padding: 5px; border-radius: 4px; cursor: pointer; outline: none; max-width: 120px; } #heroSection { position: relative; height: 55vh; width: 100%; display: flex; align-items: flex-end; padding: 0 4% 40px 4%; overflow: hidden; margin-bottom: 20px; } #heroBg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; z-index: -2; filter: blur(5px) brightness(0.4); transform: scale(1.1); } .hero-content { z-index: 2; max-width: 700px; } .tag-hd { background: var(--primary); display: inline-block; padding: 2px 8px; font-weight: bold; font-size: 0.8rem; border-radius: 2px; margin-bottom: 10px; } #heroTitle { font-size: 3rem; margin-bottom: 10px; line-height: 1.1; text-shadow: 2px 2px 4px black; } #heroDesc { font-size: 1rem; color: #ddd; margin-bottom: 20px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; max-width: 600px; text-shadow: 1px 1px 2px black; } .btn-primary { padding: 10px 25px; background: var(--primary); color: white; border: none; border-radius: 4px; font-weight: bold; cursor: pointer; display: flex; align-items: center; gap: 5px; font-size: 1rem; transition: transform 0.2s; } .btn-primary:hover { transform: scale(1.05); background: #f40612; } .row-title { font-size: 1.2rem; margin: 20px 0 10px 4%; color: #e5e5e5; font-weight: 600; } .row-wrapper { overflow-x: auto; padding-left: 4%; padding-bottom: 20px; scrollbar-width: none; } .row-wrapper::-webkit-scrollbar { display: none; } .row-container { display: flex; gap: 10px; } .grid-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; padding: 0 4% 40px 4%; } .card { position: relative; aspect-ratio: 2/3; border-radius: 4px; overflow: hidden; cursor: pointer; background: #222; transition: transform 0.2s; flex-shrink: 0; } .row-container .card { width: 150px; height: 225px; } .card:hover { transform: scale(1.03); z-index: 10; box-shadow: 0 0 15px rgba(0,0,0,0.8); } .card img { width: 100%; height: 100%; object-fit: cover; } .card-info { position: absolute; bottom: 0; left: 0; width: 100%; background: linear-gradient(to top, rgba(0,0,0,0.95), transparent); padding: 40px 5px 5px 5px; opacity: 1; } .card-title { font-size: 0.85rem; font-weight: 600; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .pagination-container { display: flex; justify-content: center; gap: 15px; margin: 20px 0; align-items: center; } .page-btn { background: #333; color: white; border: 1px solid #555; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; } .page-btn:hover { background: var(--primary); border-color: var(--primary); } .modal-backdrop { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.95); z-index: 2000; justify-content: center; align-items: flex-start; overflow-y: auto; opacity: 0; transition: opacity 0.3s; padding-top: 50px; padding-bottom: 50px; } .modal-backdrop.active { display: flex; opacity: 1; } .modal-window { width: 90%; max-width: 1000px; background: #181818; border-radius: 8px; overflow: hidden; position: relative; margin: 0 auto; box-shadow: 0 0 50px rgba(0,0,0,0.8); min-height: 200px; } .video-container { width: 100%; aspect-ratio: 16/9; background: black; } .modal-info { padding: 20px; } #mTitle { font-size: 2rem; margin-bottom: 10px; } .modal-tags span { display: inline-block; background: #333; padding: 2px 8px; border-radius: 4px; font-size: 0.8rem; margin-right: 5px; color: #aaa; margin-bottom: 10px; } .synopsis { color: #ccc; line-height: 1.5; margin-bottom: 20px; font-size: 0.95rem; } .server-tabs { display: flex; gap: 10px; margin-bottom: 15px; flex-wrap: wrap; } .tab-btn { background: #333; color: white; border: 1px solid #444; padding: 8px 15px; border-radius: 4px; cursor: pointer; display: flex; align-items: center; gap: 5px; } .tab-btn.active { background: var(--primary); border-color: var(--primary); } .modal-close { position: fixed; top: 15px; left: 15px; background: #e50914; color: white; border: 2px solid white; width: 40px; height: 40px; border-radius: 50%; font-size: 20px; cursor: pointer; z-index: 3000; box-shadow: 0 0 10px rgba(0,0,0,0.5); display: flex; justify-content: center; align-items: center; } .rec-grid { display: flex; gap: 15px; margin-top: 15px; overflow-x: auto; padding-bottom: 10px; } .rec-grid .card { width: 140px; aspect-ratio: 2/3; flex-shrink: 0; background: #333; } .rec-grid::-webkit-scrollbar { height: 4px; } .rec-grid::-webkit-scrollbar-thumb { background: #555; border-radius: 4px; } #scrollTopBtn { position: fixed; bottom: 20px; right: 20px; background: var(--primary); color: white; border: none; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,0.5); z-index: 900; display: flex; align-items: center; justify-content: center; } @media (max-width: 768px) { .modal-backdrop { padding: 0 !important; align-items: flex-start; } .grid-results { grid-template-columns: repeat(3, 1fr) !important; gap: 5px; padding: 0 2% 40px 2%; } .rec-grid .card { width: 110px; } #heroSection { height: 45vh; } #heroTitle { font-size: 2rem; } .modal-window { width: 100%; height: 100%; border-radius: 0; margin: 0; display: flex; flex-direction: column; } .video-container { flex-shrink: 0; } .modal-info { overflow-y: auto; } .navbar { padding: 0 10px; } .brand { font-size: 1.1rem; } .nav-right { gap: 5px; } .search-box { padding: 3px 6px; } .search-box input { display: block !important; width: 70px; font-size: 14px; } .search-box input:focus { width: 90px; } #categorySelect { max-width: 85px; font-size: 0.75rem; padding: 3px; } }