body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #1a1a2e;
    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, #2a2a4e 0%, #1a1a2e 100%);
}

#game-canvas {
    max-width: 100%;
    max-height: 100%;
    box-shadow: 0 0 50px rgba(0,0,0,0.8), inset 0 0 20px rgba(255,255,255,0.1);
    border-radius: 10px;
    background: linear-gradient(to bottom, #111 0%, #222 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;
    font-size: 3rem;
    font-weight: bold;
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff;
    margin: 0;
    opacity: 0.8;
}

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

h2 {
    font-size: 2.5rem;
    margin-top: 0;
    margin-bottom: 15px;
    background: linear-gradient(to right, #ff00cc, #3333ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

p {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 25px;
}

/* Enhancing the button from shared.css slightly to fit 2.5D theme */
.btn {
    pointer-events: auto;
    font-size: 1.2rem;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(to bottom, #4facfe 0%, #00f2fe 100%);
    color: white;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 242, 254, 0.4), inset 0 2px 5px rgba(255,255,255,0.5);
    transition: transform 0.1s, box-shadow 0.1s;
}

.btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 5px rgba(0, 242, 254, 0.4), inset 0 2px 5px rgba(0,0,0,0.2);
}
