body {
    background: #0f172a;
    color: white;
}

/* upload */
.upload-box {
    background: rgba(255,255,255,0.05);
    padding: 15px;
    border-radius: 15px;
}

/* ===== SCROLL ===== */
.scroll-wrapper {
    overflow-x: auto;
    padding-bottom: 10px;
}

.scroll-container {
    display: flex;
    gap: 15px;
    width: max-content;
}

.scroll-wrapper::-webkit-scrollbar {
    height: 8px;
}

.scroll-wrapper::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 10px;
}

/* card scroll */
.scroll-item {
    width: 180px;
    flex: 0 0 auto;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 10px;
    transition: 0.2s;
}

.scroll-item:hover {
    transform: scale(1.05);
}

.thumb {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 10px;
}

video.thumb {
    background: black;
}

.meta {
    font-size: 11px;
    opacity: 0.8;
    margin-top: 5px;
}

/* grid */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.item {
    background: rgba(255,255,255,0.05);
    padding: 10px;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
}

/* pagination */
.pagination a {
    color: white;
}

/* ===== LIGHTBOX ===== */
#lightbox {
    display: none;
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#lightbox img,
#lightbox video {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.gallery-title {
    font-size: 42px;
    font-weight: bold;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
}

.upload-title {
    font-size: 18px;
    opacity: 0.8;
    font-weight: 400;
}

/* RESPONSIVE */
@media (max-width: 576px) {
    .gallery-title {
        font-size: 28px;
    }

    .upload-title {
        font-size: 14px;
    }
}