html, body {
    height: 100%;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #000;
    overflow: hidden;
    color: #fff;
}



body::before {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(270deg,
    rgba(0,255,255,0.25),
    rgba(0,0,255,0.25),
    rgba(128,0,255,0.25)
    );
    background-size: 600% 600%;
    animation: gradientShift 20s ease infinite;
    z-index: -3; /* above video */
}


@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 4;
    display: block !important;
    visibility: visible !important;
    opacity: 1;
}
/*
#bg-video {
    width: 100%;
    height: 100%;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 4 !important;
    background: red;
}*/


canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -2; /* above gradient */
}


.content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

h1 {
    padding-left: 3rem;
    font-size: 3rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #fff; /* ensure visible */
    text-shadow: 0 0 10px #0ff, 0 0 20px #0ff, 0 0 30px #00f;
    animation: neonGlow 2s ease-in-out infinite alternate;
}

@keyframes neonGlow {
    from { text-shadow: 0 0 10px #0ff, 0 0 20px #0ff, 0 0 30px #00f; }
    to   { text-shadow: 0 0 20px #0ff, 0 0 40px #00f, 0 0 60px #8000ff; }
}
p {
    padding-left: 3rem;
    font-size: 1.5rem;
    margin-top: 1rem;
    opacity: 0.85;
    animation: fadeIn 3s ease-in forwards;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 0.85; }
}