    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    .animate-fadeIn { animation: fadeIn 0.5s ease-out; }

    @keyframes slideIn {
        from { transform: translateX(100%); opacity: 0; }
        to { transform: translateX(0); opacity: 1; }
    }
    .animate-slideIn { animation: slideIn 0.3s ease-out; }

    @keyframes slideOut {
        from { transform: translateX(0); opacity: 1; }
        to { transform: translateX(100%); opacity: 0; }
    }
    .animate-slideOut { animation: slideOut 0.3s ease-out; }

    @keyframes float {
        0%, 100% { transform: translateY(0px); }
        50% { transform: translateY(-20px); }
    }
    .animate-float { animation: float 3s ease-in-out infinite; }

    @keyframes twinkle {
        0%, 100% { opacity: 1; }
        50% { opacity: 0.3; }
    }
    .star {
        position: absolute;
        width: 2px;
        height: 2px;
        background: white;
        border-radius: 50%;
        animation: twinkle 3s ease-in-out infinite;
    }

    @keyframes spin {
        to { transform: rotate(360deg); }
    }
    .animate-spin-slow { animation: spin 1s linear infinite; }

    body {
        background: linear-gradient(to bottom, #0a0e27 0%, #1a1a3e 50%, #2d1b4e 100%);
        position: relative;
        overflow-x: hidden;
    }

    .back-button {
        position: fixed;
        top: 20px;
        left: 20px;
        background: linear-gradient(135deg, rgba(139, 92, 246, 0.9) 0%, rgba(99, 102, 241, 0.9) 100%);
        backdrop-filter: blur(10px);
        color: white;
        padding: 12px 24px;
        border-radius: 12px;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 8px;
        font-weight: 600;
        font-size: 14px;
        z-index: 1000;
        border: 1px solid rgba(139, 92, 246, 0.5);
        box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
        transition: all 0.3s ease;
    }
    .back-button:hover {
        transform: translateX(-5px);
        box-shadow: 0 6px 20px rgba(139, 92, 246, 0.6);
    }
    .back-button svg { transition: transform 0.3s ease; }
    .back-button:hover svg { transform: translateX(-3px); }

    .code-font {
        font-family: 'JetBrains Mono', 'Fira Code', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    }

    .ext-chip {
        font-family: 'JetBrains Mono', ui-monospace, monospace;
    }

    #previewCode::-webkit-scrollbar { width: 8px; height: 8px; }
    #previewCode::-webkit-scrollbar-track { background: rgba(139,92,246,0.08); }
    #previewCode::-webkit-scrollbar-thumb { background: rgba(139,92,246,0.4); border-radius: 8px; }
