
/* Custom Styles & Animations */

:root {
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --indigo-glow: rgba(79, 70, 229, 0.15);
}

body {
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Glassmorphism */
.glass-container {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* AI Photo Grid */
.photo-card {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: 1.5rem;
    overflow: hidden;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.photo-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.photo-card:hover img {
    transform: scale(1.1);
}

.photo-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.photo-card:hover::after {
    opacity: 1;
}

.photo-overlay-content {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    padding: 1rem;
    z-index: 10;
    transition: bottom 0.3s ease;
}

.photo-card:hover .photo-overlay-content {
    bottom: 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease forwards;
}

.bg-glossy {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
}

/* Checkbox Styling */
.custom-checkbox {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 0.5rem;
    border: 2px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.selected .custom-checkbox {
    background: var(--primary);
    border-color: var(--primary);
}

/* Utility */
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
