html,
body {
    margin: 0;
    padding: 0;
    background: #000;
    overflow: hidden;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#ui {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    font-family: 'Courier New', monospace;
    color: #cfe8e8;
    z-index: 5;
}

.bar-label {
    position: absolute;
    font-size: 12px;
    letter-spacing: 2px;
    text-shadow: 0 0 4px #000;
}

.bar-bg {
    position: absolute;
    height: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.bar-fill {
    position: absolute;
    height: 100%;
    transition: width 0.15s linear;
}

#awarenessLabel {
    top: 14px;
    left: 20px;
}

#awarenessBg {
    top: 32px;
    left: 20px;
    width: 220px;
    box-shadow: 0 0 10px transparent;
    transition: 0.2s;
}

#awarenessFill {
    background: #d9364f;
    width: 0%;
}

#batteryLabel {
    top: 60px;
    left: 20px;
}

#batteryBg {
    top: 78px;
    left: 20px;
    width: 220px;
}

#batteryFill {
    background: #3ecf6e;
    width: 100%;
}

#vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 150px rgba(217, 54, 79, 0);
    transition: 0.5s;
}

#hint {
    position: absolute;
    bottom: 16px;
    left: 20px;
    font-size: 12px;
    opacity: 0.6;
    letter-spacing: 1px;
}

#pauseBtn {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #cfe8e8;
    color: #cfe8e8;
    font-family: 'Courier New', monospace;
    cursor: pointer;
    pointer-events: auto;
    transition: 0.2s;
}

#pauseBtn:hover {
    background: #cfe8e8;
    color: #000;
}

.overlay-menu {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.95);
    text-align: center;
    z-index: 10;
}

#startMenu {
    display: flex;
}

.title-text {
    font-family: 'Courier New', monospace;
    font-size: 48px;
    letter-spacing: 6px;
    margin-bottom: 8px;
    color: #d9364f;
    text-shadow: 0 0 20px #d9364f;
}

.pause-title {
    color: #fff;
    text-shadow: none;
}

.sub-text {
    font-family: 'Courier New', monospace;
    color: #aab;
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 40px;
}

.action-btn {
    padding: 15px 40px;
    font-family: 'Courier New', monospace;
    font-size: 24px;
    font-weight: bold;
    color: #000;
    background: #3ecf6e;
    border: none;
    cursor: pointer;
    letter-spacing: 3px;
    transition: 0.2s;
    box-shadow: 0 0 10px rgba(62, 207, 110, 0.5);
    margin-top: 10px;
}

.action-btn:hover {
    background: #fff;
    box-shadow: 0 0 25px #3ecf6e;
}