html {
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0a0a0a;
    color: #e5e5e5;
    overflow-x: clip;
}

::selection {
    background-color: rgba(96, 165, 250, 0.8);
    color: #ffffff;
}

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

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #3f3f46;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #52525b;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s cubic-bezier(0.215, 0.61, 0.355, 1) both;
}

.glass-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

.glass-button {
    background: rgba(38, 38, 38, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s, border-color 0.3s, transform 0.2s;
}

.glass-button:hover {
    background: rgba(50, 50, 50, 0.7);
    border-color: rgba(255, 255, 255, 0.2);
}

.aurora-bg {
    position: fixed;
    inset: 0;
    z-index: -10;
    overflow: hidden;
}

.aurora-blob {
    position: absolute;
    border-radius: 9999px;
    filter: blur(120px);
    opacity: 0.2;
    will-change: transform;
}

#loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.7s ease-out, visibility 0.7s ease-out;
}

#loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: #a78bfa;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

[x-cloak] {
    display: none !important;
}