* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Fira Code", monospace;
}

body {
    background: black;
    color: white;
    min-height: 100vh;
    overflow-x: hidden;
}

.stars {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(1px 1px at 20% 30%, white, transparent),
        radial-gradient(1px 1px at 80% 40%, white, transparent),
        radial-gradient(1px 1px at 50% 80%, white, transparent),
        radial-gradient(1px 1px at 70% 10%, white, transparent),
        radial-gradient(1px 1px at 10% 60%, white, transparent),
        radial-gradient(1px 1px at 30% 70%, white, transparent),
        radial-gradient(1px 1px at 90% 20%, white, transparent);
    background-size: 200px 200px;
    animation: moveStars 60s linear infinite;
}

@keyframes moveStars {
    from { background-position: 0 0; }
    to   { background-position: 1000px 1000px; }
}

.nav {
    position: fixed;
    top: 24px;
    left: 24px;
    display: flex;
    gap: 22px;
    z-index: 10;
}

.nav a {
    display: flex;
    align-items: center;
    gap: 8px;

    color: #45f7d3;
    text-decoration: none;
    font-size: 15px;

    padding: 10px 16px;
    border-radius: 10px;

    letter-spacing: 0.5px;

    transition:
        background 0.25s ease,
        transform 0.2s ease,
        opacity 0.2s ease;
}

.nav i {
    font-size: 0.95em;
    opacity: 0.9;
}

.nav a:hover {
    background: rgba(69, 247, 211, 0.15);
    transform: translateY(-2px);
    opacity: 0.9;
}

.nav a:active {
    transform: translateY(0);
    opacity: 0.75;
}

.center {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.center img {
    max-width: 90%;
    transform: scale(1.3);
    animation: floatY 5s ease-in-out infinite;
}

@keyframes floatY {
    0%   { transform: translateY(0) scale(1.3); }
    50%  { transform: translateY(-16px) scale(1.3); }
    100% { transform: translateY(0) scale(1.3); }
}

footer {
    padding: 40px 20px;
    text-align: center;
}

.links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.links a {
    color: #45f7d3;
    text-decoration: none;
    border: 1px solid #45f7d3;
    padding: 6px 14px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.links a:hover {
    background: #45f7d3;
    color: black;
}

.cube {
    position: fixed;
    width: 90px;
    height: 90px;

    border: 2px solid #45f7d3;
    border-radius: 8px;

    opacity: 0.6;
    filter: drop-shadow(0 0 12px rgba(69, 247, 211, 0.6));

    animation: cubeFloat 8s ease-in-out infinite;
    z-index: 1;
}

.cube-top-right {
    top: 30px;
    right: 30px;
    transform: rotate(15deg);
}

.cube-bottom-left {
    bottom: 30px;
    left: 30px;
    transform: rotate(-15deg);
}

@keyframes cubeFloat {
    0% {
        transform: translateY(0) rotate(15deg);
    }
    50% {
        transform: translateY(-18px) rotate(20deg);
    }
    100% {
        transform: translateY(0) rotate(15deg);
    }
}
