:root {
    --n64-blue: #0047AB;
    --n64-red: #E4000F;
    --n64-yellow: #FFD700;
    --n64-green: #00A36C;
    --n64-grey: #D2D2D2;
    --n64-dark-grey: #4A4A4A;
    --n64-black: #000000;
    --font-pixel: 'Press Start 2P', cursive;
    --font-main: 'Ubuntu Mono', monospace;
}

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

body {
    background-color: #87CEEB;
    /* Sky Blue like Mario 64 */
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.4) 0%, transparent 20%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.4) 0%, transparent 20%);
    font-family: var(--font-main);
    color: var(--n64-black);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    overflow: hidden;
}

.statics-container {
    background: var(--n64-grey);
    border: 8px solid var(--n64-dark-grey);
    padding: 2.5rem;
    box-shadow: 15px 15px 0px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 700px;
    text-align: center;
    position: relative;
}

/* Header Section */
.logo-wrapper {
    margin-bottom: 3rem;
    perspective: 1000px;
}

.logo-main {
    font-family: var(--font-pixel);
    font-size: 3rem;
    color: var(--n64-red);
    text-shadow:
        4px 4px 0px var(--n64-blue),
        8px 8px 0px var(--n64-yellow),
        12px 12px 0px var(--n64-green);
    transform: rotateX(10deg) rotateZ(-2deg);
    margin-bottom: 1rem;
    display: inline-block;
}

.subtitle {
    font-size: 1rem;
    font-family: var(--font-pixel);
    color: var(--n64-dark-grey);
    text-transform: uppercase;
}

/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.btn-n64 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    text-decoration: none;
    color: white;
    font-family: var(--font-pixel);
    font-size: 0.8rem;
    border: none;
    cursor: pointer;
    transition: transform 0.1s;
    position: relative;
    border-radius: 12px;
}

/* Blue Button (A style) */
.btn-primary {
    background: var(--n64-blue);
    border: 6px solid #002D6B;
    box-shadow: 0 8px 0 #002D6B;
}

/* Green Button (B style) */
.btn-secondary {
    background: var(--n64-green);
    border: 6px solid #006D48;
    box-shadow: 0 8px 0 #006D48;
}

/* Yellow Button (C style) */
.btn-quirky {
    background: var(--n64-yellow);
    border: 6px solid #B8860B;
    box-shadow: 0 8px 0 #B8860B;
    color: black;
}

.btn-n64:active {
    transform: translateY(4px);
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.5);
}

.btn-n64 span {
    display: block;
    margin-top: 10px;
    font-size: 0.6rem;
    opacity: 0.8;
}

/* Floating Elements */
.cloud {
    position: absolute;
    background: white;
    width: 60px;
    height: 20px;
    border-radius: 20px;
    z-index: -1;
    opacity: 0.8;
    animation: move-cloud 20s linear infinite;
}

@keyframes move-cloud {
    from {
        left: -100px;
    }

    to {
        left: 100vw;
    }
}

@media (max-width: 600px) {
    .menu-grid {
        grid-template-columns: 1fr;
    }

    .logo-main {
        font-size: 2rem;
    }
}