body {
    visibility: hidden;
    background-color: #000;
}

#count {
    color: white;
    font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

#prime {
    color: white;
    font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

#ascii {
    color: white;
    font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

.prime-highlight {
    color: #33cbff; /* gold, or pick any color you like */
}


#wheel-modal {
    /* Remove display:flex !important; */
    animation: fadeIn 0.3s;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes flash {
    from { opacity: 1; }
    to   { opacity: 0.3; }
}

#flash-overlay {
    display: none;
    position: fixed;
    left: 0; top: 0;
    width: 100vw; height: 100vh;
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

#flash-text {
    color: #fff;
    font-size: 20px;
    font-family: 'Oswald', sans-serif;
    text-align: center;
    padding: 1em 2em;
    border-radius: 16px;
    box-shadow: 0 0 24px #000;
    max-width: 90vw;
}

#penguin-container {
    position: relative;
    width: 400px;
    height: 600px;
    background: #fff;
    border-radius: 1em;
    box-shadow: 0 0 24px #000;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

/* Make the game smaller and fit screen on mobile */
@media (max-width: 500px) {
    #penguin-container {
        width: 95vw;
        height: 70vh;
        min-width: 220px;
        min-height: 320px;
        max-width: 99vw;
        max-height: 99vh;
    }
    #penguin-canvas {
        width: 100% !important;
        height: 100% !important;
    }
}

#count, #prime {
    white-space: nowrap;
    overflow-x: auto;
    text-overflow: ellipsis;
    display: block;
    max-width: 100vw;
}

/* Make sure font size is readable and fits on mobile */
@media (max-width: 600px) {
    #count, #prime {
        font-size: 1.1em;
        padding-left: 0.5em;
        padding-right: 0.5em;
        max-width: 98vw;
    }
    .prime-highlight {
        font-size: 1em !important;
    }
}