html, body, :root, * {
  cursor: url(/cursor/cursor.png) 5 5, auto !important;
}
html *, body *, :root * {
  cursor: url(/cursor/cursor.png) 5 5, auto !important;
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(236, 119, 171, 0.3) 0%, transparent 50%);
    pointer-events: none;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.navbar {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(22, 33, 62, 0.9) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                0 0 1px rgba(255, 255, 255, 0.1) inset;
    padding: 0;
    position: relative;
    z-index: 1000;
    animation: slideDown 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 40px;
}

.logo {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, #a871ff 0%, #8587ff 50%, #5d96ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.4s ease;
    position: relative;
    letter-spacing: 1px;
    text-shadow: 0 0 30px rgba(102, 126, 234, 0.5);
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { filter: drop-shadow(0 0 8px rgba(102, 126, 234, 0.6)); }
    50% { filter: drop-shadow(0 0 14px rgba(78, 143, 255, 0.8)); }
}

.logo:hover {
    transform: scale(1.08) rotate(-2deg);
    cursor: pointer;
}

nav {
    display: flex;
    gap: 16px;
}

nav a {
    color: #e0e0e0;
    text-decoration: none;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 16px;
    border-radius: 16px;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 2px solid rgba(102, 126, 234, 0.3);
    backdrop-filter: blur(10px);
}

/* Gradient rozszerzający się od środka */
nav a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400%;
    height: 400%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 50%, rgba(240, 147, 251, 0.9) 100%);
    transition: opacity 0.5s ease-out;
    z-index: -1;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}

/* Efekt świetlny przesuwający się */
nav a::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.4) 50%, transparent 70%);
    transform: translateX(-100%) rotate(45deg);
    transition: transform 0.9s ease;
}

/* Hover - rozszerzanie gradientu */
nav a:hover::before {
    opacity: 1;
}

/* Hover - świetlny błysk */
nav a:hover::after {
    transform: translateX(100%) rotate(45deg);
}

/* Wyjście z hovera - płynne zanikanie */
nav a:not(:hover)::before {
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

nav a:hover {
    color: white;
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 15px 45px rgba(102, 126, 234, 0.7),
                0 0 40px rgba(118, 75, 162, 0.5),
                0 0 2px rgba(255, 255, 255, 0.9) inset;
    border-color: rgba(255, 255, 255, 0.6);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.9),
                 0 0 30px rgba(240, 147, 251, 0.6);
}

nav a:active {
    transform: translateY(-4px) scale(1.05);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.8) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s infinite ease-in-out;
}

.particle:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 60%;
    left: 80%;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    width: 100px;
    height: 100px;
    top: 80%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-100px) translateX(50px) scale(1.2);
        opacity: 0.6;
    }
}

footer {
    /* background: linear-gradient(135deg, rgba(10, 42, 109, 0.6) 0%, rgba(57, 25, 113, 0.6) 100%); */
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(22, 33, 62, 0.9) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    color: rgb(255, 255, 255);
    padding: 20px 0;
    text-align: center;
    margin-top: 40px;
    border-top: #4a32ff 4px solid;
    border-bottom: #4a32ff 4px solid;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                0 0 1px rgba(255, 255, 255, 0.1) inset;
}

@media (max-width: 900px) {
    .navbar-content {
        flex-direction: column;
        gap: 24px;
        padding: 20px;
    }

    nav {
        flex-direction: column;
        width: 90%;
    }

    nav a {
        text-align: center;
        width: 100%;
    }

    .content-demo h2 {
        font-size: 36px;
    }

    .logo {
        font-size: 28px;
    }
}