:root {
    --bg:        #05060d;
    --bg-2:      #0a0b14;
    --panel:     rgba(20, 22, 38, 0.55);
    --line:      rgba(200, 195, 230, 0.06);
    --line-2:    rgba(200, 195, 230, 0.11);
    --line-3:    rgba(200, 195, 230, 0.18);
    --fg:        #e8e5f4;
    --fg-2:      #a9a3c7;
    --fg-3:      #706b8f;
    --dim:       #3f3c5a;
    --accent:    #b8b0da;
    --accent-2:  #8a80b6;
    --ease:      cubic-bezier(0.22, 0.72, 0.14, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; background: var(--bg); color: var(--fg); }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#bgCanvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    animation: bgFadeIn 1.2s ease 0.2s forwards;
}

#bgCanvas.visible { animation: bgFadeIn 1.2s ease 0.2s forwards; }

@keyframes bgFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

#app {
    position: fixed;
    inset: 0;
    z-index: 1;
    opacity: 0;
    animation: appFadeIn 0.4s var(--ease) forwards;
}

@keyframes appFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(200, 195, 230, 0.09); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: rgba(200, 195, 230, 0.16); }

::selection { background: rgba(184, 176, 218, 0.22); color: #fff; }

button, input, textarea, select { font-family: inherit; color: inherit; outline: none; }
button { cursor: pointer; background: none; border: none; }

.hidden { display: none !important; }

@keyframes slideUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}
