body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-color: #333;
    font-family: Arial, sans-serif;
    position: relative;
}

.setup-screen {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    padding: 20px;
    z-index: 1000;
}

.plane-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.plane-option {
    background-color: #444;
    padding: 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s;
}

.plane-option:hover {
    transform: scale(1.05);
    background-color: #555;
}

#cameraSetup {
    text-align: center;
    margin-bottom: 30px;
}

#cameraContainer {
    margin: 20px 0;
    position: relative;
    display: inline-block;
}

#video {
    width: 320px;
    height: 240px;
    border: 2px solid white;
    border-radius: 10px;
}

#capturedPhoto {
    width: 320px;
    height: 240px;
    border: 2px solid white;
    border-radius: 10px;
}

#cameraControls {
    margin-top: 15px;
}

#cameraControls button {
    margin: 0 10px;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

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

#cameraControls button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

#hud {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
}

#profile {
    display: flex;
    align-items: center;
    gap: 10px;
}

#playerProfile {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid white;
}

#health {
    display: flex;
    gap: 5px;
}

.heart {
    width: 20px;
    height: 20px;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+PHBhdGggZD0iTTEwIDNjLTIgLTMgLTcgLTMgLTkgMnMyIDggOSAxM2M3IC01IDExIC04IDkgLTEzcy03IC01IC05IC0yeiIgZmlsbD0iI2YwMCIvPjwvc3ZnPg==');
}

#gameCanvas {
    border: 2px solid white;
    background-color: #87CEEB;
}

#score {
    color: white;
    font-family: Arial, sans-serif;
    font-size: 24px;
}

#powerupText {
    color: #ffff00;
    font-family: Arial, sans-serif;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 255, 0, 0.5);
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
}

#game {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

#gameOver {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 10px;
    color: white;
    text-align: center;
}

.stats-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.9);
    padding: 30px;
    border-radius: 15px;
    color: white;
    text-align: center;
    min-width: 300px;
}

.stats-content {
    margin: 20px 0;
}

.stats-content p {
    margin: 10px 0;
    font-size: 18px;
}

#continueButton {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
}

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