/* Base styles with modern glassmorphism */
body {
    font-family: 'Space Grotesk', 'Inter', system-ui, -apple-system, sans-serif;
    margin: 0;
    padding: 0;
    overflow: hidden;
    color: #f8fafc;
    background: 
        radial-gradient(ellipse at top left, 
            rgba(15, 23, 42, 0.8) 0%, 
            rgba(2, 6, 23, 0.9) 100%),
        url('http://static.photos/abstract/1200x630/42') center/cover fixed;
    background-blend-mode: overlay;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    min-height: 100vh;
}

/* Canvas container */
#canvas-container {
    background: 
        linear-gradient(135deg, 
            rgba(30, 41, 59, 0.3) 0%, 
            rgba(15, 23, 42, 0.5) 100%),
        url('http://static.photos/technology/1024x576/7') center/cover;
    transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    box-shadow: 
        inset 0 0 60px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(56, 189, 248, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.1);
}

/* Button styles */
button, .btn, [role="button"], label[for] {
    all: unset;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

button.primary, .btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    color: white;
}

button.secondary, .btn-secondary {
    background: rgba(30, 41, 59, 0.8);
    color: #e2e8f0;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

button.danger, .btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

/* Responsive styles */
@media (max-width: 768px) {
    #canvas-container {
        background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    }
}

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

::-webkit-scrollbar-track {
    background: #1a202c;
}

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

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