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

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

body {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #0a0a1a;
    animation: gradientShift 12s ease infinite;
    background-size: 400% 400%;
    background-image: linear-gradient(135deg, #0a0a1a 0%, #0d0d2b 25%, #10003a 50%, #0a0a1a 75%, #000d1a 100%);
}

@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

h1 {
    position: relative;
    z-index: 1;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #ffffff;
    text-shadow:
        0 0 10px rgba(140, 100, 255, 0.9),
        0 0 25px rgba(140, 100, 255, 0.7),
        0 0 50px rgba(140, 100, 255, 0.5),
        0 0 100px rgba(100, 60, 220, 0.3);
    animation: textPulse 4s ease-in-out infinite;
}

@keyframes textPulse {
    0%, 100% {
        text-shadow:
            0 0 10px rgba(140, 100, 255, 0.9),
            0 0 25px rgba(140, 100, 255, 0.7),
            0 0 50px rgba(140, 100, 255, 0.5),
            0 0 100px rgba(100, 60, 220, 0.3);
    }
    50% {
        text-shadow:
            0 0 15px rgba(180, 140, 255, 1),
            0 0 35px rgba(160, 100, 255, 0.9),
            0 0 70px rgba(140, 80, 255, 0.7),
            0 0 130px rgba(100, 60, 220, 0.5);
    }
}
