body {
    margin: 0;
    overflow: hidden;
    font-family: 'Arial', sans-serif;
}

#gameContainer {
    position: relative;
    width: 100vw;
    height: 100vh;
}

#gameCanvas {
    display: block;
    width: 100%;
    height: 100%;
}

#ui {
    position: absolute;
    top: 20px;
    left: 20px;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
    z-index: 10;
}

#timer {
    font-size: 24px;
    margin-bottom: 10px;
}

#instructions {
    font-size: 18px;
    background: rgba(0,0,0,0.7);
    padding: 15px;
    border-radius: 10px;
    max-width: 400px;
    line-height: 1.6;
}

#records-table {
    width: 100%;
    margin: 10px 0;
    border-collapse: collapse;
}

#records-table th {
    background-color: rgba(255,255,255,0.1);
    text-align: left;
    padding: 8px;
}

#records-table td {
    padding: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

#restart-button {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-top: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

#restart-button:hover {
    background: #45a049;
}