body {
    font-family: Arial, sans-serif;
    background-color: #222; /* Dark background */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    overflow: hidden; /* Prevent scroll bars */
}

.game-container {
    position: relative;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5); /* Green glow effect */
}

#pongCanvas {
    /* Dimensions will be set in JavaScript, but we define the basic look here */
    background-color: black;
    border: 2px solid white;
    display: block; /* Removes any default canvas spacing */
}

/* --- Start/Overlay Screen Styling --- */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 10;
}

.overlay h1 {
    font-size: 4em;
    margin-bottom: 0.5em;
    color: #4CAF50; /* Green highlight for the title */
}

.overlay p {
    margin-bottom: 1.5em;
    font-size: 1.2em;
}

#startButton {
    padding: 10px 20px;
    font-size: 1.5em;
    cursor: pointer;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

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

.hidden {
    display: none;
}