@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #010105;
    font-family: 'Press Start 2P', cursive;
    touch-action: none;
}

#canvas {
    display: block;
    image-rendering: pixelated;
    width: 100%;
    height: 100%;
}

#mobile-pause {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: rgba(0, 255, 255, 0.1);
    border: 2px solid #0ff;
    color: #0ff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    z-index: 30;
    cursor: pointer;
    border-radius: 5px;
}

#ui {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

#score {
    font-size: 35px;
    text-align: center;
    color: #fff;
    margin-top: 35px;
    text-shadow: 4px 4px #f0f;
}

#status-container-bottom {
    position: absolute;
    bottom: 35px;
    width: 100%;
    text-align: center;
    pointer-events: auto;
}

.status-box {
    font-size: 10px;
    padding: 12px;
    margin: 0 8px;
    border: 2px solid #fff;
    background: rgba(0, 0, 0, 0.85);
    display: inline-block;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
    pointer-events: auto;
}

#shield-ui {
    color: #0ff;
    border-color: #0ff;
}

#warp-ui {
    color: #ff0;
    border-color: #ff0;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20;
    color: #fff;
    pointer-events: none;
}

.pixel-box {
    border: 4px solid #0ff;
    background: rgba(0, 0, 0, 0.95);
    padding: 25px;
    text-align: center;
    min-width: 290px;
    opacity: 0;
    transform: scale(0.8);
    transition: 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.show-menu {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

button {
    display: block;
    width: 100%;
    margin: 10px 0;
    padding: 15px;
    font-family: 'Press Start 2P';
    background: #0ff;
    border: none;
    cursor: pointer;
    font-size: 10px;
}

button:hover {
    background: #f0f;
    color: #fff;
    transform: scale(1.05);
}

#lang-selector {
    margin: 15px 0;
    font-size: 10px;
    color: #888;
}

.lang-opt {
    cursor: pointer;
    padding: 5px;
}

.title-text {
    font-size: 18px;
    color: #0ff;
    margin-bottom: 20px;
    text-shadow: 3px 3px #f0f;
}

.settings-row {
    font-size: 7px;
    color: #555;
    margin-top: 20px;
    line-height: 1.4;
}

.hidden {
    display: none !important;
}