* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

h1 {
    color: #fff;
    font-size: 2.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.scoreboard {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 20px;
    font-size: 1.3em;
}

.score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.score .label {
    color: #aaa;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.score .value {
    color: #00ff88;
    font-size: 2em;
    font-weight: bold;
    min-width: 60px;
}

.divider {
    color: #666;
    font-size: 2em;
    font-weight: bold;
}

#pongCanvas {
    background: #000;
    border: 3px solid #00ff88;
    border-radius: 5px;
    display: block;
    margin: 20px auto;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
    cursor: none;
}

.instructions {
    color: #ccc;
    font-size: 0.9em;
    margin-top: 20px;
    line-height: 1.6;
}

.instructions p {
    margin: 8px 0;
}

.instructions strong {
    color: #00ff88;
}

@media (max-width: 600px) {
    #pongCanvas {
        width: 100%;
        height: auto;
    }

    h1 {
        font-size: 1.8em;
    }

    .scoreboard {
        gap: 20px;
    }

    .score .value {
        font-size: 1.5em;
    }

    .instructions {
        font-size: 0.8em;
    }
}
