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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 500px;
    width: 100%;
}

.title {
    color: #333;
    font-size: 32px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.score-board {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    margin-bottom: 20px;
    display: inline-block;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(245, 8787, 108, 0.4);
}

.score-label {
    margin-right: 10px;
}

.score-value {
    font-size: 24px;
    min-width: 50px;
    display: inline-block;
}

#gameCanvas {
    border: 4px solid #333;
    border-radius: 10px;
    background: #f0f0f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: block;
    margin: 0 auto 20px;
}

.controls {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 20px;
}

.btn {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn:active:not(:disabled) {
    transform: translateY(0);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-start {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-restart {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.instructions {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.instructions p {
    margin-bottom: 10px;
}

.instructions strong {
    color: #333;
    background: #ffd700;
    padding: 2px 8px;
    border-radius: 4px;
}