:root{color-scheme:dark;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;line-height:1.5;--bg: #0a0a0c;--surface: #141418;--surface-hover: #1c1c22;--border: rgba(255, 255, 255, .08);--text: #f0f0f0;--text-muted: rgba(255, 255, 255, .55);--accent: #e50914;--accent-hover: #f6121d;--gold: #f5c518;--radius: .5rem;--radius-lg: .75rem}*{box-sizing:border-box;margin:0;padding:0}html,body,#root{min-height:100vh;background:var(--bg);color:var(--text)}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.header{position:sticky;top:0;z-index:100;background:#0a0a0cd9;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-bottom:1px solid var(--border)}.header-inner{max-width:1280px;margin:0 auto;padding:.75rem 1.5rem;display:flex;align-items:center;gap:1.5rem}.logo{display:flex;align-items:center;gap:.5rem;font-size:1.2rem;font-weight:700;color:var(--accent);letter-spacing:-.02em;white-space:nowrap;flex-shrink:0}.search-box{position:relative;flex:1;max-width:420px}.search-icon{position:absolute;left:.75rem;top:50%;transform:translateY(-50%);color:var(--text-muted);pointer-events:none}.search-box input{width:100%;padding:.6rem .75rem .6rem 2.5rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);color:var(--text);font-size:.875rem;outline:none;transition:border-color .2s}.search-box input::placeholder{color:var(--text-muted)}.search-box input:focus{border-color:#e5091480}.main{max-width:1280px;margin:0 auto;padding:1.5rem}.genres{display:flex;gap:.5rem;overflow-x:auto;padding-bottom:.5rem;scrollbar-width:none;-ms-overflow-style:none;margin-bottom:.5rem}.genres::-webkit-scrollbar{display:none}.genre-pill{padding:.35rem .85rem;border-radius:999px;border:1px solid var(--border);background:transparent;color:var(--text-muted);font-size:.8rem;cursor:pointer;white-space:nowrap;transition:all .2s}.genre-pill:hover{color:var(--text);border-color:#fff3;background:var(--surface)}.genre-pill.active{background:var(--accent);border-color:var(--accent);color:#fff;font-weight:600}.results-info{font-size:.8rem;color:var(--text-muted);margin-bottom:1.25rem}.loading-pulse{animation:pulse 1.5s ease-in-out infinite}@keyframes pulse{0%,to{opacity:.5}50%{opacity:1}}.movie-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:1.25rem}@media(min-width:640px){.movie-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}}@media(min-width:1024px){.movie-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}}.movie-card{background:var(--surface);border-radius:var(--radius-lg);overflow:hidden;cursor:pointer;transition:transform .2s,box-shadow .2s;outline:none}.movie-card:hover,.movie-card:focus-visible{transform:translateY(-4px);box-shadow:0 12px 40px #00000080}.poster-wrap{position:relative;aspect-ratio:2/3;overflow:hidden;background:#1a1a20}.poster-skeleton{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(110deg,#1a1a20 30%,#22222a,#1a1a20 70%);background-size:200% 100%;animation:shimmer 1.5s infinite}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.poster-wrap img{width:100%;height:100%;object-fit:cover;transition:opacity .3s}.poster-overlay{position:absolute;top:0;left:0;right:0;padding:.5rem;display:flex;justify-content:flex-end;opacity:0;transition:opacity .2s}.movie-card:hover .poster-overlay{opacity:1}.rating-badge{display:inline-flex;align-items:center;gap:.25rem;padding:.2rem .5rem;background:#000000b3;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:999px;font-size:.75rem;font-weight:600;color:var(--gold)}.rating-badge.large{font-size:.9rem;padding:.3rem .6rem}.card-body{padding:.75rem}.card-title{font-size:.875rem;font-weight:600;margin-bottom:.25rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card-meta{display:flex;gap:.5rem;font-size:.75rem;color:var(--text-muted);margin-bottom:.4rem}.card-genres{display:flex;gap:.35rem;flex-wrap:wrap}.mini-tag{font-size:.65rem;padding:.1rem .4rem;border-radius:999px;background:#ffffff0f;color:var(--text-muted)}.empty-state{display:flex;flex-direction:column;align-items:center;gap:.75rem;padding:4rem 1rem;color:var(--text-muted)}.empty-state p{font-size:.95rem}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:200;background:#000000bf;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:grid;place-items:center;padding:1rem;animation:fadeIn .2s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal{position:relative;width:100%;max-width:720px;max-height:90vh;overflow-y:auto;background:var(--surface);border-radius:var(--radius-lg);border:1px solid var(--border);animation:slideUp .25s ease}@keyframes slideUp{0%{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}.modal-close{position:absolute;top:.75rem;right:.75rem;z-index:10;width:36px;height:36px;display:grid;place-items:center;border-radius:50%;border:none;background:#0009;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#fff;cursor:pointer;transition:background .2s}.modal-close:hover{background:#000c}.modal-hero{position:relative;min-height:260px}.modal-backdrop-img{width:100%;height:260px;object-fit:cover;display:block}.modal-hero-fade{position:absolute;bottom:0;left:0;right:0;height:160px;background:linear-gradient(to top,var(--surface),transparent)}.modal-hero-content{position:absolute;bottom:0;left:1.5rem;right:1.5rem;display:flex;gap:1.25rem;align-items:flex-end;padding-bottom:1rem}.modal-poster{width:120px;border-radius:var(--radius);box-shadow:0 8px 24px #00000080;flex-shrink:0}.modal-hero-info h2{font-size:1.4rem;font-weight:700;margin-bottom:.35rem;line-height:1.2}.modal-meta{display:flex;align-items:center;gap:.75rem;font-size:.85rem;color:var(--text-muted);margin-bottom:.5rem}.modal-genres{display:flex;gap:.4rem;flex-wrap:wrap}.genre-tag{font-size:.7rem;padding:.2rem .6rem;border-radius:999px;border:1px solid var(--border);color:var(--text-muted)}.modal-body{padding:1.5rem}.modal-body h3{font-size:1rem;font-weight:600;margin-bottom:.5rem}.modal-body p{font-size:.9rem;color:var(--text-muted);line-height:1.7}@media(max-width:640px){.header-inner{flex-direction:column;gap:.75rem;padding:.75rem 1rem}.search-box{max-width:100%}.main{padding:1rem}.modal-hero-content{left:1rem;right:1rem}.modal-poster{width:80px}.modal-hero-info h2{font-size:1.1rem}}
