* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: Arial, sans-serif;
    background: radial-gradient(circle at top, #2a2a2a 0%, #121212 60%, #080808 100%);
}

.landing-page {
    width: 100%;
    min-height: 100vh;
    padding: 6rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Main logo/nav wrapper */
.nav-wrapper {
    position: relative;
    width: min(80vw, 560px);
    display: grid;
    place-items: center;
}

/* Logo card */
.logo-container {
    position: relative;
    width: 100%;
    padding: .2rem;
    border-radius: 28px;
    overflow: hidden;
    background: rgba(20, 20, 20, 0.75);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.7),
        0 0 30px rgba(255, 0, 255, 0.08),
        0 0 60px rgba(0, 255, 255, 0.05);
    animation: floaty 4s ease-in-out infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-container::before {
    content: "";
    position: absolute;
    inset: -2px;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(
        45deg,
        #ff004c,
        #ff7a00,
        #ffe600,
        #00ffcc,
        #0099ff,
        #8f00ff,
        #ff004c
    );
    background-size: 400% 400%;
    animation: borderFlow 10s linear infinite;
}

.logo-container:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow:
        0 35px 60px rgba(0, 0, 0, 0.75),
        0 0 45px rgba(255, 0, 255, 0.18),
        0 0 80px rgba(0, 255, 255, 0.12);
}

.main-logo {
    display: block;
    width: 100%;
    height: auto;
    border-radius: inherit;
    filter: drop-shadow(0 0 12px rgba(255, 0, 0, 0.15));
    transition: transform 0.4s ease, filter 0.4s ease;
}

.logo-container:hover .main-logo {
    transform: scale(1.01);
    filter: brightness(1.03) saturate(1.08);
}

/* Floating nav */
.hub {
    width: min(80vw, 560px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.top-nav,
.bottom-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: .75rem;
}

.top-nav a,
.bottom-nav a {
color: #ff4fc3;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.15em;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    border-radius: 999px;
    box-shadow: 0 0 10px rgba(255, 0, 140, .2);
    transition: box-shadow .25s ease, background .25s ease, color .25s ease;

    animation: navGlow 10s ease-in-out infinite;
}

.top-nav a {
    font-size: .75rem;
    padding: .55rem .9rem;
}

.bottom-nav a {
    font-size: 1rem;
    padding: .8rem 1.35rem;
}

.top-nav a:hover,
.bottom-nav a:hover {

    color: #ffffff;

    background: rgba(255, 255, 255, 0.08);

    box-shadow:
        0 0 20px currentColor,
        0 0 40px currentColor,
        0 0 60px rgba(255,255,255,0.15);

    transform: translateY(-2px);
}

/* 404 overlay */
.error-code {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 20;
    transform: translate(-50%, -50%);
    font-size: clamp(5rem, 18vw, 12rem);
    font-weight: 900;
    letter-spacing: 0.1em;
    color: #ff4fc3;
    text-shadow:
        0 0 5px rgba(255, 0, 140, 0.95),
        0 0 15px rgba(255, 0, 140, 0.8),
        0 0 30px rgba(255, 0, 140, 0.6),
        0 0 60px rgba(255, 0, 255, 0.4);
    pointer-events: none;
    user-select: none;
    animation: glitchFlicker 3s infinite;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.15);
}

/* Animations */
@keyframes floaty {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes borderFlow {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 400% 50%;
    }
}

@keyframes glitchFlicker {
    0%, 100% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }

    20% {
        transform: translate(calc(-50% - 2px), -50%);
    }

    21% {
        transform: translate(calc(-50% + 2px), -50%);
    }

    22% {
        transform: translate(-50%, -50%);
    }

    70% {
        opacity: 0.9;
    }

    71% {
        opacity: 1;
    }
}
@keyframes navGlow {
    0%, 100% {
        color: #ff4fc3;
        box-shadow: 0 0 10px rgba(255, 0, 140, .2);
    }

    33% {
        color: #00e5ff;
        box-shadow: 0 0 12px rgba(0, 229, 255, .25);
    }

    66% {
        color: #9d7bff;
        box-shadow: 0 0 12px rgba(157, 123, 255, .25);
    }
}

