/* ══ RESET & BASE ══════════════════════════════════════════════════════════ */ *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } :root { --bg: #080808; --surface: #131313; --surface-2: #1c1c1c; --border: rgba(255,255,255,0.07); --gold: #d4a853; --gold-dim: rgba(212,168,83,0.45); --gold-glow: rgba(212,168,83,0.12); --text: #e8e8e8; --text-dim: #888; --text-muted: #555; --radius: 10px; --header-h: 64px; --transition: 0.2s ease; } html { scroll-behavior: smooth; } body { background: var(--bg); color: var(--text); font-family: 'Inter', system-ui, sans-serif; font-size: 14px; min-height: 100vh; overflow-x: hidden; } /* ══ HEADER ════════════════════════════════════════════════════════════════ */ .header { position: fixed; top: 0; left: 0; right: 0; height: var(--header-h); background: rgba(8,8,8,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); z-index: 100; } .header-inner { max-width: 1440px; margin: 0 auto; height: 100%; padding: 0 24px; display: flex; align-items: center; gap: 24px; } .brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; text-decoration: none; } .brand-logo { color: var(--gold); font-size: 22px; line-height: 1; } .brand-text { display: flex; flex-direction: column; line-height: 1.1; } .brand-name { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 700; letter-spacing: 0.08em; color: var(--text); } .brand-sub { font-size: 9px; font-weight: 600; letter-spacing: 0.22em; color: var(--gold); text-transform: uppercase; } .search-wrap { flex: 1; max-width: 520px; position: relative; margin: 0 auto; } .search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--text-muted); pointer-events: none; } .search-input { width: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 9px 40px 9px 36px; color: var(--text); font-family: 'Inter', sans-serif; font-size: 13.5px; outline: none; transition: border-color var(--transition), box-shadow var(--transition); } .search-input::placeholder { color: var(--text-muted); } .search-input:focus { border-color: var(--gold-dim); box-shadow: 0 0 0 3px var(--gold-glow); } .search-kbd { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: 11px; color: var(--text-muted); background: var(--surface-2); border: 1px solid var(--border); border-radius: 4px; padding: 2px 5px; pointer-events: none; } .header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; } .btn-ghost { background: none; border: 1px solid var(--border); border-radius: 7px; color: var(--text-dim); cursor: pointer; padding: 7px 10px; display: flex; align-items: center; gap: 6px; font-size: 13px; transition: color var(--transition), border-color var(--transition), background var(--transition); position: relative; } .btn-ghost:hover { color: var(--text); border-color: rgba(255,255,255,0.15); background: var(--surface); } .dl-badge { position: absolute; top: -5px; right: -5px; background: var(--gold); color: #000; font-size: 10px; font-weight: 700; min-width: 17px; height: 17px; border-radius: 9px; display: flex; align-items: center; justify-content: center; padding: 0 4px; } /* ══ MAIN ══════════════════════════════════════════════════════════════════ */ .main { max-width: 1440px; margin: 0 auto; padding: calc(var(--header-h) + 28px) 24px 80px; } .status-bar { font-size: 12.5px; color: var(--text-muted); margin-bottom: 20px; letter-spacing: 0.02em; } /* ══ CATEGORY BAR ══════════════════════════════════════════════════════════ */ .cat-bar { display: flex; gap: 8px; margin-bottom: 20px; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; padding-bottom: 2px; } .cat-bar::-webkit-scrollbar { display: none; } .cat-pill { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; color: var(--text-dim); cursor: pointer; font-family: 'Inter', sans-serif; font-size: 13px; padding: 6px 6px 6px 14px; white-space: nowrap; transition: color var(--transition), border-color var(--transition), background var(--transition); flex-shrink: 0; display: flex; align-items: center; gap: 4px; } .cat-pill:hover { color: var(--text); border-color: rgba(255,255,255,0.15); } .cat-pill.active { background: var(--gold); border-color: var(--gold); color: #000; font-weight: 600; } .auto-icon { font-size: 12px; line-height: 1; opacity: 0.55; padding: 2px 5px; border-radius: 10px; transition: opacity var(--transition), background var(--transition), color var(--transition); cursor: pointer; } .auto-icon:hover { opacity: 1; background: rgba(255,255,255,0.12); } .auto-icon.active { opacity: 1; color: var(--gold); } .cat-pill.active .auto-icon { opacity: 0.6; color: #000; } .cat-pill.active .auto-icon.active { opacity: 1; background: rgba(0,0,0,0.18); color: #000; } /* ══ GRID ══════════════════════════════════════════════════════════════════ */ .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; } @media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, 1fr); } } @media (max-width: 720px) { .grid { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 480px) { .grid { grid-template-columns: 1fr; } } /* ══ CARD ══════════════════════════════════════════════════════════════════ */ .card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; cursor: pointer; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), opacity var(--transition), filter var(--transition); position: relative; } .card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.6), 0 0 0 1px var(--gold-dim); border-color: var(--gold-dim); } .card.downloaded { opacity: 0.45; filter: grayscale(0.6); } .card.downloaded:hover { opacity: 0.65; filter: grayscale(0.4); transform: none; box-shadow: none; border-color: var(--border); } .card-thumb-wrap { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #111; } .card-thumb { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; display: block; } .card:hover .card-thumb { transform: scale(1.04); } .card-thumb-wrap::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.55) 75%, rgba(0,0,0,0.85) 100% ); } .card-duration { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,0.75); border: 1px solid rgba(255,255,255,0.1); color: var(--text); font-size: 11px; font-weight: 500; padding: 2px 6px; border-radius: 4px; z-index: 2; letter-spacing: 0.02em; } .card-downloaded { position: absolute; top: 8px; left: 8px; background: rgba(0,0,0,0.7); border: 1px solid var(--gold-dim); color: var(--gold); font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 4px; z-index: 2; letter-spacing: 0.06em; text-transform: uppercase; } .card-info { padding: 12px 14px 14px; } .card-title { font-family: 'Playfair Display', serif; font-size: 15px; font-weight: 400; line-height: 1.35; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .card-subtitle { margin-top: 3px; font-size: 11.5px; color: var(--gold); letter-spacing: 0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .card-date { margin-top: 6px; font-size: 11.5px; color: var(--text-muted); letter-spacing: 0.03em; } /* ══ SKELETON ══════════════════════════════════════════════════════════════ */ .skeleton { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); aspect-ratio: 16/11; overflow: hidden; position: relative; } .skeleton::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.04) 50%, transparent 100% ); background-size: 200% 100%; animation: shimmer 1.5s infinite; } @keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } } /* ══ PAGINATION ════════════════════════════════════════════════════════════ */ .pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 40px; } .page-btn { background: var(--surface); border: 1px solid var(--border); border-radius: 7px; color: var(--text-dim); cursor: pointer; min-width: 36px; height: 36px; padding: 0 10px; font-size: 13px; font-family: 'Inter', sans-serif; transition: all var(--transition); } .page-btn:hover { border-color: var(--gold-dim); color: var(--text); } .page-btn.active { background: var(--gold); border-color: var(--gold); color: #000; font-weight: 600; } .page-btn:disabled { opacity: 0.3; cursor: default; } /* ══ MODAL ═════════════════════════════════════════════════════════════════ */ .modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.82); backdrop-filter: blur(6px); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; } .modal-overlay[hidden] { display: none; } .modal { background: var(--surface); border: 1px solid rgba(255,255,255,0.1); border-radius: 14px; width: 100%; max-width: 640px; max-height: 90vh; overflow-y: auto; position: relative; box-shadow: 0 40px 100px rgba(0,0,0,0.8); animation: modal-in 0.22s ease; } @keyframes modal-in { from { opacity: 0; transform: scale(0.95) translateY(12px); } to { opacity: 1; transform: none; } } .modal-close { position: absolute; top: 12px; right: 12px; background: rgba(0,0,0,0.5); border: 1px solid var(--border); border-radius: 50%; color: var(--text-dim); cursor: pointer; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; font-size: 13px; z-index: 2; transition: color var(--transition); } .modal-close:hover { color: var(--text); } .modal-thumb-wrap { position: relative; aspect-ratio: 16/9; overflow: hidden; border-radius: 14px 14px 0 0; background: #111; } .modal-thumb { width: 100%; height: 100%; object-fit: cover; display: block; } .modal-thumb-gradient { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 50%, var(--surface) 100%); } .modal-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 14px; } .modal-head-text { flex: 1; min-width: 0; } .modal-poster { width: 64px; flex-shrink: 0; border-radius: 6px; box-shadow: 0 4px 16px rgba(0,0,0,0.5); object-fit: cover; margin-top: 2px; } .modal-poster[hidden] { display: none; } .modal-duration-badge { position: absolute; bottom: 12px; right: 12px; background: rgba(0,0,0,0.75); border: 1px solid rgba(255,255,255,0.12); color: var(--text); font-size: 12px; font-weight: 500; padding: 3px 8px; border-radius: 5px; letter-spacing: 0.02em; } .modal-body { padding: 20px 28px 28px; } .modal-title { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; line-height: 1.3; margin-bottom: 6px; } .modal-meta { font-size: 12.5px; color: var(--gold); letter-spacing: 0.04em; } .modal-desc { font-size: 13.5px; color: var(--text-dim); line-height: 1.65; max-height: 120px; overflow-y: auto; margin-bottom: 24px; } .modal-desc::-webkit-scrollbar { width: 4px; } .modal-desc::-webkit-scrollbar-track { background: transparent; } .modal-desc::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; } .modal-actions { display: flex; align-items: center; gap: 12px; } .btn-download { background: var(--gold); color: #000; border: none; border-radius: 8px; padding: 10px 22px; font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: opacity var(--transition), transform var(--transition); } .btn-download:hover { opacity: 0.88; transform: translateY(-1px); } .btn-download:active { transform: none; } .btn-download:disabled { opacity: 0.5; cursor: default; transform: none; } .btn-watch { color: var(--text-dim); text-decoration: none; font-size: 13px; display: flex; align-items: center; gap: 6px; transition: color var(--transition); } .btn-watch:hover { color: var(--text); } .dl-progress-wrap { margin-top: 16px; display: flex; align-items: center; gap: 12px; } .dl-progress-wrap[hidden] { display: none; } .dl-progress-bar { flex: 1; height: 4px; background: var(--surface-2); border-radius: 2px; overflow: hidden; } .dl-progress-fill { height: 100%; background: var(--gold); border-radius: 2px; transition: width 0.5s ease; width: 0%; } .dl-progress-label { font-size: 12px; color: var(--text-dim); min-width: 36px; text-align: right; } /* ══ DOWNLOADS PANEL ═══════════════════════════════════════════════════════ */ .dl-panel { position: fixed; bottom: 0; left: 0; right: 0; max-height: 360px; background: var(--surface); border-top: 1px solid var(--border); z-index: 150; box-shadow: 0 -16px 48px rgba(0,0,0,0.5); animation: slide-up 0.25s ease; } .dl-panel[hidden] { display: none; } @keyframes slide-up { from { transform: translateY(100%); } to { transform: none; } } .dl-panel-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; border-bottom: 1px solid var(--border); } .dl-panel-title { font-size: 13px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-dim); } .dl-panel-body { overflow-y: auto; max-height: 300px; padding: 8px 0; } .dl-empty { padding: 20px 24px; color: var(--text-muted); font-size: 13px; } .dl-item { padding: 10px 24px; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; border-bottom: 1px solid var(--border); } .dl-item:last-child { border-bottom: none; } .dl-item-title { font-family: 'Playfair Display', serif; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .dl-item-state { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; text-align: right; } .dl-item-state.done { color: #5cb85c; } .dl-item-state.error { color: #e55; } .dl-item-state.queued { color: var(--text-muted); } .dl-item-state.downloading, .dl-item-state.processing { color: var(--gold); } .dl-item-bar-wrap { grid-column: 1 / -1; height: 3px; background: var(--surface-2); border-radius: 2px; overflow: hidden; } .dl-item-bar-fill { height: 100%; background: var(--gold); border-radius: 2px; transition: width 0.5s ease; } /* scrollbars */ ::-webkit-scrollbar { width: 6px; height: 6px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; } ::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.15); }