:root {
    --bg: #F0F0F0;
    --black: #000000;
    --white: #FFFFFF;
}

body {
    background-color: var(--bg);
    font-family: 'Courier New', Courier, monospace;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    overflow: hidden;
}

nav {
    position: absolute;
    top: 20px;
    font-weight: bold;
    letter-spacing: 2px;
    border: 3px solid var(--black);
    padding: 5px 15px;
    background: var(--white);
}

#game-container {
    width: 90%;
    max-width: 500px;
    border: 4px solid var(--black);
    background: var(--white);
    box-shadow: 10px 10px 0px var(--black);
    padding: 40px;
    text-align: center;
}

#glitch-text {
    font-size: 1.5rem;
    margin-bottom: 30px;
    min-height: 100px;
}

.stats-box {
    background: var(--black);
    color: var(--white);
    padding: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

#percentage { color: #00FF00; font-weight: bold; }

.btn {
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    font-family: inherit;
    font-weight: bold;
    cursor: pointer;
    border: 4px solid var(--black);
    transition: 0.1s;
}

.btn-black { background: var(--black); color: var(--white); }
.btn-white { background: var(--white); color: var(--black); }

.btn:active { transform: translate(4px, 4px); }

#progress-bar-container {
    height: 10px;
    width: 100%;
    border: 2px solid var(--black);
    margin-bottom: 20px;
}

#progress-bar {
    height: 100%;
    width: 0%;
    background: var(--black);
}

#result-screen {
    background: white;
    padding: 30px;
    border: 4px solid black;
    box-shadow: 10px 10px 0px black;
    max-width: 400px;
}