:root {
    --bg-black: #000000;
    --bg-dark: #0a0a0a;
    --bg-card: rgba(0, 0, 0, 0.4);
    --red-primary: #ef4444;
    --red-hover: #dc2626;
    --red-glow: rgba(239, 68, 68, 0.3);
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --border-color: rgba(255, 255, 255, 0.08);
}

body {
    background-color: var(--bg-black);
    color: var(--text-primary);
}

.background-gradient {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(239, 68, 68, 0.12), transparent 60%);
    pointer-events: none;
    z-index: -1;
}

/* Scroll reveal — watched by IntersectionObserver in scripts.js */
.scroll-float-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-float-in.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Page load entrance — used on auth container */
@keyframes fade-slide-up {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--red-primary);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--red-hover);
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--red-primary) var(--bg-dark);
}