:root {
  --happy: #2e9e5b;
  --frown: #c14f4f;
  --bg: #f7f7f5;
  --text: #2b2b2b;
  --muted: #6b6b6b;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.container {
  width: 100%;
  max-width: 480px;
  text-align: center;
}

h1 {
  font-size: clamp(1.5rem, 6vw, 2.1rem);
  margin: 0 0 8px;
}

p.subtitle {
  color: var(--muted);
  margin: 0 0 32px;
  font-size: clamp(0.95rem, 3.5vw, 1.05rem);
}

.stars {
  display: flex;
  gap: 4px;
  justify-content: center;
  flex-wrap: nowrap;
}

.star-btn {
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  touch-action: manipulation;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.star-btn:active svg {
  transform: scale(0.9);
}

.star-btn svg {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: #cfcfcb;
  stroke-width: 1.4;
  transition: fill 0.1s ease, stroke 0.1s ease, transform 0.1s ease;
}

.star-btn.filled svg {
  fill: #e0a72e;
  stroke: #e0a72e;
}

.face-btn svg { width: 64px; height: 64px; }

.card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  text-align: left;
}

.card h1 { text-align: center; }
.card p.subtitle { text-align: center; }

label {
  display: block;
  font-weight: 600;
  margin: 18px 0 6px;
  font-size: 0.95rem;
}

textarea, input[type="text"], input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d7d7d5;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
}

textarea { min-height: 120px; }

.optional { color: var(--muted); font-weight: 400; font-size: 0.85rem; }

button[type="submit"] {
  width: 100%;
  margin-top: 22px;
  padding: 14px;
  border: none;
  border-radius: 10px;
  background: var(--frown);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
}

button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: default;
}

.status {
  margin-top: 16px;
  font-size: 0.95rem;
  text-align: center;
}

.status.error { color: var(--frown); }
.status.success { color: var(--happy); }

.back-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
}
