﻿:root {
    --bg: #050508;
    --bg2: #0a0a10;
    --bg3: #0d0d16;
    --surface: #111118;
    --border: rgba(100,180,255,0.12);
    --blue: #4db8ff;
    --blue-dim: #1a6a99;
    --blue-glow: rgba(77,184,255,0.25);
    --silver: #c8d8e8;
    --silver-dim: #6a8099;
    --gold: #d4a85a;
    --white: #f0f4f8;
    --text: #a8bcc8;
    --font-display: 'Cormorant Garamond', serif;
    --font-ui: 'Rajdhani', sans-serif;
    --font-mono: 'Share Tech Mono', monospace;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-ui);
    overflow-x: hidden;
    cursor: none;
}

::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--blue-dim);
    border-radius: 2px;
}

#cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--blue);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%,-50%);
    box-shadow: 0 0 12px var(--blue), 0 0 24px var(--blue-glow);
}

#cursor-trail {
    position: fixed;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(77,184,255,0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%,-50%);
    transition: all 0.18s ease;
}

#bg-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.35;
}

.noise {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: .35;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

.page-wrap {
    position: relative;
    z-index: 2;
    padding-top: 72px;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s ease, transform .8s ease;
}

    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
