:root { --bg-base: #09090b; --bg-surface: #121215; --bg-surface-hover: #1e1e22; --accent: #8b5cf6; --accent-glow: rgba(139, 92, 246, 0.4); --text-primary: #ffffff; --text-secondary: #a1a1aa; --radius-md: 12px; --radius-lg: 24px; --nav-height: 80px; } * { box-sizing: border-box; outline: none; } body { margin: 0; background-color: var(--bg-base); color: var(--text-primary); font-family: 'Inter', system-ui, sans-serif; overflow-x: hidden; } .navbar { width: 100%; height: var(--nav-height); position: fixed; top: 0; z-index: 1000; display: flex; align-items: center; justify-content: space-between; padding: 0 3rem; background: linear-gradient(to bottom, rgba(9,9,11,0.9) 0%, rgba(9,9,11,0) 100%); transition: background 0.3s; } .navbar.scrolled { background: rgba(9, 9, 11, 0.85); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.05); } .nav-brand { font-weight: 900; font-size: 1.5rem; display: flex; align-items: center; gap: 0.8rem; letter-spacing: -0.5px; min-width: 200px; color: white; text-decoration: none; cursor: pointer; } .brand-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; overflow: hidden; } .brand-icon img { width: 70%; height: 70%; object-fit: contain; } .nav-center { display: flex; gap: 0.5rem; background: rgba(255,255,255,0.03); padding: 0.4rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.05); } .nav-button { background: transparent; border: none; color: var(--text-secondary); padding: 0.6rem 1.5rem; border-radius: 999px; cursor: pointer; font-weight: 600; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); } .nav-button:hover { color: white; } .nav-button.active { background: rgba(255, 255, 255, 0.1); color: white; box-shadow: 0 4px 15px rgba(0,0,0,0.2); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.1); } .search-wrapper { position: relative; width: 300px; z-index: 2000; } .search-input { width: 100%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); padding: 0.7rem 1rem 0.7rem 2.5rem; border-radius: 99px; color: white; font-family: inherit; transition: 0.2s; } .search-input:focus { background: rgba(0, 0, 0, 0.8); border-color: var(--accent); box-shadow: 0 0 15px var(--accent-glow); border-radius: 12px 12px 0 0; } .search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--text-secondary); } .search-results { position: absolute; top: 100%; left: 0; right: 0; background: rgba(15, 15, 18, 0.95); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.1); border-top: none; border-radius: 0 0 12px 12px; padding: 0.5rem; display: none; flex-direction: column; gap: 0.25rem; box-shadow: 0 10px 30px rgba(0,0,0,0.5); max-height: 400px; overflow-y: auto; } .search-results.active { display: flex; } .search-item { display: flex; align-items: center; gap: 1rem; padding: 0.5rem; border-radius: 8px; cursor: pointer; transition: background 0.2s; text-decoration: none; color: inherit; } .search-item:hover { background: rgba(255,255,255,0.1); } .search-poster { width: 40px; height: 56px; border-radius: 4px; object-fit: cover; background: #222; } .search-info { flex: 1; overflow: hidden; } .search-title { font-size: 0.9rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text-primary); } .search-meta { display: flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; color: var(--text-secondary); margin-top: 2px; } .rating-pill { color: #4ade80; font-weight: 700; } .hero-wrapper { position: relative; height: 85vh; width: 100%; overflow: hidden; } .hero-background { position: absolute; inset: 0; z-index: 0; } #hero-bg-media { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; transform: scale(1.1); transition: opacity 1s ease; } .hero-vignette { position: absolute; inset: 0; background: radial-gradient(circle at center, transparent 0%, var(--bg-base) 120%), linear-gradient(to top, var(--bg-base) 10%, transparent 60%); z-index: 1; } .hero-content { position: relative; z-index: 10; height: 100%; max-width: 1600px; margin: 0 auto; padding: 0 3rem; display: flex; align-items: flex-end; padding-bottom: 6rem; gap: 3rem; } .hero-poster-card { width: 260px; height: 380px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7); border: 1px solid rgba(255,255,255,0.1); flex-shrink: 0; background: #1a1a1a; } .hero-poster-card img { width: 100%; height: 100%; object-fit: cover; } .hero-text { flex: 1; max-width: 800px; margin-bottom: 1rem; animation: fadeInUp 0.8s ease; } .hero-title { font-size: 4rem; font-weight: 900; line-height: 1.1; margin: 0 0 1rem 0; text-shadow: 0 4px 20px rgba(0,0,0,0.8); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .hero-meta { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 1.5rem; font-size: 1.1rem; font-weight: 600; } .score-badge { color: #22c55e; background: rgba(34, 197, 94, 0.1); padding: 0.2rem 0.8rem; border-radius: 6px; border: 1px solid rgba(34, 197, 94, 0.2); } .hero-desc { font-size: 1.1rem; line-height: 1.6; color: #e4e4e7; margin-bottom: 2rem; max-width: 650px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-shadow: 0 2px 4px rgba(0,0,0,0.5); } .hero-buttons { display: flex; gap: 1rem; } .btn-primary, .btn-blur { padding: 1rem 2.5rem; border-radius: 999px; font-weight: 700; font-size: 1rem; border: none; cursor: pointer; display: flex; align-items: center; gap: 0.5rem; transition: transform 0.2s; } .btn-primary { background: white; color: black; } .btn-primary:hover { transform: scale(1.05); } .btn-blur { background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); color: white; border: 1px solid rgba(255,255,255,0.2); } .btn-blur:hover { background: rgba(255, 255, 255, 0.2); } .section { max-width: 1700px; margin: 0 auto; padding: 2rem 3rem; } .section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; } .section-title { font-size: 1.8rem; font-weight: 800; } .carousel-wrapper { position: relative; } .carousel { display: flex; gap: 1.25rem; overflow-x: auto; padding: 1rem 0; scroll-behavior: smooth; scrollbar-width: none; } .carousel::-webkit-scrollbar { display: none; } .scroll-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; background: rgba(20, 20, 23, 0.9); border: 1px solid rgba(255,255,255,0.1); color: white; z-index: 20; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; transition: 0.3s; } .carousel-wrapper:hover .scroll-btn { opacity: 1; } .scroll-btn:hover { background: var(--accent); } .scroll-btn.left { left: -25px; } .scroll-btn.right { right: -25px; } .card { min-width: 220px; cursor: pointer; transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); } .card:hover { transform: translateY(-8px); } .card-img-wrap { width: 100%; aspect-ratio: 2/3; border-radius: var(--radius-md); overflow: hidden; position: relative; margin-bottom: 0.8rem; background: #222; } .card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; } .card:hover .card-img-wrap img { transform: scale(1.05); } .card-content h3 { margin: 0; font-size: 1rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .card-content p { margin: 4px 0 0 0; font-size: 0.85rem; color: var(--text-secondary); } .skeleton { background: linear-gradient(90deg, #18181b 25%, #27272a 50%, #18181b 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: 6px; display: inline-block; } .text-skeleton { height: 1em; width: 70%; margin-bottom: 0.5rem; } .title-skeleton { height: 3em; width: 80%; margin-bottom: 1rem; } .poster-skeleton { width: 100%; height: 100%; } @keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } } @keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } @media (max-width: 768px) { :root { --nav-height: auto; } .navbar { padding: 1rem; flex-wrap: wrap; gap: 1rem; background: rgba(9,9,11,0.98); position: fixed; } .nav-brand { flex: 1; min-width: auto; font-size: 1.3rem; } .search-wrapper { order: 2; width: auto; flex: 1; min-width: 140px; } .search-input { width: 100%; padding-left: 2.2rem; font-size: 0.9rem; } .nav-center { order: 3; width: 100%; padding: 0.5rem 0; overflow-x: auto; justify-content: flex-start; gap: 0.8rem; background: transparent; border: none; border-radius: 0; -webkit-overflow-scrolling: touch; scrollbar-width: none; } .nav-center::-webkit-scrollbar { display: none; } .nav-button { flex-shrink: 0; background: rgba(255,255,255,0.05); padding: 0.5rem 1rem; font-size: 0.85rem; border-radius: 99px; } .hero-wrapper { height: 75vh; } .hero-content { flex-direction: column; justify-content: flex-end; padding: 0 1.5rem 6rem 1.5rem; gap: 1rem; } .hero-poster-card { display: none; } .hero-text { width: 100%; text-align: center; margin-bottom: 0; } .hero-title { font-size: 2.5rem; line-height: 1.1; } .hero-meta { justify-content: center; flex-wrap: wrap; gap: 0.8rem; } .hero-buttons { justify-content: center; width: 100%; } .btn-primary, .btn-blur { flex: 1; justify-content: center; } .hero-desc { text-align: center; -webkit-line-clamp: 3; font-size: 0.95rem; } .section { padding: 1.5rem 1rem; } .section-title { font-size: 1.4rem; } .scroll-btn { display: none; } .card { min-width: 140px; } .search-results { position: fixed; top: 120px; left: 0; right: 0; width: 100%; border-radius: 0; max-height: 60vh; border: none; z-index: 2001; } } .adv-search-btn { position: absolute; top: 50%; /* Centrado verticalmente */ right: 5px; /* Ajusta la distancia del borde derecho */ transform: translateY(-50%); /* Ajuste fino de centrado */ /* Estilos para que parezca un botón de icono */ background: transparent; border: none; cursor: pointer; padding: 5px; /* Área de clic cómoda */ line-height: 0; /* Elimina espacio extra */ /* Opcional: Dale un color de icono que combine */ transition: color 0.2s; } /* 3. Efecto al pasar el ratón (hover) */ .adv-search-btn:hover { color: var(--color-primary, #fff); /* Cambia de color al pasar el mouse */ }