body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #1a1a1a;
    color: #f0f0f0;
    overflow: hidden;
}

.screen {
    display: none;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.screen.active {
    display: flex;
}

#settings-screen {
    background-color: #2c2c2c;
    padding: 40px;
    box-sizing: border-box;
}

h1 {
    margin-top: 0;
    color: #4CAF50;
}

.settings-container {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
}

.setting-group, .game-settings {
    background: #333;
    padding: 20px;
    border-radius: 8px;
    min-width: 250px;
}

h2 {
    margin-top: 0;
    border-bottom: 2px solid #4CAF50;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 10px;
}

input[type="range"] {
    width: 100%;
    margin-bottom: 15px;
}

button {
    padding: 15px 30px;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    background-color: #4CAF50;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #45a049;
}

#game-screen {
    position: relative;
    cursor: none;
}

#game-canvas {
    display: block;
    background-color: #000;
}

#game-timer, #game-score {
    position: absolute;
    top: 20px;
    font-size: 24px;
    color: #fff;
    background: rgba(0,0,0,0.5);
    padding: 10px;
    border-radius: 5px;
}

#game-timer {
    left: 20px;
}

#game-score {
    right: 20px;
}

#results-screen {
    background-color: #2c2c2c;
}

#result-text {
    font-size: 28px;
    margin-bottom: 30px;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 32px;
    text-align: left;
    font-size: 14px;
    color: #888;
}

footer p {
    margin: 5px 0;
}

footer a {
    color: #bbb;
}

.creator-message {
    color: #aaa;
}