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

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

.game-container {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    width: 90%;
}

.game-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.stats {
    display: flex;
    gap: 1rem;
}

.timer {
    font-weight: bold;
    color: #e74c3c;
}

.game-board {
    display: grid;
    gap: 4px;
    margin: 2rem 0;
    aspect-ratio: 1;
    background-color: #ddd;
    padding: 4px;
    border-radius: 8px;
}

.color-swatch {
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-swatch:hover {
    transform: scale(1.05);
}

.color-swatch.different {
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.controls, .power-ups {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

button {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background-color: #3498db;
    color: white;
    transition: background-color 0.2s;
}

button:hover {
    background-color: #2980b9;
}

button:disabled {
    background-color: #bdc3c7;
    cursor: not-allowed;
}

#hintButton {
    background-color: #2ecc71;
}

#hintButton:hover:not(:disabled) {
    background-color: #27ae60;
}

#slowButton {
    background-color: #f1c40f;
}

#slowButton:hover:not(:disabled) {
    background-color: #f39c12;
} 