
/* Shared styles across all pages */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c5c5c5;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a0a0a0;
}

/* Animation for feature cards */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

/* Dark theme styles */
body.dark-theme {
    background-color: #0f172a;
    color: #f1f5f9;
}

body.dark-theme .bg-gray-50 {
    background-color: #1e293b;
}

body.dark-theme .bg-white {
    background-color: #0f172a;
}

body.dark-theme .text-gray-600 {
    color: #94a3b8;
}

body.dark-theme .text-gray-700 {
    color: #cbd5e1;
}

/* Save indicator animation */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

#save-indicator {
    animation: slideInRight 0.3s ease-out;
}
/* Responsive fixes */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .text-5xl {
        font-size: 2.5rem;
    }
    
    .text-7xl {
        font-size: 3rem;
    }
}

/* Editor specific styles */
[data-bg="gradient1"] {
    background: linear-gradient(to bottom right, #3b82f6, #8b5cf6);
}

[data-bg="gradient2"] {
    background: linear-gradient(to bottom right, #10b981, #0d9488);
}

[data-bg="gradient3"] {
    background: linear-gradient(to bottom right, #ef4444, #f97316);
}

[data-bg="solid1"] {
    background-color: #374151;
}

[data-bg="solid2"] {
    background-color: #000000;
}

.scene-item {
    transition: all 0.2s ease;
}

.scene-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
