body {
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #87CEEB, #E0F6FF);
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
}

#gameContainer {
    position: relative;
    border: 3px solid #2c3e50;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

#gameCanvas {
    background: linear-gradient(to bottom, #1e3c72, #2a5298, #87CEEB);
    display: block;
}

#gameUI {
    position: absolute;
    top: 20px;
    left: 20px;
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    z-index: 10;
}

#gameOver {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    display: none;
    z-index: 20;
}

#restartBtn {
    background: #3498db;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 15px;
    transition: background 0.3s;
}

#restartBtn:hover {
    background: #2980b9;
}

#instructions {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    font-size: 14px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

#credits {
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: white;
    font-size: 12px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    text-align: right;
    background: rgba(0,0,0,0.3);
    padding: 10px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

#credits div {
    margin: 2px 0;
}