          /* Base Styles */
html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: black;
    font-family: sans-serif;
}

/* Video Container */
.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
}

#video-player {
    width: 100%;
    height: 100%;
}

/* Overlay */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.1);
    z-index: 2;
    pointer-events: all;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100%;
    background: rgba(26, 26, 26, 0.3);
    z-index: 1000;
    overflow-y: auto;
    display: none;
    transition: transform 0.5s ease;
}

/* Tablet view (768px - 1024px) */
@media (max-width: 1024px) {
    .sidebar {
        width: 50%;
    }
}

/* Mobile view (below 768px) */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
    }
}

/* Hide scrollbar */
.sidebar::-webkit-scrollbar {
    display: none;
}

/* Welcome Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #1a1a1a;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    max-width: 600px;
    width: 90%;
}

.modal-content h2 {
    color: #fff;
    margin-bottom: 30px;
}

.key-guide {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
}

.key {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.arrow {
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 24px;
    cursor: default;
}

.modal-content ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    color: #fff;
}

.modal-content li {
    margin: 10px 0;
}

#closeModal {
    background: #fff;
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

#closeModal:hover {
    background: #ddd;
}

.sidebar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.sidebar .menu {
    height: 100vh;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 20px;
    display: flex;
    flex-direction: column;
    color: white;
    font-size: 1.2em;
    overflow-y: scroll;
}

.sidebar h2 {
    margin: 0;
    padding: 0;
    font-size: 1.2rem;
}

.sidebar .section {
    margin: 10px 0;
}

.live .box {
    text-align: left;
    justify-content: left;
}

/* Grid Layout */
.xlive {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 10px;
    padding: 10px;
}

/* Box Styles */
.box, .close-sidebar {
    background: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    font-weight: bold;
    color: black;
    border-radius: 10px;
    padding: 15px;
    cursor: pointer;
    margin-bottom: 10px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

/* Active box style */
.box.active {
    background-color: rgba(0, 0, 0, 0.3);
    color: #fff;
    transform: scale(1.02);
}

.close-sidebar {
    background: rgba(255, 255, 0, 1);
    margin-bottom: 30px;
}

.box img {
    width: 30px;
    height: auto;
    border-radius: 50%;
}

.box span, .close-sidebar span {
    font-size: 0.8rem;
    line-height: normal;
    margin-left: 10px;
}

/* Floating Controls */
.floating-control {
    position: absolute;
    bottom: 60px;
    left: -80px;
    z-index: 4;
}

.floating-control .toggle-sidebar {
    background: rgba(255, 255, 0, 1);
    color: white;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1.2em;
    border-radius: 50%;
    margin-bottom: 5px;
}

.floating-control .toggle-mute {
    display: none;
    background: rgba(255, 0, 0, 1);
    color: white;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1.2em;
    border-radius: 50%;
}

/* Alert Styles */
.alert {
    background: rgba(0, 0, 0, 0.4);
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.alert strong, .alert p {
    padding: 0;
    margin: 0;
    font-size: 1rem;
}

/* YouTube Title Hide */
.ytp-title-enable-channel-logo .ytp-title,
.ytp-title {
    display: none !important;
}