/* General Reset & Font */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-color: #121212; /* Dark background */
    color: #eee;
    overflow: hidden; /* Hide scrollbars */
}

/* Hide canvas by default, JS will show it */
canvas {
    background-color: #000;
    border: 2px solid #555;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    display: block; /* Removed from h1 */
}

/* Instructions Screen */
#instructions-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

#instructions-content {
    background-color: #2a2a2a;
    padding: 30px 40px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #444;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    max-width: 400px;
}

#instructions-content h2 {
    font-size: 2.5rem;
    color: #ff6347; /* 'salmon' color for title */
    margin-bottom: 15px;
    letter-spacing: 2px;
}

#instructions-content p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #ccc;
}

#instructions-content h3 {
    font-size: 1.2rem;
    color: #eee;
    margin-bottom: 10px;
    border-bottom: 1px solid #444;
    padding-bottom: 5px;
}

#instructions-content ul {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
    display: inline-block;
}

#instructions-content li {
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 8px;
}

/* Style for keys */
#instructions-content code {
    background-color: #444;
    color: #fff;
    padding: 3px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.95rem;
    margin-right: 8px;
}

/* Start Button */
#startButton {
    background-color: #ff6347; /* salmon */
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

#startButton:hover {
    background-color: #e0553d;
    transform: scale(1.05);
}