body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to bottom, #1a1a2e, #16213e);
    font-family: Arial, sans-serif;
    color: white;
}

.game-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

.back-button {
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    transition: background 0.3s ease;
    align-self: flex-start;
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.game-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 10px;
}

h1 {
    margin: 0;
    font-size: 32px;
    color: white;
}

#gameCanvas {
    background-color: #000;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

.score-display {
    display: flex;
    gap: 40px;
    font-size: 24px;
    font-weight: bold;
}

.player-score, .computer-score {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

.controls {
    display: flex;
    gap: 20px;
}

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

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

#resetButton {
    background-color: #f44336;
}

#resetButton:hover {
    background-color: #da190b;
}

.game-mode {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
}

.mode-btn {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.mode-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.mode-btn.active {
    background-color: #4CAF50;
}

.mode-btn.active:hover {
    background-color: #45a049;
}

.instructions {
    margin-top: 10px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.instructions p {
    margin: 5px 0;
}

.hidden {
    display: none;
} 