/* Design System & Core Styles - Wise TV */ :root { /* HSL Color Palette */ --bg-deep: hsl(224, 71%, 4%); --bg-dark: hsl(222, 47%, 7%); --bg-card: hsla(223, 47%, 11%, 0.65); --border-glow: rgba(99, 102, 241, 0.15); --primary: hsl(250, 95%, 68%); --primary-glow: hsla(250, 95%, 68%, 0.35); --secondary: hsl(265, 89%, 60%); --accent: hsl(190, 100%, 50%); --accent-glow: hsla(190, 100%, 50%, 0.25); --text-main: hsl(210, 40%, 98%); --text-muted: hsl(217, 30%, 75%); --text-dark: hsl(215, 25%, 55%); --live-red: hsl(0, 84%, 60%); --live-red-glow: hsla(0, 84%, 60%, 0.4); /* Layout Values */ --radius-sm: 8px; --radius-md: 16px; --radius-lg: 24px; --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7); } /* Global Reset */ * { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Inter', sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } body { background: radial-gradient(circle at top right, var(--secondary), transparent 45%), radial-gradient(circle at bottom left, var(--bg-deep), var(--bg-dark)); background-color: var(--bg-deep); color: var(--text-main); min-height: 100vh; overflow: hidden; } h1, h2, h3, h4, .title-font { font-family: 'Outfit', sans-serif; font-weight: 700; letter-spacing: -0.02em; } /* Scrollbars */ ::-webkit-scrollbar { width: 6px; height: 6px; } ::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.02); } ::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; } ::-webkit-scrollbar-thumb:hover { background: var(--accent); } /* Glassmorphism Panel Utility */ .glass-panel { background: var(--bg-card); backdrop-filter: blur(16px) saturate(180%); -webkit-backdrop-filter: blur(16px) saturate(180%); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: var(--radius-md); box-shadow: var(--shadow); } /* Glow Borders */ .glow-card { position: relative; } .glow-card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: linear-gradient(135deg, var(--primary), var(--accent), transparent); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; opacity: 0.4; transition: var(--transition); } .glow-card:hover::before { opacity: 1; } /* Pulse Animation for Live Status */ .pulse-live { display: inline-block; width: 8px; height: 8px; background-color: var(--live-red); border-radius: 50%; box-shadow: 0 0 0 0 var(--live-red-glow); animation: pulse 1.6s infinite; } @keyframes pulse { 0% { transform: scale(0.95); box-shadow: 0 0 0 0 var(--live-red-glow); } 70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 0, 0, 0); } 100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); } } /* CSS Grid Layout */ .app-container { display: grid; grid-template-columns: 320px 1fr; grid-template-rows: 70px 1fr; height: 100vh; width: 100vw; } .app-header { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding: 0 24px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); background: rgba(10, 11, 20, 0.5); backdrop-filter: blur(10px); z-index: 10; } .app-sidebar { grid-column: 1; border-right: 1px solid rgba(255, 255, 255, 0.05); display: flex; flex-direction: column; height: calc(100vh - 70px); overflow-y: auto; padding: 16px; background: rgba(10, 11, 20, 0.3); } .app-main { grid-column: 2; display: grid; grid-template-columns: 1fr; height: calc(100vh - 70px); overflow: hidden; background: rgba(10, 11, 20, 0.1); } @media (max-width: 1024px) { .app-container { grid-template-columns: 1fr; grid-template-rows: 70px auto 1fr; } .app-sidebar { grid-column: 1; height: auto; max-height: 250px; } .app-main { grid-column: 1; grid-template-columns: 1fr; grid-template-rows: 1fr auto; height: auto; overflow-y: auto; } } /* Components Styling */ .input-search { width: 100%; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--radius-sm); padding: 10px 14px 10px 38px; color: var(--text-main); outline: none; font-size: 14px; transition: var(--transition); } .input-search:focus { background: rgba(255, 255, 255, 0.08); border-color: var(--primary); box-shadow: 0 0 10px var(--primary-glow); } /* Neon buttons */ .btn-neon { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: var(--text-main); padding: 10px 20px; border-radius: var(--radius-sm); border: none; font-weight: 600; cursor: pointer; box-shadow: 0 0 15px var(--primary-glow); transition: var(--transition); display: flex; align-items: center; gap: 8px; } .btn-neon:hover { transform: translateY(-2px); box-shadow: 0 0 25px var(--primary-glow), 0 0 10px var(--accent-glow); } .btn-neon:active { transform: translateY(0); } /* Category Tabs */ .tab-container { display: flex; gap: 6px; margin-top: 14px; } .tab-btn { flex: 1; padding: 8px 12px; background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.04); border-radius: var(--radius-sm); color: var(--text-muted); font-size: 12px; font-weight: 600; cursor: pointer; transition: var(--transition); text-align: center; } .tab-btn:hover { background: rgba(255, 255, 255, 0.05); color: var(--text-main); } .tab-btn.active { background: var(--primary-glow); border-color: var(--primary); color: var(--text-main); } /* Channel Card */ .channel-card { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: var(--radius-sm); margin-bottom: 8px; cursor: pointer; transition: var(--transition); border: 1px solid transparent; } .channel-card:hover { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.06); } .channel-card.active { background: linear-gradient(90deg, var(--primary-glow), transparent); border-color: var(--primary); } .channel-logo-container { width: 44px; height: 44px; border-radius: 8px; background: rgba(255, 255, 255, 0.03); display: flex; align-items: center; justify-content: center; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.06); } .channel-logo-container img { width: 80%; height: 80%; object-fit: contain; } /* Video Player controls */ .player-container { position: relative; background: #000; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 16 / 9; box-shadow: var(--shadow); } .player-video { width: 100%; height: 100%; object-fit: contain; } .player-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent 30%); display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; opacity: 0; transition: opacity 0.3s; } .player-container:hover .player-overlay { opacity: 1; } /* Match item in World Cup schedule */ .match-card { background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: var(--radius-sm); padding: 12px; margin-bottom: 10px; transition: var(--transition); display: flex; align-items: center; justify-content: space-between; } .match-card:hover { background: rgba(255, 255, 255, 0.04); transform: translateX(4px); } /* Mock chat elements */ .chat-msg { animation: slideIn 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards; opacity: 0; transform: translateY(10px); } @keyframes slideIn { to { opacity: 1; transform: translateY(0); } }