@import url('https://fonts.googleapis.com/css2?family=Archivo');
* {
font-family: 'Archivo';
}
body {
    margin: 0;
    background-color: #000;
    overflow-x: hidden;
    color: white;
}

.menu-open .video-container,
.menu-open .current-channel {
    filter: blur(6px);
    transition: filter 0.3s ease-in-out;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.menu-open .menu-overlay {
    display: block;
}

.menu-button {
    position: absolute;
    top: 6px;
    left: 15px;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    font-size: 18px; /* Adjust for better readability */
    cursor: pointer;
    z-index: 1002;
    padding: 0; /* Remove unnecessary padding */
    border-radius: 5px;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-button:hover {
    background: rgba(255, 255, 255, 0.3);
}

.menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 275px;
    height: 100%;
    background: rgba(20, 20, 20, 0.9);
    backdrop-filter: blur(10px);
    padding: 20px;
    transition: transform 0.3s ease-in-out;
    transform: translateX(-100%);
    z-index: 1001;
    display: flex;
    flex-direction: column;
}

.menu.open {
    transform: translateX(0);
}

.menu-header {
    color: white;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

.search-box-container {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 8px;
    margin-top: 5px;
    width: 90%;
}

.search-box {
    width: 100%;
    padding: 6px;
    border: none;
    background: transparent;
    color: white;
    font-size: 14px;
    outline: none;
}

.channel-list {
    margin-top: 15px;
    overflow-y: auto;
    max-height: calc(100vh - 170px);
    padding-right: 8px;
}

.channel {
    padding: 12px;
    color: white;
    font-size: 14px;
    border-radius: 6px;
    cursor: pointer;
    text-align: left;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: rgba(255, 255, 255, 0.12);
    transition: background 0.3s ease;
}

.channel:hover {
    background: rgba(255, 255, 255, 0.3);
}

.channel-list::-webkit-scrollbar {
    width: 8px;
}

.channel-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
}

.channel-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.video-container {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: black;
    position: relative;
    transition: filter 0.3s ease-in-out;
}

#player-container {
    width: 100%;
    height: 100vh;
}

.current-channel {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 15px;
    border-radius: 8px;
    color: black;
    font-size: 14px;
    font-weight: bold;
    z-index: 1003;
    display: none;
    transition: filter 0.3s ease-in-out;
}

.linked-text {
    text-align: center;
    margin-top: 15px;
}

.linked-text a {
    color: white;
    font-size: 18px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.linked-text a:hover {
    color: #aaa;
}

#password-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#password-container {
    background: #222;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0px 4px 15px rgba(255, 255, 255, 0.2);
    width: 300px;
}

#password-container h2 {
    font-size: 18px;
    margin-bottom: 10px;
    color: white;
}

#password-container p {
    font-size: 14px;
    margin-bottom: 15px;
    color: #ccc;
}


#password-container a {
    color: white;
    cursor: pointer;
    text-decoration: none;
}

#password-container a:hover {
    color: grey;
}

#password-box {
    width: 90%;
    padding: 12px;
    font-size: 14px;
    border: none;
    border-radius: 5px;
    background: #333;
    color: white;
    text-align: center;
    outline: none;
    box-shadow: inset 0px 2px 5px rgba(0, 0, 0, 0.3);
}

#password-box::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

button {
    width: 90%;
    padding: 12px;
    font-size: 14px;
    background: #444;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s ease;
}

button:hover {
    background: #666;
}