.close-search-btn { display: flex; align-items: center; gap: 8px; background: linear-gradient(135deg, #41dc9c 0%, #ff8533 100%); border: none; color: white; padding: 12px 18px; border-radius: 8px; cursor: pointer; font-size: 14px; font-weight: 600; transition: all 0.3s ease; box-shadow: 0 2px 8px rgba(244, 134, 37, 0.3); text-transform: uppercase; letter-spacing: 0.5px; } .close-search-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(244, 134, 37, 0.5); background: linear-gradient(135deg, #ff8533 0%, #41dc9c 100%); } .close-search-btn:active { transform: translateY(0); box-shadow: 0 2px 5px rgba(244, 134, 37, 0.4); } .close-search-btn svg { transition: transform 0.2s ease; } .close-search-btn:hover svg { transform: rotate(90deg); } #search-results-content { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; padding: 10px; } .search-item { display: flex; padding: 2px; flex-direction: column; background: linear-gradient(135deg, #2a2a2a 0%, #1e1e1e 100%); border-radius: 5px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.3); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer; border: 1px solid rgba(244, 134, 37, 0.1); height: auto; position: relative; aspect-ratio: 2/3; } .search-item:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(244, 134, 37, 0.2); border-color: rgba(244, 134, 37, 0.3); } .search-poster { width: 100%; height: 100%; margin-right: 1px; overflow: hidden; position: relative; } .search-poster img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 0.3s ease; } .search-item:hover .search-poster img { transform: scale(1.05); } .search-info { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 70%); padding: 20px 8px 8px 8px; display: flex; flex-direction: column; justify-content: flex-end; } .search-title { font-size: 12px; font-weight: 700; color: #ffffff; margin-bottom: 5px; line-height: 1.2; text-align: center; word-wrap: break-word; overflow-wrap: break-word; hyphens: auto; } .search-title strong { color: #41dc9c; text-shadow: 0 0 8px rgba(244, 134, 37, 0.3); } .search-year { color: #ccc; font-weight: 400; font-size: 11px; text-align: center; margin-top: auto; } .search-meta { display: flex; gap: 4px; align-items: center; justify-content: center; margin-top: 5px; font-size: 10px; color: #bbb; flex-wrap: wrap; } .search-meta span { background: rgba(244, 134, 37, 0.1); padding: 2px 4px; border-radius: 3px; border: 1px solid rgba(244, 134, 37, 0.2); } #search-results-top::-webkit-scrollbar { width: 8px; } #search-results-top::-webkit-scrollbar-track { background: #1a1a1a; border-radius: 4px; } #search-results-top::-webkit-scrollbar-thumb { background: #41dc9c; border-radius: 4px; } #search-results-top::-webkit-scrollbar-thumb:hover { background: #ff8533; } .suggestions { max-height: 300px; overflow-y: auto; overflow-x: hidden; } .suggestions::-webkit-scrollbar { width: 6px; } .suggestions::-webkit-scrollbar-track { background: #1a1a1a; border-radius: 3px; } .suggestions::-webkit-scrollbar-thumb { background: #41dc9c; border-radius: 3px; } .suggestions::-webkit-scrollbar-thumb:hover { background: #ff8533; } @media (min-width: 1920px) { #search-results-content { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 15px; padding: 15px; } .search-title { font-size: 12px; } .search-year { font-size: 13px; } } @media (max-width: 1919px) and (min-width: 1200px) { #search-results-content { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; } .search-title { font-size: 12px; } } @media (max-width: 1199px) and (min-width: 992px) { #search-results-content { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; padding: 8px; } .search-title { font-size: 12px; } .search-year { font-size: 10px; } } @media (max-width: 991px) and (min-width: 768px) { #search-results-content { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; padding: 8px; } .search-title { font-size: 12px; -webkit-line-clamp: 2; } .search-year { font-size: 9px; } .search-info { padding: 15px 6px 6px 6px; } #search-results-top { max-height: 65vh !important; padding: 12px; } } @media (max-width: 767px) and (min-width: 576px) { #search-results-content { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 6px; padding: 6px; } .search-title { font-size: 12px; -webkit-line-clamp: 2; } .search-year { font-size: 9px; } .search-info { padding: 12px 5px 5px 5px; } #search-results-top { max-height: 60vh !important; padding: 10px; } } @media (max-width: 575px) and (min-width: 480px) { #search-results-content { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 5px; padding: 5px; } .search-title { font-size: 10px; -webkit-line-clamp: 2; } .search-year { font-size: 8px; } .search-info { padding: 10px 4px 4px 4px; } .search-meta { font-size: 8px; gap: 2px; } .search-meta span { padding: 1px 3px; font-size: 7px; } #search-results-top { padding: 8px; } } @media (max-width: 479px) and (min-width: 360px) { #search-results-content { grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 4px; padding: 4px; } .search-title { font-size: 9px; -webkit-line-clamp: 2; } .search-year { font-size: 7px; } .search-info { padding: 8px 3px 3px 3px; } .search-meta { font-size: 7px; gap: 1px; } .search-meta span { padding: 1px 2px; font-size: 6px; } } @media (max-width: 359px) { #search-results-content { grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 3px; padding: 3px; } .search-title { font-size: 8px; -webkit-line-clamp: 1; } .search-year { font-size: 6px; } .search-info { padding: 6px 2px 2px 2px; } .search-meta { display: none; } } @keyframes slideInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .search-item { animation: slideInUp 0.5s ease forwards; } .search-item:nth-child(2) { animation-delay: 0.1s; } .search-item:nth-child(3) { animation-delay: 0.2s; } .search-item:nth-child(4) { animation-delay: 0.3s; } .search-item:nth-child(5) { animation-delay: 0.4s; } .search-item:nth-child(6) { animation-delay: 0.5s; } .search-item:nth-child(7) { animation-delay: 0.6s; } .search-item:nth-child(8) { animation-delay: 0.7s; }