@import './variables.css';
@import './animations.css';

* {
    box-sizing: border-box
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 16px/1.4 system-ui, -apple-system, Segoe UI, Roboto, Inter, "Helvetica Neue", Arial, Noto Sans, "Apple Color Emoji", "Segoe UI Emoji";
    overflow: hidden;
    /* canvas backdrop handles scroll */
}

/* Fullscreen animated canvas backdrop */
canvas.bg {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 0;
    background: transparent;
}

canvas.bg:focus {
    outline: none;
}

/* Layout */
.overlay {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 24px;
}

.stack {
    width: min(900px, 92vw);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

header h1 {
    user-select: none;
    margin: 0;
    font-weight: 800;
    letter-spacing: .3px;
    text-align: center;
    font-size: clamp(28px, 5vw, 48px);

    /* Imported from animations.css */
    animation: 1s ease-out 0s 1 fadeIn;
}

.logo-text {
    background: linear-gradient(90deg, #7c3aed, #06b6d4, #22d3ee, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

footer {
    user-select: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 14px;
    text-align: center;
    font-size: 12px;
    color: var(--muted);
    z-index: 2;

    /* Imported from animations.css */
    animation: 1s ease-out 0s 1 slideInFromBelow;
}