body {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #1a1a1a;
    font-family: Arial, sans-serif;
    color: white;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: float 15s infinite ease-in-out;
}

.circle:nth-child(1) {
    width: 300px;
    height: 300px;
    background-color: rgba(255, 0, 128, 0.3);
    top: -150px;
    left: -150px;
}

.circle:nth-child(2) {
    width: 400px;
    height: 400px;
    background-color: rgba(0, 128, 255, 0.3);
    bottom: -200px;
    right: -200px;
}

.circle:nth-child(3) {
    width: 200px;
    height: 200px;
    background-color: rgba(255, 255, 0, 0.3);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0)
    }
    
    25% {
        transform: translate(50px, -50px)
    }
    
    50% {
        transform: translate(0, -100px)
    }
    
    75% {
        transform: translate(-50px, -50px)
    }
}

#game-container {
    position: relative;
    width: 600px;
    height: 400px;
    background: #00366f;
    border: 10px solid #002347;
    border-radius: 20px;
    overflow: hidden;
}

.goal {
    position: absolute;
    width: 20px;
    height: 100px;
    background: #002347;
    top: 50%;
    transform: translateY(-50%);
}

#left-goal {
    left: 0;
}

#right-goal {
    right: 0;
}

.goal-line {
    position: absolute;
    width: 4px;
    height: 150px;
    background: rgba(255, 255, 255, 0.5);
    top: 50%;
    transform: translateY(-50%);
}

#left-goal-line {
    left: 30px;
}

#right-goal-line {
    right: 30px;
}

#center-line {
    position: absolute;
    left: 50%;
    top: 0;
    width: 4px;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-50%);
}

#center-circle {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100px;
    height: 100px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

#menu, #game-over {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.button {
    padding: 10px 20px;
    margin: 10px;
    background: #ff4444;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    font-size: 16px;
}

.button:hover {
    background: #ff6666;
}

#timer {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 24px;
    color: white;
    z-index: 1;
}

#score {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: white;
    z-index: 1;
}

.paddle {
    position: absolute;
    width: 30px;
    height: 30px;
    background: #ff4444;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

#player-paddle {
    background: #ff4444;
}

#computer-paddle {
    background: #44ff44;
}

#puck {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #ffffff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}