body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.logo { margin-bottom: 24px; text-align: center; }
.logo img { max-width: 140px; height: auto; display: block; margin: 0 auto; }

.container { max-width: 600px; width: 100%; }

.card {
  background: var(--color-card);
  padding: 24px 20px;
  box-shadow: var(--shadow);
  text-align: center;
}

h1 {
  font-family: var(--font-display);
  color: var(--color-text);
  font-size: clamp(32px, 8vw, 48px);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.subtitle {
  color: var(--color-muted);
  font-size: 15px;
  margin-bottom: 24px;
}

input, select, textarea { margin-bottom: 16px; }

.btn { width: 100%; padding: 16px; font-size: 16px; }
.btn:hover:not(:disabled) { background: var(--color-accent); }

textarea { min-height: 100px; }

.gift-display { display: none; margin-bottom: 20px; }

.gift-image {
  width: 100%;
  max-width: 450px;
  height: auto;
  aspect-ratio: 16/10;
  object-fit: cover;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.gift-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 7vw, 40px);
  color: var(--color-text);
  margin-bottom: 10px;
}

.gift-description {
  font-size: 15px;
  color: var(--color-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.success-screen { display: none; text-align: center; padding: 32px 16px; }
.success-icon { font-size: 64px; margin-bottom: 20px; }

.success-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 8vw, 48px);
  color: var(--color-accent);
  margin-bottom: 12px;
}

.success-message {
  font-size: 16px;
  color: var(--color-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

.message { padding: 14px; margin-bottom: 16px; font-weight: 500; }

label {
  display: block;
  text-align: left;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-text);
  font-size: 14px;
}

.required { color: var(--color-error); }
.optional { color: var(--color-muted); font-weight: 400; }

.field-row { display: flex; flex-direction: column; }

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-weight: 400;
  margin: 20px 0;
}

.consent-label input[type="checkbox"] {
  width: auto;
  margin: 3px 0 0 0;
  cursor: pointer;
  flex-shrink: 0;
}

.consent-text {
  font-size: 13px;
  line-height: 1.5;
  color: #444;
  text-align: left;
}

.form-footer {
  font-size: 11px;
  color: #888;
  margin-top: 14px;
  line-height: 1.5;
  text-align: center;
}

@media (min-width: 480px) {
  body { padding: 20px; }
  .logo { margin-bottom: 40px; }
  .logo img { max-width: 180px; }
  .card { padding: 50px 40px; }
  .subtitle { margin-bottom: 40px; }
  .field-row { flex-direction: row; gap: 12px; }
  .field-row > div { flex: 1; }
  .field-row-city { flex-direction: row; gap: 12px; }
  .field-row-city > div:first-child { flex: 2; }
  .field-row-city > div:not(:first-child) { flex: 1; }
}
