@font-face {
    font-family: 'Lexend2';
    font-style: normal;
    font-weight: 300 500;
    font-display: swap;
    src: url('../fonts/lexend-regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Lexend2';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/lexend-semibold.ttf') format('truetype');
}

@font-face {
    font-family: 'Lexend2';
    font-style: normal;
    font-weight: 700 800;
    font-display: swap;
    src: url('../fonts/lexend-bold.ttf') format('truetype');
}

:root {
    --main-bg: #111015;
    --surface-card: #18171f;
    --surface-hover: #22202b;
    --surface-border: #2c2937;
    --accent-primary: #3b82f6;
    --accent-secondary: #2563eb;
    --accent-light: #60a5fa;
    --accent-glow: rgba(59, 130, 246, 0.4);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    -webkit-user-select: none;
}

html, body, button, input, textarea, select, span, div, h1, h2, h3, h4, h5, h6, p, a, label, strong {
    font-family: 'Lexend2';
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

body {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: transparent;
    color: var(--text-main);
}

body.browser-preview {
    background: radial-gradient(circle at top center, #1e1b2e 0%, #0d0c10 100%);
}

.hidden {
    display: none !important;
}

.font-mono {
    font-family: 'Lexend2' !important;
    letter-spacing: 0.05em;
}
