body {
    font-family: 'Inter', sans-serif;
    background: #f8f9fa;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 20px;
    color: #333;
    line-height: 1.5;
}

.container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

h1 {
    font-size: 1.8rem;
    margin: 0 0 1rem 0;
    color: #2563eb;
}

.subtitle {
    color: #6b7280;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* Image Gallery Styles */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin: 2rem 0;
    max-height: 60vh;
    overflow-y: auto;
    padding: 10px 5px;
    scrollbar-width: thin;
    scrollbar-color: #e2e8f0 transparent;
}

.image-gallery::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.image-gallery::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 3px;
}

.image-container {
    border-radius: 8px;
    overflow: hidden;
    background: #f8fafc;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #e2e8f0;
}

.image-container:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-container img:hover {
    transform: scale(1.05);
}

.loading, .error, .no-images {
    grid-column: 1 / -1;
    padding: 2rem;
    color: #64748b;
    font-style: italic;
    text-align: center;
}

.error {
    color: #ef4444;
}

.no-images {
    color: #64748b;
}

.download-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.download-btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s;
    margin: 0 auto;
}

.download-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.btn-icon {
    margin-right: 8px;
    font-size: 1.1rem;
}

.file-info {
    margin-top: 1rem;
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .image-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .card {
        padding: 1.5rem 1rem;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .image-gallery {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 8px;
    }
}
