* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

.hidden {
    display: none !important;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
    position: relative;
    font-weight: 400;
}

/* --- DYNAMIC BACKGROUND (DARK AURORA) --- */
#bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at bottom, #0a101a 0%, #000000 100%);
}

.light-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: auroraFloat 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
    mix-blend-mode: screen;
}

.orb-1 {
    width: 800px;
    height: 300px;
    background: linear-gradient(90deg, #00bd56, #00ff88);
    top: -100px;
    left: -200px;
    transform: rotate(-15deg);
}

.orb-2 {
    width: 900px;
    height: 400px;
    background: linear-gradient(90deg, #5e00ff, #aa00ff);
    bottom: -150px;
    right: -200px;
    animation-delay: -10s;
    transform: rotate(10deg);
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle, black 40%, transparent 90%);
    opacity: 0.5;
}

/* Reduced animation complexity for mobile or low power */
@media (prefers-reduced-motion: reduce),
(max-width: 600px) {
    .light-orb {
        animation-duration: 40s;
        filter: blur(40px);
        opacity: 0.15;
    }
}