/* Basic reset and font setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.container {
    text-align: center;
    max-width: 900px;
    padding: 20px;
}

h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

p {
    font-size: 1.2em;
    margin-bottom: 20px;
    opacity: 0.9;
}

.game-info {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
    font-size: 1.3em;
    font-weight: bold;
}

#game-canvas {
    border: 3px solid white;
    border-radius: 10px;
    background: #2d3436;
    display: block;
    margin: 20px auto;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.controls {
    margin: 20px 0;
}

button {
    background: #00b894;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 1em;
    border-radius: 5px;
    cursor: pointer;
    margin: 0 10px;
    transition: background 0.3s;
}

button:hover {
    background: #00a085;
}

#message {
    font-size: 1.2em;
    margin: 20px 0;
    min-height: 30px;
    font-weight: bold;
}

.instructions {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.instructions h3 {
    margin-bottom: 10px;
    color: #ffeaa7;
}

.instructions ul {
    list-style-type: disc;
    padding-left: 20px;
}

.instructions li {
    margin: 5px 0;
    line-height: 1.4;
}