* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Press Start 2P', 'Courier New', monospace;
    background-color: #000;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

#game-container {
    position: relative;
    width: 800px;
    height: 800px;
    border: 4px solid #444;
    background-color: #000;
}

#game-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 3;
}

h1 {
    color: #00ff00;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: 0 0 10px #00ff00;
}

h2 {
    color: #00ff00;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

h3 {
    color: #00ff00;
    font-size: 1rem;
    margin: 1.5rem 0 1rem;
    text-shadow: 0 0 5px #00ff00;
}

button {
    background-color: #00aa00;
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.5rem;
    margin: 1rem;
    cursor: pointer;
    font-family: 'Press Start 2P', 'Courier New', monospace;
    border-radius: 5px;
    box-shadow: 0 0 10px #00ff00;
}

button:hover {
    background-color: #00ff00;
}

.instructions {
    margin-top: 2rem;
    text-align: center;
    padding: 1rem;
    border: 2px solid #00aa00;
    border-radius: 10px;
    max-width: 80%;
}

.instructions p {
    margin: 0.5rem 0;
    font-size: 0.8rem;
}

#ui-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    z-index: 2;
    pointer-events: none;
}

#score {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 10px;
}

#difficulty {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 10px;
}

#fuel-container {
    display: flex;
    align-items: center;
}

#fuel-label {
    margin-right: 10px;
    font-size: 1rem;
}

#fuel-bar-container {
    width: 200px;
    height: 20px;
    border: 2px solid #fff;
    background-color: #333;
}

#fuel-bar {
    height: 100%;
    width: 100%;
    background-color: #00aa00;
    transition: width 0.2s;
}

#game-over-screen {
    display: none;
}

#share-button {
    background-color: #3b5998;
    margin-top: 10px;
}

#share-button:hover {
    background-color: #4c70ba;
}

#sound-controls {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 2;
}

#toggle-sound {
    font-size: 0.8rem;
    padding: 0.5rem;
}

/* Mobil cihazlar için responsive düzenlemeler */
@media (max-width: 500px) {
    #game-container {
        width: 100%;
        height: 100vh;
        border: none;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    button {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
    
    .instructions {
        font-size: 0.7rem;
    }
}

/* Oyun bittiğinde ya da başlangıç ekranında canvas'ı gizleme */
.hide-canvas {
    opacity: 0.3;
}
/* style.css dosyasına ekleyin */
#side-banner {
    position: fixed;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    display: block;
    max-width: 520px;
    transition: all 0.3s ease;
}

#side-banner img {
    width: 100%;
    height: auto;
    border: 2px solid #333;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
}

#side-banner:hover {
    transform: translateY(-50%) scale(1.05);
}

/* Mobil cihazlarda banneri gizle */
@media (max-width: 1200px) {
    #side-banner {
        display: none;
    }
}