:root {
  --pure-red: #FF0000;
  --pure-white: #FFFFFF;
  --bg-black: #000000;
  --card-bg: #111111;
  --hover-gray: #222222;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    background-color: #0f0f0f;
    color: #fff;
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
}

.topnav {
    background-color: rgba(20, 20, 20, 0.95);
    width: 100%;
    padding: 12px 20px;
    border-bottom: 1px solid #333;
}

.topnav a.navbar-brand {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.topnav a.navbar-brand:hover { color: #e50914; }

.player-container {
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    background: #000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.player-iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
    transition: opacity 0.3s ease;
}

.now-playing {
    background: #e50914;
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.channel-list {
    background-color: rgba(25, 25, 25, 0.9);
    border-radius: 12px;
    padding: 20px;
    height: 70vh;
    overflow-y: auto;
}

#vidlink {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;
    list-style: none;
    padding: 0;
}

.channel-item {
    background: rgba(40, 40, 40, 0.6);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
    cursor: pointer;
    text-align: center;
    padding: 10px;
    transition: all 0.2s ease;
}

.channel-item:hover {
    border-color: #e50914;
    background: rgba(60, 60, 60, 0.8);
    transform: translateY(-2px);
}

.channel-item img {
    width: 100%;
    height: 50px;
    object-fit: contain;
    margin-bottom: 8px;
}

.channel-item p {
    font-size: 11px;
    margin: 0;
    font-weight: 500;
    color: #ccc;
    line-height: 1.2;
}

.copyright-footer {
    background-color: #000;
    color: #666;
    text-align: center;
    padding: 20px;
    margin-top: 30px;
    font-size: 13px;
}

/* Scrollbar Customization */
.channel-list::-webkit-scrollbar { width: 5px; }
.channel-list::-webkit-scrollbar-thumb { background: #444; border-radius: 10px; }