* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    /* Subtle winter night gradient */
    background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 50%, #111827 100%);
    color: #f8fafc;
    min-height: 100vh;
    padding: 20px;
    position: relative;
}



.container {
    max-width: 1200px;
    margin: 0 auto;
    /* Clean frosted glass effect */
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(156, 163, 175, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 10;
    backdrop-filter: blur(10px);
}



.header {
    text-align: center;
    margin-bottom: 40px;
}

.header h1 {
    color: #1e40af;
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    font-weight: 600;
}

.header p {
    color: #475569;
    font-size: 1.1em;
}

.back-link {
    display: inline-block;
    margin-top: 10px;
    color: #1e40af;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.back-link:hover {
    color: #1d4ed8;
}

.search-box {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.search-box form {
    display: flex;
    gap: 10px;
}

.search-box input[type="text"] {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1em;
    transition: border-color 0.3s;
}

.search-box input[type="text"]:focus {
    outline: none;
    border-color: #3b82f6;
}

.search-box button {
    padding: 15px 30px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.download-section {
    text-align: center;
    margin-bottom: 30px;
}

.download-btn {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: 600;
    transition: all 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.4);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: white;
}

.gallery-item::before {
    content: '❄️';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.2em;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 3;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item a {
    display: block;
    position: relative;
    z-index: 2;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.image-info {
    padding: 15px;
    background: white;
    position: relative;
    z-index: 2;
}

.image-name {
    color: #374151;
    font-size: 0.9em;
    word-break: break-word;
    font-weight: 500;
}

.no-content {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
}

.no-content p {
    font-size: 1.2em;
    margin-bottom: 10px;
}

/* Simple winter decoration for empty gallery */
.no-content::before {
    content: '❄️';
    display: block;
    font-size: 3em;
    margin-bottom: 20px;
    animation: gentleFloat 3s ease-in-out infinite;
}

@keyframes gentleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}



@media (max-width: 768px) {
    .container {
        padding: 20px;
    }
    
    .header h1 {
        font-size: 2em;
    }
    
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .gallery-item img {
        height: 150px;
    }
    
    .search-box form {
        flex-direction: column;
    }
    

}

/* Clean winter scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 10px;
    border: 2px solid #f1f5f9;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #2563eb, #1e40af);
}