:root { --bg-dark: #000B21; --sidebar-bg: #00123D; --accent-blue: #00A1E1; --accent-green: #B1D300; --text-white: #FFFFFF; --text-dim: #A0B0D0; --glass-bg: rgba(255, 255, 255, 0.05); --glass-border: rgba(255, 255, 255, 0.1); } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Outfit', sans-serif; background-color: var(--bg-dark); color: var(--text-white); overflow: hidden; height: 100vh; } .app-container { display: flex; flex-direction: column; height: 100vh; } /* Header Removed for Broadcast Feel */ .top-header { display: none; } /* Main Content */ .main-content { flex: 1; padding: 40px; overflow-y: auto; background: linear-gradient(135deg, #000B21 0%, #001A4F 100%); } .search-bar input { width: 600px; padding: 12px 25px; background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 30px; color: white; outline: none; transition: all 0.3s; } /* Player Section */ .player-section { margin-bottom: 50px; position: relative; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5); background: #000; } .video-container { width: 100%; aspect-ratio: 16/9; position: relative; cursor: pointer; background: #000; } /* Fix Fullscreen Overlays */ .video-container:-webkit-full-screen .broadcast-overlay, .video-container:-ms-fullscreen .broadcast-overlay, .video-container:fullscreen .broadcast-overlay { padding: 60px; /* More padding in fullscreen */ } .video-container:-webkit-full-screen .news-card, .video-container:fullscreen .news-card { bottom: 120px; left: 60px; } video { width: 100%; height: 100%; object-fit: cover; } .player-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 40px; background: linear-gradient(to top, rgba(0, 11, 33, 0.9) 0%, transparent 100%); opacity: 0; transition: opacity 0.4s ease; } .video-container:hover .player-overlay { opacity: 1; } .channel-info { display: flex; align-items: center; gap: 20px; margin-bottom: 25px; } .channel-logo { width: 80px; height: 80px; border-radius: 12px; object-fit: contain; background: rgba(255,255,255,0.1); padding: 5px; } #channelTitle { font-size: 32px; font-weight: 700; } #channelSubtitle { color: var(--accent-blue); font-weight: 500; } /* Controls */ .progress-bar-container { width: 100%; height: 6px; background: rgba(255, 255, 255, 0.1); border-radius: 3px; margin-bottom: 20px; cursor: pointer; } .progress-bar { width: 0%; height: 100%; background: var(--accent-blue); border-radius: 3px; position: relative; } .progress-bar::after { content: ''; position: absolute; right: -5px; top: -4px; width: 14px; height: 14px; background: var(--text-white); border-radius: 50%; box-shadow: 0 0 10px rgba(0,0,0,0.5); } .controls-row { display: flex; align-items: center; gap: 25px; } .volume-control { display: flex; align-items: center; gap: 15px; } .volume-slider { width: 100px; height: 4px; -webkit-appearance: none; appearance: none; background: rgba(255, 255, 255, 0.2); border-radius: 2px; outline: none; cursor: pointer; transition: background 0.3s; } .volume-slider:hover { background: rgba(255, 255, 255, 0.4); } .volume-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; background: #fff; border-radius: 50%; cursor: pointer; box-shadow: 0 0 10px rgba(0,0,0,0.5); } .control-btn { background: none; border: none; color: white; font-size: 16px; font-weight: 600; cursor: pointer; transition: color 0.3s; } .control-btn:hover { color: var(--accent-blue); } .spacer { flex: 1; } /* Grid Section */ .up-next-section h2 { font-size: 24px; margin-bottom: 25px; } .playlist-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; } .video-card { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 16px; padding: 15px; transition: all 0.3s; cursor: pointer; } .video-card:hover { transform: translateY(-10px); background: rgba(255, 255, 255, 0.1); border-color: var(--accent-blue); } .card-logo { width: 100%; height: 150px; object-fit: cover; border-radius: 10px; margin-bottom: 15px; } /* Permanent Channel Logo Overlay */ .permanent-logo-box { position: absolute; top: 40px; left: 40px; height: 70px; padding: 10px; display: flex; align-items: center; justify-content: center; z-index: 101; /* Optional: subtle shadow to make it pop on bright scenes */ filter: drop-shadow(0 2px 10px rgba(0,0,0,0.5)); } .overlay-logo { height: 35px; width: auto; /* This will make the white background of the image transparent */ mix-blend-mode: multiply; } .broadcast-overlay { position: absolute; inset: 0; pointer-events: none; z-index: 100; padding: 40px; transition: opacity 1s ease; } /* Top Info Box (Sits next to the permanent logo) */ .top-info-box { display: flex; align-items: stretch; height: 70px; background: #fff; width: fit-content; box-shadow: 0 10px 30px rgba(0,0,0,0.3); margin-left: 110px; /* Offset by logo width (approx 90px + padding) */ animation: slide-in-top 1s cubic-bezier(0.4, 0, 0.2, 1); } .weather-box { padding: 15px 30px; display: flex; flex-direction: column; justify-content: center; border-left: 1px solid #eee; } .city-name { color: var(--accent-blue); font-weight: 800; font-size: 18px; letter-spacing: 2px; } .city-time { color: var(--accent-blue); font-size: 28px; font-weight: 400; line-height: 1; margin: 2px 0; } .weather-info { display: flex; align-items: center; gap: 10px; } .temp { color: #444; font-weight: 700; font-size: 18px; } /* News Card */ .news-card { position: absolute; bottom: 100px; left: 40px; width: 450px; background: rgba(30, 35, 45, 0.85); backdrop-filter: blur(20px); border-radius: 24px; padding: 25px; box-shadow: 0 20px 50px rgba(0,0,0,0.4); animation: slide-in-bottom 1s cubic-bezier(0.4, 0, 0.2, 1); } .card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; } .x-icon { font-size: 20px; color: white; } .handle { color: var(--accent-blue); font-weight: 600; } .card-body { color: #fff; font-size: 22px; line-height: 1.4; font-weight: 300; } @keyframes slide-in-top { from { transform: translateY(-100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } } @keyframes slide-in-bottom { from { transform: translateY(50%) scale(0.9); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } } .hidden { display: none !important; } .transparent { opacity: 0; } /* Animation for data updates */ .fade-update { animation: fade-update 0.5s ease-out; } @keyframes fade-update { 0% { opacity: 0.3; transform: scale(0.98); } 100% { opacity: 1; transform: scale(1); } }