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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.game-container {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    max-width: 850px;
    width: 100%;
}

.header {
    background: linear-gradient(90deg, #4b6cb7, #182848);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header h1 {
    font-size: 2.2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

#scoreValue {
    font-weight: bold;
    font-size: 1.5rem;
    color: #fdbb2d;
}

#gameCanvas {
    display: block;
    background-color: #0f1c3a;
    width: 100%;
    cursor: pointer;
}

.controls {
    padding: 20px;
    text-align: center;
    background-color: #f8f9fa;
}

.controls p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #333;
}

.shapes {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.shape-info {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
    background-color: #e9ecef;
}

.shape-info.active {
    background-color: #4b6cb7;
    color: white;
    transform: scale(1.1);
}

/* Responsive design */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .shapes {
        flex-direction: column;
        gap: 10px;
    }
    
    .header h1 {
        font-size: 1.8rem;
    }
}