/* ───────────────────────────────────────────── Base ───────────────────────────────────────────── */ * { box-sizing: border-box; } html, body { height: 100%; margin: 0; font-family: 'Inter', system-ui, -apple-system, sans-serif; background: #0a0a0f; color: #eaeaea; overflow: hidden; } body { display: flex; flex-direction: column; position: relative; } a { color: #ff2d3d; text-decoration: none; } a:hover { text-decoration: underline; } /* ───────────────────────────────────────────── Animated background orbs ───────────────────────────────────────────── */ .bg-orbs { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; } .orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.35; animation: float 18s ease-in-out infinite; } .orb-1 { width: 400px; height: 400px; background: #e50914; top: -100px; left: -100px; animation-delay: 0s; } .orb-2 { width: 500px; height: 500px; background: #7c0d1b; bottom: -150px; right: -150px; animation-delay: -6s; } .orb-3 { width: 300px; height: 300px; background: #b8070f; top: 40%; left: 50%; animation-delay: -12s; } @keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(60px, -40px) scale(1.1); } 66% { transform: translate(-40px, 60px) scale(0.95); } } /* ───────────────────────────────────────────── Top bar ───────────────────────────────────────────── */ .topbar { position: relative; z-index: 2; padding: 18px 28px; background: rgba(16, 16, 22, 0.75); border-bottom: 1px solid rgba(255, 255, 255, 0.06); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); display: flex; flex-direction: column; gap: 12px; animation: slideDown 0.6s cubic-bezier(0.22, 1, 0.36, 1); } @keyframes slideDown { from { transform: translateY(-100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } } .brand { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; } .logo { display: flex; align-items: center; gap: 10px; } .logo-dot { width: 10px; height: 10px; border-radius: 50%; background: #e50914; box-shadow: 0 0 14px #e50914, 0 0 30px #e50914; animation: pulse 1.8s ease-in-out infinite; } @keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.35); opacity: 0.65; } } .logo h1 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -0.5px; background: linear-gradient(90deg, #fff, #aaa); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; } .logo h1 .accent { background: linear-gradient(90deg, #ff2d3d, #e50914); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; } .credit-top { font-size: 13px; color: #8a8a9a; } .credit-top strong { color: #eaeaea; } .credit-top a { color: #ff2d3d; font-weight: 600; } /* ───────────────────────────────────────────── Load form ───────────────────────────────────────────── */ .load-form { display: flex; gap: 10px; flex-wrap: wrap; } .input-wrap { flex: 1; min-width: 240px; position: relative; display: flex; align-items: center; } .input-icon { position: absolute; left: 14px; width: 18px; height: 18px; color: #6a6a7a; pointer-events: none; } #m3u-url { width: 100%; padding: 13px 16px 13px 42px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.08); background: rgba(28, 28, 36, 0.7); color: #eee; font-size: 14px; font-family: inherit; transition: all 0.25s ease; } #m3u-url:focus { outline: none; border-color: #e50914; background: rgba(28, 28, 36, 1); box-shadow: 0 0 0 4px rgba(229, 9, 20, 0.15); } #m3u-url::placeholder { color: #5a5a6a; } .btn-primary { display: flex; align-items: center; gap: 8px; padding: 13px 24px; border: 0; border-radius: 10px; background: linear-gradient(135deg, #ff2d3d, #b8070f); color: white; font-weight: 700; font-size: 14px; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.25s ease, filter 0.25s ease; box-shadow: 0 6px 20px rgba(229, 9, 20, 0.35); } .btn-primary svg { width: 16px; height: 16px; } .btn-primary:hover { transform: translateY(-1px); filter: brightness(1.15); box-shadow: 0 10px 26px rgba(229, 9, 20, 0.5); } .btn-primary:active { transform: translateY(0) scale(0.98); } .status { font-size: 13px; color: #8a8a9a; min-height: 18px; transition: color 0.3s; } .status.error { color: #ff5d6a; } .status.ok { color: #4ade80; } /* ───────────────────────────────────────────── Layout ───────────────────────────────────────────── */ .layout { position: relative; z-index: 1; flex: 1; display: flex; min-height: 0; } /* ───────────────────────────────────────────── Sidebar ───────────────────────────────────────────── */ .sidebar { width: 340px; border-right: 1px solid rgba(255, 255, 255, 0.05); background: rgba(16, 16, 22, 0.6); backdrop-filter: blur(12px); display: flex; flex-direction: column; min-height: 0; animation: slideRight 0.6s cubic-bezier(0.22, 1, 0.36, 1); } @keyframes slideRight { from { transform: translateX(-30px); opacity: 0; } to { transform: translateX(0); opacity: 1; } } .search-wrap { position: relative; display: flex; align-items: center; margin: 14px; } .search-wrap svg { position: absolute; left: 12px; width: 16px; height: 16px; color: #6a6a7a; pointer-events: none; } #search { width: 100%; padding: 10px 12px 10px 38px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.08); background: rgba(28, 28, 36, 0.7); color: #eee; font-size: 13px; font-family: inherit; transition: all 0.25s ease; } #search:focus { outline: none; border-color: #e50914; box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.15); } .channel-list { list-style: none; margin: 0; padding: 0 10px 10px; overflow-y: auto; flex: 1; scrollbar-width: thin; scrollbar-color: #333 transparent; } .channel-list::-webkit-scrollbar { width: 8px; } .channel-list::-webkit-scrollbar-track { background: transparent; } .channel-list::-webkit-scrollbar-thumb { background: #2a2a34; border-radius: 4px; } .channel-list::-webkit-scrollbar-thumb:hover { background: #3a3a44; } .channel-list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; margin-bottom: 4px; border-radius: 8px; cursor: pointer; font-size: 13.5px; color: #ccc; transition: background 0.2s ease, transform 0.15s ease, color 0.2s ease; animation: fadeIn 0.35s ease both; position: relative; } .channel-list li:hover { background: rgba(255, 255, 255, 0.05); color: #fff; transform: translateX(3px); } .channel-list li.active { background: linear-gradient(90deg, rgba(229, 9, 20, 0.18), rgba(229, 9, 20, 0.05)); color: #fff; font-weight: 600; } .channel-list li.active::before { content: ''; position: absolute; left: 0; top: 12%; bottom: 12%; width: 3px; border-radius: 3px; background: #e50914; } .channel-list img { width: 34px; height: 34px; object-fit: contain; background: #000; border-radius: 6px; flex-shrink: 0; } .channel-list span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } @keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } } /* ───────────────────────────────────────────── Player ───────────────────────────────────────────── */ .player-wrap { flex: 1; display: flex; flex-direction: column; min-width: 0; min-height: 0; padding: 20px; gap: 14px; } .video-shell { position: relative; flex: 1; min-height: 0; border-radius: 14px; overflow: hidden; background: #000; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.05); animation: fadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1); } @keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } #video { width: 100%; height: 100%; display: block; background: #000; object-fit: contain; } .video-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at center, rgba(229, 9, 20, 0.08), transparent 60%); transition: opacity 0.4s ease; pointer-events: none; } .video-overlay.hidden { opacity: 0; } .overlay-content { text-align: center; color: #6a6a7a; font-size: 14px; } .pulse-ring { width: 60px; height: 60px; margin: 0 auto 14px; border-radius: 50%; border: 2px solid #e50914; position: relative; animation: ringPulse 2s ease-out infinite; } .pulse-ring::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #e50914; animation: ringPulse 2s ease-out infinite 0.5s; } @keyframes ringPulse { 0% { transform: scale(0.6); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } } .now-playing { display: flex; align-items: center; gap: 10px; padding: 12px 18px; background: rgba(20, 20, 28, 0.75); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 10px; font-size: 14px; color: #ccc; transition: all 0.3s ease; } .now-playing .dot { width: 8px; height: 8px; border-radius: 50%; background: #4a4a5a; flex-shrink: 0; transition: all 0.3s ease; } .now-playing.live .dot { background: #4ade80; box-shadow: 0 0 10px #4ade80; animation: pulse 1.5s ease-in-out infinite; } .np-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; } /* ───────────────────────────────────────────── Footer ───────────────────────────────────────────── */ .footer { position: relative; z-index: 2; padding: 12px 20px; background: rgba(16, 16, 22, 0.8); border-top: 1px solid rgba(255, 255, 255, 0.05); backdrop-filter: blur(12px); font-size: 13px; color: #8a8a9a; text-align: center; } .footer-inner { display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; } .footer strong { color: #eaeaea; } .footer a { color: #ff2d3d; font-weight: 600; } .heart { color: #ff2d3d; animation: pulse 1.5s ease-in-out infinite; display: inline-block; } .sep { opacity: 0.4; } /* ───────────────────────────────────────────── Responsive ───────────────────────────────────────────── */ @media (max-width: 900px) { .layout { flex-direction: column; } .sidebar { width: 100%; height: 42%; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); } .player-wrap { padding: 14px; } .credit-top { display: none; } .logo h1 { font-size: 19px; } }