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

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

.container {
    text-align: center;
}

h1 {
    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.5em;
}

.score {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.score .label {
    font-size: 0.8em;
    opacity: 0.9;
}

.score .value {
    font-size: 1.8em;
    font-weight: bold;
    color: #00ff88;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.divider {
    font-size: 2em;
    opacity: 0.5;
}

.game-info {
    margin-bottom: 20px;
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 8px;
    font-size: 0.9em;
}

.game-info p {
    margin: 5px 0;
}

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

.game-over-hidden {
    display: none;
}

.game-over-visible {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.game-over-content {
    background: #1e3c72;
    padding: 40px;
    border-radius: 15px;
    border: 3px solid #00ff88;
    text-align: center;
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
}

.game-over-content h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #00ff88;
}

.game-over-content p {
    font-size: 1.5em;
    margin-bottom: 30px;
}

.game-over-content button {
    padding: 12px 30px;
    font-size: 1.1em;
    background: #00ff88;
    color: #000;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.game-over-content button:hover {
    background: #00dd77;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.5);
}

.game-over-content button:active {
    transform: scale(0.98);
}
