* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: radial-gradient(circle at top, #0f2027, #203a43, #2c5364);
    min-height: 100vh;
    color: #fff;
}

/* Title */
.title {
    text-align: center;
    font-size: 3rem;
    margin: 40px 0;
    text-shadow: 0 0 20px cyan;
}

/* Folder Buttons */
.folder-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.folder-buttons button {
    padding: 12px 25px;
    border: none;
    border-radius: 30px;
    background: linear-gradient(45deg, #00f2fe, #4facfe);
    color: #000;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 0 15px #00f2fe;
    transition: 0.4s;
}

.folder-buttons button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px #00f2fe;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    padding: 40px;
}

/* Image Card */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0,255,255,0.3);
    animation: fadeUp 0.8s ease forwards;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

/* Hover Effects */
.gallery-item:hover img {
    transform: scale(1.15);
    filter: brightness(1.2);
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(0,255,255,0.4), transparent);
    opacity: 0;
    transition: 0.5s;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.lightbox img {
    max-width: 85%;
    max-height: 85%;
    border-radius: 15px;
    box-shadow: 0 0 40px cyan;
    animation: zoomIn 0.5s;
}

/* Navigation */
.nav {
    position: absolute;
    top: 50%;
    font-size: 3rem;
    color: cyan;
    cursor: pointer;
    user-select: none;
    padding: 15px;
    transition: 0.3s;
}

.nav:hover {
    transform: scale(1.3);
}

.left { left: 30px; }
.right { right: 30px; }

.close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 3rem;
    cursor: pointer;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.6);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive */
@media(max-width:768px){
    .title { font-size: 2.2rem; }
    .nav { font-size: 2.2rem; }
}
