:root {
    color-scheme: light;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.08), transparent 32rem),
        linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
}

button,
input,
textarea,
select {
    font: inherit;
}

.surface {
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.07);
    backdrop-filter: blur(18px);
}

.soft-surface {
    border: 1px solid rgba(191, 219, 254, 0.62);
    background: rgba(239, 246, 255, 0.68);
}

.reveal-up {
    opacity: 1;
    transform: none;
}

body.motion-ready .reveal-up {
    opacity: 1;
    transform: translateY(14px);
}

body.motion-ready .reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.delay-1.is-visible {
    transition-delay: 0.06s;
}

.delay-2.is-visible {
    transition-delay: 0.12s;
}

.app-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: #bfdbfe transparent;
}

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

.app-scrollbar::-webkit-scrollbar-thumb {
    border: 3px solid transparent;
    border-radius: 999px;
    background: #bfdbfe;
    background-clip: padding-box;
}

.match-slot.drag-over {
    outline: 2px dashed #2563eb;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .reveal-up {
        opacity: 1;
        transform: none;
    }
}
