body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #2c3e50;
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    touch-action: none; /* Prevent browser scrolling */
}

#game-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at center, #34495e 0%, #2c3e50 100%);
}

#game-canvas {
    max-width: 100%;
    max-height: 100%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8), inset 0 0 30px rgba(255,255,255,0.05);
    border-radius: 15px;
    background: linear-gradient(to bottom, #1a252f 0%, #111820 100%);
}

#ui-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#score-display {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 3rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 15px rgba(255,255,255,0.8);
    margin: 0;
}

#start-screen, #game-over-screen {
    pointer-events: auto;
    background: rgba(44, 62, 80, 0.85);
    padding: 40px 60px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6), inset 0 2px 10px rgba(255,255,255,0.2);
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

h2 {
    font-size: 3rem;
    margin-top: 0;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 0 10px #f1c40f, 0 0 20px #e74c3c, 0 0 30px #9b59b6, 0 0 40px #3498db;
}

p {
    font-size: 1.2rem;
    color: #ecf0f1;
    margin-bottom: 30px;
}

/* Enhancing the button from shared.css */
.btn {
    pointer-events: auto;
    font-size: 1.5rem;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #f1c40f 0%, #f39c12 100%);
    color: white;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(243, 156, 18, 0.5), inset 0 3px 6px rgba(255,255,255,0.4);
    transition: transform 0.1s, box-shadow 0.1s;
}

.btn:active {
    transform: translateY(4px);
    box-shadow: 0 4px 10px rgba(243, 156, 18, 0.5), inset 0 2px 5px rgba(0,0,0,0.2);
}
