body {
    background-color: #222;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    font-family: 'Press Start 2P', cursive;
    color: white;
    overflow: hidden;
}

#container {
    position: relative;
    /* NGPC resolution is 160x152, let's double it */
    width: 320px; 
    height: 304px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#screen {
    background-color: black;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden; /* Important for the slide-in effect */
    border: 4px solid #444;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

#logo-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    visibility: hidden; /* Hidden initially */
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

#logo-container.visible {
    visibility: visible;
    opacity: 1;
}

.logo-text {
    color: #fff;
    font-size: 24px;
    letter-spacing: 2px;
    text-shadow: 2px 2px #3a3a3a;
}

.bottom {
    margin-top: 8px;
}

#color-logo {
    width: 120px;
    margin-top: 10px;
    position: relative;
    opacity: 0;
    image-rendering: pixelated;
}

#color-logo.animate {
    animation: slideIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes slideIn {
    0% {
        transform: translateX(250px);
        opacity: 0;
    }
    1% {
        opacity: 1;
    }
    70% {
        transform: translateX(-15px);
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

#start-prompt {
    position: absolute;
    cursor: pointer;
    padding: 10px 20px;
    background-color: #333;
    border: 2px solid #555;
    border-radius: 5px;
    transition: opacity 0.3s, visibility 0.3s;
    user-select: none;
}

#start-prompt.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

