@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #0a0a16;
    --bg-soft: #10101f;
    --bg-card: #15152a;
    --border: #232338;
    --border-strong: #35355a;
    --text: #f1f1fa;
    --text-muted: #a3a3c2;
    --text-dim: #6b6b8d;
    --primary: #7c5cff;
    --primary-ink: #ffffff;
    --primary-glow: rgba(124, 92, 255, 0.35);
    --accent: #22d3ee;
    --accent-glow: rgba(34, 211, 238, 0.25);
}

::selection {
    background: var(--accent);
    color: #04222b;
}

body {
    font-family: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, #000 20%, transparent 90%);
    mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, #000 20%, transparent 90%);
}

.ambient {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
    background:
        radial-gradient(ellipse 70% 45% at 50% -20%, rgba(124, 92, 255, 0.14), transparent),
        radial-gradient(ellipse 50% 35% at 100% 10%, rgba(34, 211, 238, 0.10), transparent),
        radial-gradient(ellipse 50% 40% at 0% 105%, rgba(124, 92, 255, 0.10), transparent);
}

.ambient::before,
.ambient::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
}

.ambient::before {
    width: 520px;
    height: 520px;
    background: var(--primary);
    opacity: 0.22;
    top: -200px;
    right: -140px;
    animation: float 14s ease-in-out infinite;
}

.ambient::after {
    width: 460px;
    height: 460px;
    background: var(--accent);
    opacity: 0.16;
    bottom: -180px;
    left: -140px;
    animation: float 17s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -20px) scale(1.05); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
