* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f5f5f5;
    min-height: 100vh;
    padding: 16px;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 24px;
}

.header h1 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

#score {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    margin-top: 8px;
}

/* Main container */
.container {
    width: 100%;
    max-width: 500px;
    text-align: center;
}

/* Color box */
.color-box {
    width: 100%;
    aspect-ratio: 3 / 2; /* keeps shape consistent */
    border-radius: 16px;
    background: gray;
    margin: 20px auto;
    transition: background 0.3s ease;
}

/* Answer buttons */
.answers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 20px 0;
}

.answer-btn {
    padding: clamp(10px, 2vw, 16px);
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    border-radius: 12px;
    border: 1px solid #ccc;
    background: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}

.answer-btn:hover {
    background: #eee;
    transform: scale(1.05);
}

.answer-btn:active {
    transform: scale(0.97);
}

/* Feedback icons */
.feedback {
    margin-top: 16px;
    height: 50px;
}

.correct,
.wrong {
    display: none;
    width: 50px;
    height: 50px;
    margin: auto;
    background-size: cover;
}

/* Optional: scale icons on larger screens */
@media (min-width: 768px) {
    .correct,
    .wrong {
        width: 60px;
        height: 60px;
    }
}