body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
    font-family: Arial, sans-serif;
}

.game-container {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

canvas {
    background: #000;
    border-radius: 5px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.score-board {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.score, .best-score {
    color: #fff;
    font-size: 20px;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px 15px;
    border-radius: 5px;
    min-width: 150px;
}

.controls {
    text-align: center;
    margin-top: 10px;
}

button {
    background: linear-gradient(45deg, #4CAF50, #45a049);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

/* Celebration modal */
.celebration {
    display: none;
    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;
}

.celebration-content {
    position: relative;
    overflow: hidden;
}

.celebration h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

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

.celebration-content {
    text-align: center;
    color: #fff;
    font-family: sans-serif;
    background: linear-gradient(45deg, #2a2a2a, #3a3a3a);
    padding: 30px;
    border-radius: 15px;
    animation: popIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.celebration-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.celebration-content p {
    font-size: 1.5rem;
    margin: 0.5rem 0;
}

.celebration-content button {
    margin-top: 2rem;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    border: none;
    border-radius: 30px;
    background: linear-gradient(45deg, #4CAF50, #45a049);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.celebration-content button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

@keyframes popIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    70% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
} 