:root {
    --move-x: 0px;
    --move-y: 0px;
    --move-x-1: 0px;
    --move-y-1: 0px;
    --move-x-2: 0px;
    --move-y-2: 0px;
    --move-x-3: 0px;
    --move-y-3: 0px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #0a192f 0%, #0f1b2e 30%, #0a192f 100%);
    color: #e6f1ff;
    font-family: 'Nunito', sans-serif;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: -30px;
    left: -30px;
    width: calc(100% + 60px);
    height: calc(100% + 60px);
    background: 
        linear-gradient(rgba(5, 12, 23, 0.65), rgba(5, 12, 23, 0.55)),
        url('/images/maxresdefault (2).jpg') center/cover no-repeat fixed;
    pointer-events: none;
    z-index: -2;
    transform: translate(calc(var(--move-x, 0) * -0.4), calc(var(--move-y, 0) * -0.4));
    transition: transform 0.1s ease-out;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at center, 
            transparent 0%, 
            rgba(5, 10, 20, 0.7) 50%,
            rgba(2, 5, 10, 0.9) 100%),
        linear-gradient(to bottom, 
            rgba(5, 10, 20, 0.6) 0%,
            transparent 20%,
            transparent 80%,
            rgba(5, 10, 20, 0.6) 100%);
    pointer-events: none;
    z-index: -1;
}

.site-content {
    position: relative;
    z-index: 1;
}

.bg-decoration {
    position: fixed;
    z-index: -1;
    opacity: 0.1;
    pointer-events: none;
}

.bg-decoration-1 {
    top: 10%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #409cff 0%, transparent 70%);
    filter: blur(40px);
    transform: translate(calc(var(--move-x-1, 0) * 0.3), calc(var(--move-y-1, 0) * 0.3));
    transition: transform 0.2s ease-out;
}

.bg-decoration-2 {
    bottom: 10%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #2d5aa0 0%, transparent 70%);
    filter: blur(50px);
    transform: translate(calc(var(--move-x-2, 0) * 0.5), calc(var(--move-y-2, 0) * 0.5));
    transition: transform 0.25s ease-out;
}

.bg-decoration-3 {
    top: 50%;
    left: 50%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #1a3a6e 0%, transparent 70%);
    filter: blur(60px);
    transform: translate(calc(-50% + var(--move-x-3, 0) * 0.4), calc(-50% + var(--move-y-3, 0) * 0.4));
    transition: transform 0.3s ease-out;
}

a {
    text-decoration: none;
    color: inherit;
}

li {
    list-style: none;
}

html {
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 0;
}

@media (max-width: 768px) {
    body::before {
        background: 
            linear-gradient(135deg, 
                rgba(5, 12, 23, 0.98) 0%,
                rgba(8, 18, 35, 0.98) 30%,
                rgba(5, 12, 23, 0.98) 100%),
            radial-gradient(circle at 50% 50%, rgba(64, 156, 255, 0.05) 0%, transparent 70%);
        transform: none !important;
        transition: none;
    }
    
    .bg-decoration-1,
    .bg-decoration-2,
    .bg-decoration-3 {
        display: none;
    }
}

@media (max-width: 480px) {
    body::before {
        background-attachment: scroll;
    }
}

@media (prefers-reduced-motion: reduce) {
    body::before,
    .bg-decoration-1,
    .bg-decoration-2,
    .bg-decoration-3 {
        transform: none !important;
        transition: none;
    }
}