/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

html {
    scrollbar-width: thin;
    scrollbar-color: rgba(139, 92, 246, 0.5) #0a0a0f;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #050507; /* Darker, richer black */
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #fff;
}

/* Ambient Background */
.ambient-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    animation: floatAmbient 20s ease-in-out infinite;
}

.orb-a {
    width: 600px;
    height: 600px;
    background: #4c1d95;
    top: -10%;
    left: -10%;
}

.orb-b {
    width: 500px;
    height: 500px;
    background: #1e3a8a;
    bottom: -10%;
    right: -10%;
    animation-delay: -5s;
}

@keyframes floatAmbient {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 30px); }
}

body::-webkit-scrollbar {
    width: 12px;
}

body::-webkit-scrollbar-track {
    background: #0a0a0f;
}

body::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.5);
    border-radius: 6px;
}

body::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 92, 246, 0.7);
}


@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

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