:root {
    --bg-dark: #050505;
    --glass: rgba(255, 255, 255, 0.03);
}

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

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: var(--bg-dark);
    font-family: 'JetBrains Mono', monospace;
    overflow: hidden;
}

#canvas-dots {
    position: fixed;
    top: 0; left: 0;
    z-index: 1;
}

.menu-container {
    position: relative;
    z-index: 2;
    padding: 3%;
    background: var(--glass);
    backdrop-filter: blur(15px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 45px rgba(0,0,0,0.5);
}

ul {
    position: relative;
    display: flex;
    gap: 5%;
}

ul li {
    position: relative;
    list-style: none;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.5s;
}

ul li::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 15px;
    border: 2px solid var(--clr);
    filter: drop-shadow(0 0 5px var(--clr));
    opacity: 0.2;
    transition: 0.5s;
}

ul li:hover::before {
    opacity: 1;
    inset: -5px;
    filter: drop-shadow(0 0 15px var(--clr));
}

ul li::after {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    background: var(--clr);
    border-radius: 15px;
    transform: scale(0);
    opacity: 0;
    transition: 0.5s;
    z-index: -1;
}

ul li:hover::after {
    transform: scale(1);
    opacity: 0.1;
}

ul li a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1%;
}

ul li a h3 {
    font-size: 2.8vw;
    color: #fff;
    font-family: 'Inter', sans-serif;
    position: relative;
    transition: 0.5s;
    letter-spacing: 2px;
}

ul li:hover a h3 {
    color: var(--clr);
    text-shadow: 2px 2px #000;
}

ul li a span {
    position: absolute;
    bottom: -35px;
    font-size: 1.5vw;
    text-transform: uppercase;
    color: var(--clr);
    font-weight: 700;
    letter-spacing: 3px;
    opacity: 0;
    transform: translateY(-10px);
    transition: 0.5s;
    white-space: nowrap;
}

ul li:hover a span {
    opacity: 1;
    transform: translateY(0);
}

ul li {
    animation: slideIn 0.5s ease forwards;
    opacity: 0;
}

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

ul li:nth-child(1) { animation-delay: 0.1s; }
ul li:nth-child(2) { animation-delay: 0.2s; }
ul li:nth-child(3) { animation-delay: 0.3s; }
ul li:nth-child(4) { animation-delay: 0.4s; }
ul li:nth-child(5) { animation-delay: 0.5s; }