:root {
  --bg: #f6f7fb;
  --card: #ffffff;
  --primary: #6c63ff;
  --text: #2d2d2d;
  --muted: #777;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
}

.app {
  max-width: 420px;
  margin: auto;
  padding: 20px;
}

.header {
  text-align: center;
  margin-bottom: 20px;
}

#logo {
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
}

.subtitle {
  color: var(--muted);
  font-size: 0.9rem;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  animation: fadeIn 0.4s ease;
}

.hidden {
  display: none;
}

h2 {
  font-family: 'Poppins', sans-serif;
  margin-top: 0;
}

input {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 1rem;
}

button {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: none;
  background: var(--primary);
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.answers button {
  background: #f0f0ff;
  color: var(--text);
  margin-bottom: 10px;
}

.progress {
  height: 6px;
  background: #eee;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: var(--primary);
  transition: width 0.3s ease;
}

.result-icon {
  font-size: 4rem;
  text-align: center;
}

.result-user {
  margin-top: 15px;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

.result-actions {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
