html,
body {
    background: #0a0b0f;
}

::selection {
    background: #5b9dff;
    color: #0a0b0f;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #0a0b0f;
}

::-webkit-scrollbar-thumb {
    background: #232734;
    border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2f3547;
}

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
}

.reveal.in {
    opacity: 1;
    transform: none;
}

.grad {
    background: linear-gradient(100deg, #5b9dff 0%, #9b8cff 55%, #7ef0c3 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.grid-bg {
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(circle at 50% 35%, black 0%, transparent 72%);
    mask-image: radial-gradient(circle at 50% 35%, black 0%, transparent 72%);
}

/* faint diagonal hatch so empty video slots don't look broken */
.slot {
    background-image:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 10px, transparent 10px 20px);
}

.card-glow {
    transition: transform .4s cubic-bezier(.2, .7, .2, 1), border-color .4s, box-shadow .4s;
}

.card-glow:hover {
    transform: translateY(-4px);
    border-color: rgba(91, 157, 255, .45);
    box-shadow: 0 24px 60px -28px rgba(91, 157, 255, .45);
}

.play-btn {
    transition: transform .35s cubic-bezier(.2, .7, .2, 1), background .35s;
}

.demo-card:hover .play-btn {
    transform: scale(1.08);
    background: #5b9dff;
}

.demo-card:hover .play-btn svg {
    color: #0a0b0f;
}

.nav-shrink {
    backdrop-filter: blur(14px);
    background: rgba(10, 11, 15, .78);
    border-bottom: 1px solid #1a1e29;
}

@keyframes floaty {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-9px)
    }
}

.floaty {
    animation: floaty 7s ease-in-out infinite;
}

@keyframes pulseDot {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .25
    }
}

.live-dot {
    animation: pulseDot 1.6s ease-in-out infinite;
}

.chip {
    border: 1px solid #232734;
    background: #12141b;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none;
    }

    .floaty {
        animation: none;
    }
}

