/* ===== Reset ===== */ * { margin: 0; padding: 0; box-sizing: border-box; } /* ===== Base ===== */ body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: linear-gradient(135deg, #1a1a2e, #16213e); color: #e0e0e0; line-height: 1.6; } a { color: inherit; text-decoration: none; } /* ===== Header ===== */ header { position: sticky; top: 0; z-index: 1000; background: rgba(15,15,30,.95); backdrop-filter: blur(10px); border-bottom: 2px solid #e94560; box-shadow: 0 4px 20px rgba(233,69,96,.2); } .header-container { max-width: 1400px; margin: auto; padding: 1rem 2rem; display: flex; align-items: center; justify-content: space-between; } /* Logo */   .logo { font-size: 2rem;  font-weight: bold;  color: #e94560; text-decoration: none; display: flex; align-items: center;  gap: 0.5rem; transition: transform 0.3s ease; }  .logo:hover {transform: scale(1.05);}  .logo::before { content: "🎬";   font-size: 2.5rem;}  /* ===== Navigation ===== */ nav { display: flex; gap: 2rem; align-items: center; } nav a { position: relative; padding: .5rem 0; transition: color .3s; } nav a:hover { color: #e94560; } nav a::after { content: ""; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: #e94560; transition: width .3s; } nav a:hover::after { width: 100%; } /* Mobile Menu */ .menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; } .menu-toggle span { width: 25px; height: 3px; background: #e94560; border-radius: 3px; transition: .3s; } .menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px,6px); } .menu-toggle.active span:nth-child(2) { opacity: 0; } .menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px,-6px); } /* ===== Search ===== */ .search-bar { display: flex; align-items: center; gap: 8px; background: rgba(30,30,50,.7); padding: 6px; border-radius: 50px; border: 1px solid rgba(233,69,96,.4); } .search-bar select, .search-bar input { background: transparent; border: none; outline: none; color: #e0e0e0; padding: 10px 14px; } .search-bar select { border-right: 1px solid rgba(233,69,96,.4); cursor: pointer; } .search-bar option { background: #1a1a2e; } .search-bar button { background: #e94560; border: none; color: #fff; padding: 10px 18px; border-radius: 40px; cursor: pointer; transition: .3s; } .search-bar button:hover { background: #ff5f7a; } /* ===== Layout ===== */ .main-container { max-width: 1400px; margin: 2rem auto; padding: 0 2rem; display: grid; grid-template-columns: 25% 75%; gap: 2rem; } /* ===== Sidebar ===== */ .sidebar { background: rgba(30,30,50,.6); padding: 1.5rem; border-radius: 12px; border: 1px solid rgba(233,69,96,.2); position: sticky; top: 100px; } .sidebar h3 { color: #e94560; border-bottom: 2px solid #e94560; margin-bottom: 1rem; } /* Categories */ .categories { list-style: none; } .categories li { padding: .7rem; margin: .5rem 0; background: rgba(233,69,96,.1); border-radius: 8px; transition: .3s; } .categories li:hover { background: rgba(233,69,96,.2); transform: translateX(5px); } /* ===== Popular ===== */ .popular-item { display: flex; gap: 1rem; padding: .5rem; margin-bottom: 1rem; border-radius: 8px; background: rgba(233,69,96,.05); transition: .3s; } .popular-item:hover { background: rgba(233,69,96,.15); } .popular-thumb { width: 60px; height: 80px; border-radius: 6px; overflow: hidden; } .popular-thumb img { width: 100%; height: 100%; object-fit: cover; } /* ===== Movies Grid ===== */ .movies-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(200px,1fr)); gap: 1.5rem; } .movie-card { background: rgba(30,30,50,.6); border-radius: 12px; overflow: hidden; border: 1px solid rgba(233,69,96,.2); transition: .4s; } .movie-card:hover { transform: translateY(-10px); border-color: #e94560; } .movie-thumbnail { height: 280px; overflow: hidden; } .movie-thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: .4s; } .movie-card:hover img { transform: scale(1.1); } .movie-info { padding: 1rem; } .movie-info h3 { color: #fff; } /* ===== Pagination ===== */ .pagination { display: flex; justify-content: center; gap: 6px; margin: 20px 0; } .pagination a.active { background: #e94560; color: #fff; pointer-events: none; } .pagination a { padding: 8px 12px; border-radius: 4px; border: 1px solid #e94560; color: #e94560; } .pagination a:hover, .pagination .active { background: #e94560; color: #fff; } /* ===== Footer ===== */ footer { background: rgba(15,15,30,.95); margin-top: 4rem; border-top: 2px solid #e94560; } .footer-container { max-width: 1400px; margin: auto; padding: 3rem 2rem; display: grid; grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); gap: 2rem; } .footer-bottom { text-align: center; padding: 1rem; font-size: .9rem; color: #888; } /* ===== Responsive ===== */ @media (max-width: 968px) { .main-container { grid-template-columns: 1fr; } .sidebar { position: static; } } @media (max-width: 768px) { nav { position: fixed; top: 70px; left: -100%; flex-direction: column; width: 100%; background: rgba(15,15,30,.98); padding: 2rem; transition: .3s; } nav.active { left: 0; } .menu-toggle { display: flex; } } /* ================================================== MOBILE SIDEBAR UPGRADE (Categories + Popular) ================================================== */ @media (max-width: 768px) { /* -------- Sidebar Reset -------- */ .sidebar { padding: 0; background: transparent; border: none; } /* -------- Categories Toggle -------- */ .sidebar::before { content: "Show Categories"; display: block; background: #e94560; color: #fff; padding: 12px; margin: 0 1rem 1rem; border-radius: 10px; text-align: center; font-weight: 600; cursor: pointer; } .sidebar:hover .categories { display: block; } .categories { display: none; margin: 0 1rem 1.5rem; background: rgba(30,30,50,.7); border-radius: 12px; padding: .5rem; } .categories li { transform: none; margin: .4rem 0; } /* -------- Popular becomes Main Listing -------- */ .popular-movies { padding: 0 1rem; } .popular-item { flex-direction: column; padding: 0; margin-bottom: 1.5rem; background: rgba(30,30,50,.65); border: 1px solid rgba(233,69,96,.25); overflow: hidden; } .popular-thumb { width: 100%; height: 240px; border-radius: 0; position: relative; } ================================================== PAGINATION FIX (Desktop + Mobile) ================================================== */ .pagination { display: flex; justify-content: center; margin: 30px 0; } .pagination table { width: auto !important; border-collapse: collapse; } .pagination td { text-align: center; white-space: nowrap; } /* All page links */ .pagination a { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 10px; margin: 3px; border-radius: 8px; background: rgba(30,30,50,.8); color: #e94560; font-weight: 600; border: 1px solid rgba(233,69,96,.3); text-decoration: none; transition: all .25s ease; } .pagination a:hover { background: #e94560; color: #fff; } /* Current page */ .pagination a.active { background: #e94560; color: #fff; pointer-events: none; } /* Prev / Next buttons */ .pagination a[href*="Prev"], .pagination a[href*="Next"] { min-width: 70px; font-size: .85rem; } /* Prevent breaking lines */ .pagination td, .pagination p { display: flex; flex-wrap: wrap; justify-content: center; } /* ------------------ Mobile Fix ------------------ */ @media (max-width: 600px) { .pagination { padding: 0 10px; } .pagination a { min-width: 34px; height: 34px; font-size: .85rem; padding: 0 8px; } .pagination a[href*="Prev"], .pagination a[href*="Next"] { min-width: 60px; } } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); color: #e0e0e0; line-height: 1.6; } .movie-detail-page { max-width: 1100px; margin: 30px auto; padding: 20px; } .movie-card { background: linear-gradient(145deg, #151526, #1e1e3a); border-radius: 16px; padding: 25px; box-shadow: 0 20px 40px rgba(0,0,0,0.5); } .movie-title { font-size: 2.2rem; color: #fff; margin-bottom: 5px; } .movie-category { color: #e94560; margin-bottom: 15px; } .movie-poster { max-width: 280px; border-radius: 12px; margin: 15px 0; box-shadow: 0 10px 30px rgba(0,0,0,0.6); } .movie-info-table { width: 100%; margin-top: 20px; border-collapse: collapse; } .movie-info-table td { padding: 10px; border-bottom: 1px solid rgba(255,255,255,0.1); } .movie-info-table td:first-child { width: 30%; color: #aaa; font-weight: 600; } .movie-info-table td:last-child { color: #fff; } .download-box { margin-top: 15px; } .download-btn { display: inline-block; width: 100%; max-width: 420px; background: linear-gradient(135deg, #e94560, #ff6b81); color: #fff; padding: 14px; border-radius: 50px; text-decoration: none; font-weight: bold; transition: all 0.3s ease; } .download-btn span { opacity: 0.85; font-weight: normal; } .download-btn:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 10px 25px rgba(233,69,96,0.6); } .quality-icons img { margin: 6px; height: 36px; opacity: 0.85; } .quality-icons img:hover { opacity: 1; } /* Mobile */ @media (max-width: 768px) { .movie-title { font-size: 1.6rem; } .movie-poster { max-width: 200px; } } /* Header Styles */ header { background: rgba(15, 15, 30, 0.95); padding: 1rem 0; position: sticky; top: 0; z-index: 1000; backdrop-filter: blur(10px); border-bottom: 2px solid #e94560; box-shadow: 0 4px 20px rgba(233, 69, 96, 0.2); } .header-container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; display: flex; justify-content: space-between; align-items: center; } .logo { font-size: 2rem; font-weight: bold; color: #e94560; text-decoration: none; display: flex; align-items: center; gap: 0.5rem; transition: transform 0.3s ease; } .logo:hover { transform: scale(1.05); } .logo::before { content: "🎬"; font-size: 2.5rem; } nav { display: flex; gap: 2rem; align-items: center; } nav a { color: #e0e0e0; text-decoration: none; font-weight: 500; transition: all 0.3s ease; position: relative; padding: 0.5rem 0; } nav a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: #e94560; transition: width 0.3s ease; } nav a:hover::after { width: 100%; } nav a:hover { color: #e94560; } .menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; } .menu-toggle span { width: 25px; height: 3px; background: #e94560; transition: all 0.3s ease; border-radius: 3px; } .menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(8px, 8px); } .menu-toggle.active span:nth-child(2) { opacity: 0; } .menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); } /* Main Container */ .main-container { max-width: 1400px; margin: 2rem auto; padding: 0 2rem; display: grid; grid-template-columns: 30% 70%; gap: 2rem; } /* Sidebar */ .sidebar { background: rgba(30, 30, 50, 0.6); padding: 1.5rem; border-radius: 12px; height: fit-content; position: sticky; top: 100px; backdrop-filter: blur(10px); border: 1px solid rgba(233, 69, 96, 0.2); } .sidebar h3 { color: #e94560; margin-bottom: 1rem; font-size: 1.3rem; border-bottom: 2px solid #e94560; padding-bottom: 0.5rem; } .categories { list-style: none; margin-bottom: 2rem; } .categories li { padding: 0.7rem; margin: 0.5rem 0; background: rgba(233, 69, 96, 0.1); border-radius: 8px; cursor: pointer; transition: all 0.3s ease; border-left: 3px solid transparent; } .categories li a { color: #aaa; text-decoration: none; transition: color 0.3s ease; } .categories li:hover { background: rgba(233, 69, 96, 0.2); border-left-color: #e94560; transform: translateX(5px); } .popular-movies { margin-top: 2rem; text-decoration: none; } .popular-movies a { text-decoration: none; } .popular-item { display: flex; gap: 1rem; margin-bottom: 1rem; padding: 0.5rem; background: rgba(233, 69, 96, 0.05); border-radius: 8px; cursor: pointer; transition: all 0.3s ease; } .popular-item:hover { background: rgba(233, 69, 96, 0.15); transform: scale(1.02); } .popular-thumb { width: 60px; height: 80px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); border-radius: 6px; flex-shrink: 0; overflow: hidden; } .popular-thumb img { width: 100%; height: 100%; object-fit: cover; } .popular-info h4 { font-size: 0.9rem; margin-bottom: 0.3rem; color: #fff; } .popular-info p { font-size: 0.75rem; color: #aaa; } /* Movies Grid */ .movies-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.5rem; } .movies-grid a { color: #aaa; text-decoration: none; transition: color 0.3s ease; } .movie-card { background: rgba(30, 30, 50, 0.6); border-radius: 12px; overflow: hidden; cursor: pointer; transition: all 0.4s ease; border: 1px solid rgba(233, 69, 96, 0.2); backdrop-filter: blur(10px); } .movie-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(233, 69, 96, 0.4); border-color: #e94560; } .movie-thumbnail { width: 100%; height: 280px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); position: relative; overflow: hidden; } .movie-thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; } .movie-card:hover .movie-thumbnail img { transform: scale(1.1); } .movie-thumbnail::after { content: 'Download'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: rgba(233, 69, 96, 0.9); padding: 1rem 2rem; border-radius: 50px; opacity: 0; transition: opacity 0.3s ease; font-weight: bold; letter-spacing: 1px; } .movie-card:hover .movie-thumbnail::after { opacity: 1; } .movie-info { padding: 1rem; } .movie-info h3 { font-size: 1.1rem; margin-bottom: 0.5rem; color: #fff; } .movie-meta { display: flex; justify-content: space-between; font-size: 0.85rem; color: #aaa; margin-top: 0.5rem; } .rating { color: #ffd700; font-weight: bold; } /* Footer */ footer { background: rgba(15, 15, 30, 0.95); margin-top: 4rem; padding: 3rem 0 1rem; border-top: 2px solid #e94560; } .footer-container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-bottom: 2rem; } .footer-section h4 { color: #e94560; margin-bottom: 1rem; font-size: 1.2rem; } .footer-section ul { list-style: none; } .footer-section ul li { margin: 0.5rem 0; } .footer-section a { color: #aaa; text-decoration: none; transition: color 0.3s ease; } .footer-section a:hover { color: #e94560; } .footer-bottom { text-align: center; padding: 1.5rem; border-top: 1px solid rgba(233, 69, 96, 0.3); color: #888; font-size: 0.9rem; } /* Mobile Responsive */ @media (max-width: 968px) { .main-container { grid-template-columns: 1fr; } .sidebar { position: static; } .movies-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); } } @media (max-width: 768px) { .header-container { padding: 0 1rem; } nav { position: fixed; top: 70px; left: -100%; flex-direction: column; background: rgba(15, 15, 30, 0.98); width: 100%; padding: 2rem; gap: 1rem; transition: left 0.3s ease; border-bottom: 2px solid #e94560; align-items: flex-start; } nav.active { left: 0; } .menu-toggle { display: flex; } .main-container { padding: 0 1rem; } .footer-container { grid-template-columns: 1fr; text-align: center; } } @media (max-width: 480px) { .movies-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 1rem; } .movie-thumbnail { height: 220px; } .logo { font-size: 1.5rem; } } .pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 20px 0; } .pagination a { padding: 8px 12px; text-decoration: none; color: #e94560; border: 1px solid #ccc; border-radius: 4px; background-color: #f9f9f9; transition: background 0.3s; } .pagination a:hover { background-color: #e94560; color: #fff; border-color: #e94560; } .pagination .active { background-color: #e94560; color: white; border-color: #e94560; } /* ===== Search Bar ===== */ .search-bar { display: flex; align-items: center; gap: 8px; background: rgba(30, 30, 50, 0.7); padding: 6px; border-radius: 50px; border: 1px solid rgba(233, 69, 96, 0.4); backdrop-filter: blur(8px); } .search-bar select, .search-bar input { background: transparent; border: none; outline: none; color: #e0e0e0; padding: 10px 14px; font-size: 0.9rem; } .search-bar select { border-right: 1px solid rgba(233, 69, 96, 0.4); cursor: pointer; } .search-bar option { background: #1a1a2e; color: #fff; } .search-bar input::placeholder { color: #aaa; } .search-bar button { background: #e94560; border: none; color: #fff; padding: 10px 18px; border-radius: 40px; cursor: pointer; font-weight: 600; transition: all 0.3s ease; } .search-bar button:hover { background: #ff5f7a; } /* Mobile */ @media (max-width: 768px) { .search-bar { width: 100%; margin-top: 10px; } }