body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: rgba(33, 33, 33, 1.0);
}

#container {
    display: flex;
}

@media only screen and (min-width: 1921px) and (max-width: 2560px) {
    #container { 
        transform: scale(1.3); 
        transform-origin: top left; 
        width: 76.923%; 
        display: flex; 
    }
}

@media only screen and (min-width: 2561px) {
    #container {
        transform: scale(1.6);
        transform-origin: top left;
        width: calc(100% / 1.6);
        display: flex;
    }
}

#sidebar {
    background-color: #181818;
    width: 160px;
    min-width: 160px;
    border-right: 1px solid #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    height: auto;
    overflow: hidden;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-bottom: 1px solid #333;
    height: 50px;
}

.sidebar-logo {
    height: 125px;
    width: auto;
}

nav a {
    display: flex;
    align-items: center;
    padding: 8px 22px;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    width: 100%;
}

nav a .material-icons {
    font-size: 18px;
    margin-right: 6px;
}

nav a:hover {
    color: white;
    background-color: transparent;
    padding-left: 12px;
}

.divider {
    border: none;
    border-top: 1px solid #fff;
    margin: 6px auto;
    width: 80%;
}

main {
    flex: 1;
    padding: 20px;
}

.videos-layout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
    flex: 1;
}

.video-card {
    background: #2b2b2b;
    border-radius: 8px;
    overflow: hidden;
    color: white;
    font-size: 14px;
    display: flex;
    flex-direction: column;
}

.video-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.video-card .video-title {
    padding: 8px;
    font-weight: bold;
}

.spotify-embed {
    min-width: 300px;
    flex-shrink: 0;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    padding: 10px;
}

.media-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #2b2b2b;
}

.media-card img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.media-card:hover img {
    transform: scale(1.03);
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    animation-name: zoom;
    animation-duration: 0.6s;
    object-fit: contain;
}

@keyframes zoom {
    from { transform: scale(0); } 
    to { transform: scale(1); }
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-btn:hover {
    color: #bbb;
}

.arrow {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 28px;
    transition: 0.3s;
    user-select: none;
    background-color: rgba(0,0,0,0.3);
    border-radius: 50%;
}

.arrow:hover {
    background-color: rgba(0,0,0,0.8);
}

.left {
    left: 20px;
}

.right {
    right: 20px;
}

.mobile-divider {
    display: none;
    height: 2px;
    background-color: purple;
    margin: 15px 0;
}

@media only screen and (max-width: 768px) {
    .media-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .lightbox-content {
        max-width: 95%;
    }
    
    .arrow {
        padding: 10px;
        font-size: 20px;
    }
    
    .close-btn {
        font-size: 30px;
        top: 10px;
        right: 15px;
    }
    
    .mobile-divider {
        display: block;
    }
    
    .videos-layout {
        flex-direction: column;
    }
    
    .spotify-embed {
        width: 100%;
        min-width: auto;
    }
}