/* Netflix-style dark theme */ :root { --bg-primary: #0a0a0a; --bg-secondary: #141414; --bg-card: #1f1f1f; --bg-card-hover: #2a2a2a; --text-primary: #ffffff; --text-secondary: #b3b3b3; --text-muted: #808080; --accent-red: #e50914; --accent-red-hover: #f40612; --border-color: #333333; --shadow-color: rgba(0, 0, 0, 0.75); --gradient-fade: linear-gradient(to top, var(--bg-primary) 0%, transparent 100%); --header-height: 56px; --card-width: 160px; --card-aspect-ratio: 2/3; --section-padding: 2.5%; --transition-fast: 150ms ease; --transition-medium: 300ms ease; } * { margin: 0; padding: 0; box-sizing: border-box; } html, body { font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif; background-color: var(--bg-primary); color: var(--text-primary); min-height: 100vh; overflow-x: hidden; -webkit-font-smoothing: antialiased; text-align: justify; hyphens: auto; -webkit-hyphens: auto; -ms-hyphens: auto; } #app { min-height: 100vh; position: relative; } /* Scrollbar styling */ ::-webkit-scrollbar { width: 8px; height: 8px; } ::-webkit-scrollbar-track { background: var(--bg-secondary); } ::-webkit-scrollbar-thumb { background: var(--text-muted); border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background: var(--text-secondary); } /* Header - persistent overlay that scrolls with content */ .header { position: absolute; left: 0; right: 0; height: var(--header-height); background: transparent; z-index: 50; display: flex; align-items: center; padding: 0 12px; transition: top 0.6s cubic-bezier(0.4, 0, 0.2, 1); } .header-top { top: 40px; } .header-after-hero { /* Position after browse collage-hero (70vh, max 600px) */ top: clamp(450px, 70vh, 600px); } .header-after-movie-header { /* Position after movie detail collage-header (300px) */ top: 320px; } .header-after-series-hero { /* Position after series detail hero (70vh, 450-600px) */ top: clamp(450px, 70vh, 600px); } /* Spacer to reserve space for header in layout */ .header-spacer { height: calc(var(--header-height) + 20px); } .header-left { display: flex; align-items: center; gap: 12px; } .header-logo { height: 40px; width: 40px; margin-right: 20px; object-fit: contain; } .header-nav { display: flex; gap: 20px; min-width: 200px; } .header-nav-item { color: var(--text-secondary); text-decoration: none; font-size: 1.6rem; font-weight: 500; cursor: pointer; transition: color var(--transition-fast); background: none; border: none; padding: 0; } .header-nav-item:hover, .header-nav-item.active { color: var(--text-primary); } .header-nav-item:focus, .header-nav-item.nav-focused { color: var(--text-primary); outline: none; text-decoration: underline; text-underline-offset: 4px; } .header-search { display: flex; align-items: center; gap: 12px; } .search-input { background: rgba(20, 20, 20, 0.9); border: 2px solid var(--border-color); border-radius: 4px; padding: 4px 10px; color: var(--text-primary); font-size: 1.6rem; width: 6em; transition: all var(--transition-fast); } .search-input:focus { outline: none; border-color: var(--text-secondary); border-width: 3px; } .search-input::placeholder { color: var(--text-muted); } /* Main content */ .main-content { min-height: 100vh; background: var(--bg-primary); } .main-content-no-hero { padding-top: 40px; } /* Hero section - kept for backwards compatibility but not used */ .hero { position: relative; height: 70vh; max-height: 600px; min-height: 400px; display: flex; align-items: flex-end; padding: 0 4% 8%; background-color: var(--bg-primary); overflow: hidden; } .hero-background { position: absolute; top: 0; right: 0; width: 60%; height: 100%; background-size: contain; background-position: right top; background-repeat: no-repeat; mask-image: linear-gradient(to left, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 60%, transparent 100%); -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 60%, transparent 100%); } .hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 200px; background: var(--gradient-fade); } .hero-content { position: relative; z-index: 1; max-width: 600px; } .hero-title { font-size: 3rem; font-weight: 700; margin-bottom: 16px; text-shadow: 2px 2px 4px var(--shadow-color); } .hero-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; font-size: 1rem; } .hero-year { color: var(--text-secondary); } .hero-quality { background: var(--bg-secondary); padding: 4px 8px; border-radius: 4px; font-size: 0.8rem; font-weight: 600; } .hero-buttons { display: flex; gap: 12px; margin-top: 24px; } /* Blinking animation for button focus */ @keyframes btn-outline-blink { 0%, 100% { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9); } 50% { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4); } } .btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: 4px; font-size: 1.1rem; font-weight: 600; cursor: pointer; border: none; transition: all var(--transition-fast); outline: none; } .btn:focus { outline: none; } .btn.nav-focused, .btn:focus-visible { outline: none; } .btn-primary { background: var(--text-primary); color: var(--bg-primary); } .btn-primary:hover, .btn-primary.nav-focused { background: rgba(255, 255, 255, 0.85); animation: btn-outline-blink 1s ease-in-out infinite; } .btn-secondary { background: rgba(109, 109, 110, 0.7); color: var(--text-primary); } .btn-secondary:hover, .btn-secondary.nav-focused { background: rgba(109, 109, 110, 0.5); animation: btn-outline-blink 1s ease-in-out infinite; } /* View transitions - cinematic zoom effect */ .view-container { position: relative; overflow: hidden; } .view-content { width: 100%; } .view-zoom-enter-active { transition: opacity 0.4s ease-out, transform 0.4s ease-out; } .view-zoom-leave-active { transition: opacity 0.3s ease-in, transform 0.3s ease-in; } .view-zoom-enter-from { opacity: 0; transform: scale(1.02) translateY(-10px); } .view-zoom-leave-to { opacity: 0; transform: scale(0.98) translateY(10px); } /* Media rows */ .media-section { padding: 0 var(--section-padding); margin-bottom: 20px; } .section-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 10px; color: var(--text-primary); } .media-row { display: flex; gap: 6px; overflow-x: auto; overflow-y: hidden; scroll-behavior: smooth; padding-bottom: 8px; margin: 0 -2px; padding: 4px 2px 8px; scrollbar-width: none; -ms-overflow-style: none; } .media-row::-webkit-scrollbar { height: 0; display: none; } .media-row-wrap { flex-wrap: wrap; overflow-x: visible; overflow-y: visible; gap: 12px; padding-bottom: 20px; } /* Media cards */ .media-card { flex-shrink: 0; width: var(--card-width); cursor: pointer; transition: z-index 0s, box-shadow var(--transition-medium); position: relative; outline: none; } .media-card:hover, .media-card.nav-focused { z-index: 10; } .media-card:focus { outline: none; } .media-card:focus-visible { outline: none; } .media-card-poster { width: 100%; aspect-ratio: var(--card-aspect-ratio); background: var(--bg-card); border-radius: 3px; overflow: hidden; position: relative; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4); } .media-card:hover .media-card-poster { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6); } .media-card-poster img { width: 100%; height: 100%; object-fit: cover; transition: opacity var(--transition-fast); } .media-card-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: repeating-linear-gradient( 45deg, rgba(100, 100, 100, 0.4), rgba(100, 100, 100, 0.4) 10px, rgba(80, 80, 80, 0.4) 10px, rgba(80, 80, 80, 0.4) 20px ), linear-gradient(135deg, #3a3a3a 0%, #2a2a2a 100%); color: #888; font-size: 3rem; border: 2px dashed #555; gap: 8px; } .media-card-placeholder::after { content: "No Cover"; font-size: 0.7rem; color: #666; letter-spacing: 0.5px; } .media-card-info { padding: 4px 2px 2px; opacity: 1; transition: opacity var(--transition-fast); } .media-card:hover .media-card-info { opacity: 1; } .media-card-title-row { display: flex; align-items: baseline; gap: 4px; margin-bottom: 2px; } .media-card-title { font-size: 0.75rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; } .media-card-year { font-size: 0.7rem; color: var(--text-muted); flex-shrink: 0; } .media-card-meta { font-size: 0.7rem; color: var(--text-muted); display: flex; gap: 6px; } /* Modal / Detail view */ .modal-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.85); z-index: 1000; display: flex; align-items: flex-start; justify-content: center; padding: 40px 20px; overflow-y: auto; } .modal-content { background: var(--bg-secondary); border-radius: 8px; width: 100%; max-width: 900px; overflow: hidden; box-shadow: 0 20px 60px var(--shadow-color); animation: modalIn 0.3s ease; } @keyframes modalIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } } .modal-header { position: relative; height: 400px; background-size: cover; background-position: center; } .modal-header::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 200px; background: linear-gradient(to top, var(--bg-secondary) 0%, transparent 100%); } .modal-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; background: var(--bg-primary); border: none; color: var(--text-primary); font-size: 1.5rem; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 10; transition: background var(--transition-fast); } .modal-close:hover { background: var(--bg-card); } .modal-header-content { position: absolute; bottom: 24px; left: 32px; right: 32px; z-index: 5; } .modal-title { font-size: 2.5rem; font-weight: 700; margin-bottom: 16px; } .modal-body { padding: 24px 32px 32px; } .modal-meta { display: flex; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; } .modal-meta-item { display: flex; align-items: center; gap: 6px; font-size: 0.9rem; color: var(--text-secondary); } .modal-meta-badge { background: var(--bg-card); padding: 4px 10px; border-radius: 4px; font-size: 0.8rem; font-weight: 600; } .modal-actions { display: flex; gap: 12px; margin-bottom: 32px; } /* Season selector for series */ .season-selector { margin-bottom: 24px; } .season-selector label { display: block; font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 8px; } .season-selector select { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 4px; padding: 10px 16px; color: var(--text-primary); font-size: 1rem; cursor: pointer; min-width: 200px; } .season-selector select:focus { outline: none; border-color: var(--text-secondary); } /* Release list */ .release-list { display: flex; flex-direction: column; gap: 8px; } .release-item { display: flex; align-items: center; justify-content: space-between; padding: 16px; background: var(--bg-card); border-radius: 4px; transition: background var(--transition-fast); } .release-item:hover { background: var(--bg-card-hover); } .release-info { display: flex; flex-direction: column; gap: 4px; } .release-name { font-weight: 500; } .release-meta { display: flex; gap: 12px; font-size: 0.85rem; color: var(--text-muted); } .release-actions { display: flex; gap: 8px; } .btn-small { padding: 8px 16px; font-size: 0.85rem; } /* Loading state */ .loading { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 60vh; gap: 16px; } .loading-spinner { width: 48px; height: 48px; border: 3px solid var(--bg-card); border-top-color: var(--accent-red); border-radius: 50%; animation: spin 1s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } .loading-text { color: var(--text-secondary); font-size: 1rem; } /* Error state */ .error { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 60vh; gap: 16px; padding: 40px; text-align: center; } .error-icon { font-size: 4rem; color: var(--accent-red); } .error-title { font-size: 1.5rem; font-weight: 600; } .error-message { color: var(--text-secondary); max-width: 500px; } /* Empty state */ .empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); } .empty-state-icon { font-size: 4rem; margin-bottom: 16px; } /* Responsive */ @media (max-width: 768px) { :root { --card-width: 120px; --section-padding: 3%; } .hero { height: 50vh; min-height: 300px; } .hero-title { font-size: 1.5rem; } .header-nav { gap: 10px; } .search-input { width: 140px; } .modal-title { font-size: 1.5rem; } .section-title { font-size: 1rem; } } @media (max-width: 480px) { :root { --card-width: 100px; --header-height: 48px; } .header-logo { height: 32px; width: 32px; margin-right: 12px; } .media-card-info { display: none; } }