* {
    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;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    color: white;
    font-size: 3em;
    margin: 40px 0 50px 0;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

#build-area {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
    max-width: 500px;
    width: 100%;
}

form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

label {
    font-size: 1.2em;
    color: #333;
    font-weight: 600;
}

select {
    padding: 12px 15px;
    font-size: 1em;
    border: 2px solid #667eea;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

select:focus {
    outline: none;
    border-color: #764ba2;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

button {
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

button:active {
    transform: translateY(0);
}

#question-area {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 100%;
    min-height: 200px;
}

#result {
    margin-bottom: 20px;
}

#result p {
    font-size: 1.3em;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.6;
}

.answer-btn {
    width: 100%;
    margin: 10px 0;
    padding: 18px;
    font-size: 1.1em;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    text-align: left;
}

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

#score {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 100%;
    margin-top: 20px;
    text-align: center;
}

#score p {
    font-size: 1.5em;
    font-weight: 600;
}

#score p:first-child {
    color: #28a745;
}

#score p:not(:first-child) {
    color: #dc3545;
}
