:root {
  --bg: #fff6fb;
  --card: #ffffff;
  --accent: #ff6b9d;
  --accent-light: #ff9ec6;
  --text: #5a3a4e;
  --text-muted: #8a6f7d;
  --border: #f0e0eb;
  --shadow: rgba(0, 0, 0, 0.06);
}

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: linear-gradient(160deg, var(--bg), #fdebf7);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.card {
  width: min(720px, 100%);
  background: var(--card);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 12px 40px var(--shadow);
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-2px);
}

.center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #4a2740;
  margin: 0;
}

.subtitle {
  color: var(--text-muted);
  margin-top: 8px;
  font-size: 1.05rem;
}

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 20px 0 8px;
  font-weight: 500;
  color: #5d3d4d;
}

input,
select {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fdf7fc;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.15);
}

.actions {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

button {
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border: none;
  padding: 12px 28px;
  border-radius: 14px;
  color: white;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  box-shadow: 0 4px 12px rgba(255, 107, 157, 0.2);
}

button:hover {
  opacity: 0.94;
  transform: translateY(-1px);
}

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

.opt {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hidden {
  display: none;
}

.hint {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

#thanks {
  text-align: center;
  animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsif */
@media (max-width: 600px) {
  .card {
    padding: 24px 20px;
  }

  h1 {
    font-size: 1.6rem;
  }

  label {
    margin: 16px 0 6px;
  }

  input,
  select {
    padding: 11px 14px;
  }
}