body {
    margin: 0;
    overflow: hidden; /* Prevent scrollbars */
    background-color: #2c3e50; /* Dark grayish blue */
    height: 100vh;
    font-family: 'Oswald', sans-serif;
    color: #ecf0f1; /* Light gray */
}

#gameCanvas {
    display: block;
    background-color: #34495e; /* Slightly lighter dark blue for road/canvas area */
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

#scoreDisplay {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 24px;
    color: #f1c40f; /* Yellow for score */
    font-weight: 700;
}

#trafficLightIndicator {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 90px;
    background-color: #7f8c8d; /* Gray placeholder */
    border: 2px solid #bdc3c7;
    border-radius: 5px;
    /* Individual lights will be added via JS or more specific CSS later */
}

.game-over-text { /* To be applied dynamically via JS */
    font-family: 'Bebas Neue', sans-serif;
    font-size: 72px;
    color: #e74c3c; /* Red for game over */
    text-align: center;
}

#mobileControls {
    position: absolute;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: space-around;
    padding: 0 10px;
    box-sizing: border-box;
}

#mobileControls button {
    padding: 15px 20px;
    font-size: 18px;
    font-family: 'Oswald', sans-serif;
    background-color: #f1c40f; /* Yellow */
    color: #2c3e50; /* Dark blue text */
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px #c0982b; /* Darker yellow for 3D effect */
    transition: all 0.1s ease;
}

#mobileControls button:active {
    transform: translateY(2px);
    box-shadow: 0 2px #c0982b;
}

/* Specific styles for messages like "ENTERING DANGER WAY" can be added later */
