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

html, body {
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(180deg, #1a1816 0%, #0d0c0b 100%);
  color: #f5f5f5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.brand-logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #c54812 0%, #e05a1a 100%);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(197, 72, 18, 0.4);
  font-size: 28px;
}

.brand-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-sub {
  font-size: 13px;
  color: #a3a3a3;
  margin-top: 2px;
}

.card {
  width: 100%;
  max-width: 420px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 24px;
  backdrop-filter: blur(8px);
  margin-bottom: 16px;
}

.card h1 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.card .lede {
  color: #a3a3a3;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.field label {
  font-size: 12px;
  font-weight: 500;
  color: #d4d4d4;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"] {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 16px;
  color: #fff;
  transition: border-color 0.15s, background 0.15s;
}

.field input:focus {
  outline: none;
  border-color: rgba(224, 90, 26, 0.6);
  background: rgba(255, 255, 255, 0.08);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  font-size: 13px;
  color: #d4d4d4;
  line-height: 1.5;
}

.consent input[type="checkbox"] {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: #e05a1a;
}

.consent a {
  color: #e05a1a;
  text-decoration: underline;
}

.btn {
  width: 100%;
  background: linear-gradient(135deg, #c54812 0%, #e05a1a 100%);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
  margin-top: 8px;
}

.btn:hover { opacity: 0.92; }
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 12px;
}

.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  font-size: 36px;
}

.success h1 { text-align: center; }
.success .lede { text-align: center; }

.welcome-pill {
  display: inline-block;
  font-size: 12px;
  background: rgba(224, 90, 26, 0.15);
  color: #fcb786;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
  font-weight: 500;
}

.footer {
  margin-top: auto;
  padding-top: 24px;
  font-size: 11px;
  color: #6b6b6b;
  text-align: center;
}

.stars {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 24px 0;
}

.star {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 20px;
  transition: all 0.15s;
  user-select: none;
}

.star:hover { background: rgba(255, 255, 255, 0.1); }
.star.active {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  border-color: #fbbf24;
  transform: scale(1.05);
}

.attendant {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 13px;
}

.attendant-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  display: grid;
  place-items: center;
  font-weight: 600;
}

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  vertical-align: -3px;
  margin-right: 8px;
}

@keyframes spin { to { transform: rotate(360deg); } }
