* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Outfit', sans-serif; background: #070503; color: #E8E0D4; min-height: 100vh; cursor: auto; }
.cursor-dot, .cursor-ring, .mouse-glow { display: none !important; }

.screen { display: none; opacity: 0; min-height: 100vh; }
.screen.active { display: flex; flex-direction: column; animation: fadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) both; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@keyframes scaleIn { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.onboard-header { display: flex; align-items: center; gap: 10px; padding: 20px 24px; }
.onboard-brand { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 600; color: #D4AA50; }
.onboard-main { flex: 1; display: flex; flex-direction: column; padding: 0 24px 40px; max-width: 520px; margin: 0 auto; width: 100%; }
.onboard-main--centered { justify-content: center; align-items: center; }
.onboard-title { font-family: 'Cormorant Garamond', serif; font-size: 42px; font-weight: 600; color: #D4AA50; line-height: 1.15; margin-bottom: 16px; }
.onboard-subtitle { font-size: 15px; color: #9B8F77; line-height: 1.6; margin-bottom: 32px; }
.onboard-footnote { font-size: 13px; color: #6B6355; text-align: center; margin-top: 16px; }
h2 { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 600; color: #E8E0D4; margin-bottom: 8px; }
.field-hint { font-size: 14px; color: #9B8F77; margin-bottom: 20px; line-height: 1.5; }

.btn-gold { background: linear-gradient(135deg, #9C7A23, #D4AA50, #F1C463); color: #070503; font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 14px; padding: 14px 32px; border-radius: 12px; border: none; cursor: pointer; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); min-height: 48px; }
.btn-gold:disabled { opacity: 0.3; cursor: not-allowed; transform: none; }
.btn-gold:not(:disabled):hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(212,170,80,0.2); }
.btn-full { width: 100%; margin-top: 20px; }

.btn-back { background: none; border: 1px solid rgba(212,170,80,0.2); color: #D4AA50; font-family: 'Outfit', sans-serif; font-size: 13px; padding: 8px 16px; border-radius: 8px; cursor: pointer; transition: all 0.2s; }
.btn-back:hover { border-color: #D4AA50; }

.screen-header { padding: 16px 24px 0; }

.glass-card { background: rgba(212,170,80,0.03); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(212,170,80,0.1); border-radius: 16px; padding: 20px 24px; margin-bottom: 16px; }
.card-label { font-size: 12px; font-weight: 600; color: #D4AA50; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 14px; }
.card-sub { font-size: 13px; color: #9B8F77; margin-bottom: 12px; }

.glass-input { background: rgba(255,255,255,0.04); border: 1px solid rgba(212,170,80,0.2); border-radius: 10px; color: #E8E0D4; padding: 12px 16px; font-size: 15px; width: 100%; box-sizing: border-box; transition: border-color 0.2s; font-family: 'Outfit', sans-serif; }
.glass-input:focus { outline: none; border-color: #D4AA50; box-shadow: 0 0 0 3px rgba(212,170,80,0.1); }
.glass-input.error { border-color: #e74c3c; box-shadow: 0 0 0 3px rgba(231,76,60,0.1); }

.textarea-wrap { margin-bottom: 16px; }
.textarea-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.char-count { font-size: 12px; color: #6B6355; }
.field-error { font-size: 12px; color: #e74c3c; }
.error-box { background: rgba(231,76,60,0.1); border: 1px solid rgba(231,76,60,0.3); border-radius: 10px; padding: 12px 16px; color: #e74c3c; font-size: 14px; margin-top: 12px; }
.rate-banner { display: flex; align-items: center; gap: 10px; background: rgba(243,156,18,0.1); border: 1px solid rgba(243,156,18,0.3); border-radius: 10px; padding: 12px 16px; margin-top: 16px; color: #f1c40f; font-size: 14px; }

.example-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.chip { background: rgba(212,170,80,0.05); border: 1px solid rgba(212,170,80,0.15); border-radius: 10px; padding: 10px 14px; color: #E8E0D4; font-size: 13px; cursor: pointer; transition: all 0.2s; text-align: left; font-family: 'Outfit', sans-serif; min-height: 44px; display: flex; align-items: center; }
.chip:hover { border-color: #D4AA50; background: rgba(212,170,80,0.08); }

.field-row { margin-bottom: 14px; }
.field-row label { display: block; font-size: 13px; color: #9B8F77; margin-bottom: 6px; }

.color-row { display: flex; gap: 10px; align-items: center; }
.color-row input[type="color"] { width: 44px; height: 44px; border: none; border-radius: 10px; cursor: pointer; background: none; }

.question-row, .prompt-row { display: flex; gap: 8px; margin-bottom: 8px; align-items: center; }
.btn-remove { background: none; border: 1px solid rgba(231,76,60,0.3); color: #e74c3c; width: 32px; height: 32px; border-radius: 8px; cursor: pointer; font-size: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.btn-add { background: none; border: 1px dashed rgba(212,170,80,0.3); color: #D4AA50; padding: 10px; border-radius: 10px; cursor: pointer; font-size: 13px; width: 100%; margin-top: 8px; font-family: 'Outfit', sans-serif; }
.prompt-emoji { width: 44px !important; flex-shrink: 0; text-align: center; }
.prompt-label { flex: 0 0 100px; }
.prompt-text { flex: 1; }

.alert-hint { font-size: 12px; color: #6B6355; margin-top: 6px; }

.slug-preview { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; padding: 8px 12px; background: rgba(212,170,80,0.05); border-radius: 8px; margin-top: 8px; font-size: 13px; }
.slug-label { color: #6B6355; font-size: 13px; flex-shrink: 0; }
.slug-input { background: transparent; border: none; border-bottom: 1px solid rgba(212,170,80,0.2); color: #D4AA50; font-family: monospace; font-size: 13px; padding: 12px 4px; flex: 1; min-width: 100px; min-height: 44px; outline: none; transition: border-color 0.2s; }
.slug-input:focus { border-bottom-color: #D4AA50; }
.slug-input.error { border-bottom-color: #e74c3c; }
.slug-status { font-size: 11px; margin-left: auto; flex-shrink: 0; }
.slug-status.available { color: #2ecc71; }
.slug-status.unavailable { color: #e74c3c; }
.slug-status.checking { color: #f1c40f; }

.cred-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.cred-label { color: #6B6355; font-size: 12px; min-width: 60px; flex-shrink: 0; }

.btn-reset { background: none; border: none; color: #6B6355; font-size: 12px; cursor: pointer; font-family: 'Outfit', sans-serif; padding: 6px 0; transition: color 0.2s; margin-top: 4px; }
.btn-reset:hover { color: #D4AA50; }

.password-row { display: flex; gap: 8px; align-items: center; }
.password-row .glass-input { flex: 1; }
.btn-toggle-pw { background: rgba(212,170,80,0.1); border: 1px solid rgba(212,170,80,0.2); color: #D4AA50; padding: 12px 16px; border-radius: 10px; cursor: pointer; font-size: 12px; font-family: 'Outfit', sans-serif; min-height: 44px; flex-shrink: 0; transition: all 0.2s; }
.btn-toggle-pw:hover { background: rgba(212,170,80,0.15); }

.color-swatches { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.color-swatch { width: 36px; height: 36px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1); position: relative; flex-shrink: 0; }
.color-swatch:hover { transform: scale(1.15); z-index: 2; }
.color-swatch.selected { border-color: #E8E0D4; box-shadow: 0 0 0 2px #070503, 0 0 0 4px #D4AA50; transform: scale(1.1); }
.color-swatch-tooltip { position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%); font-size: 9px; color: #9B8F77; white-space: nowrap; opacity: 0; transition: opacity 0.2s; pointer-events: none; }
.color-swatch:hover .color-swatch-tooltip { opacity: 1; }
.color-custom { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.color-custom-label { font-size: 12px; color: #6B6355; }

.skeleton-list { width: 100%; }
.skeleton-card { background: rgba(212,170,80,0.03); border: 1px solid rgba(212,170,80,0.08); border-radius: 12px; padding: 20px; margin-bottom: 12px; opacity: 0; animation: fadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.skeleton-label { font-size: 13px; color: rgba(232,224,212,0.5); margin-bottom: 10px; }
.skeleton-line { height: 10px; border-radius: 5px; margin-bottom: 8px; background: linear-gradient(90deg, rgba(212,170,80,0.04) 25%, rgba(212,170,80,0.12) 50%, rgba(212,170,80,0.04) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; }

.success-icon { width: 64px; height: 64px; border-radius: 50%; background: rgba(46,204,113,0.1); border: 2px solid #2ecc71; color: #2ecc71; font-size: 28px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; animation: scaleIn 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.success-note { font-size: 13px; color: #6B6355; text-align: center; margin: 16px 0; }
.success-actions { display: flex; gap: 12px; margin-top: 16px; }
.btn-secondary { background: rgba(212,170,80,0.08); border: 1px solid rgba(212,170,80,0.2); color: #D4AA50; font-family: 'Outfit', sans-serif; font-weight: 500; font-size: 14px; padding: 14px 24px; border-radius: 12px; cursor: pointer; flex: 1; text-align: center; min-height: 48px; display: flex; align-items: center; justify-content: center; }

.copy-row { display: flex; gap: 8px; }
.copy-row .glass-input { flex: 1; font-size: 13px; font-family: monospace; }
.btn-copy { background: rgba(212,170,80,0.1); border: 1px solid rgba(212,170,80,0.2); color: #D4AA50; padding: 12px 16px; border-radius: 10px; cursor: pointer; font-size: 13px; font-family: 'Outfit', sans-serif; min-height: 44px; flex-shrink: 0; transition: all 0.2s; }

.step-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 8px 0 16px;
  flex-wrap: wrap;
}
.step-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(212,170,80,0.15);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.step-dot.active {
  background: #D4AA50;
  box-shadow: 0 0 8px rgba(212,170,80,0.4);
  width: 24px;
  border-radius: 4px;
}
.step-label {
  width: 100%;
  text-align: center;
  font-size: 11px;
  color: #6B6355;
  margin-top: 2px;
}

.loading-progress {
  width: 100%; height: 3px;
  background: rgba(212,170,80,0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 20px;
}
.loading-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #9C7A23, #D4AA50);
  border-radius: 2px;
  width: 0%;
  transition: width 2s ease;
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}
.loading-status {
  text-align: center;
  font-size: 14px;
  color: #9B8F77;
  margin-bottom: 20px;
  min-height: 20px;
}
.loading-cancel { text-align: center; margin-top: 16px; }

.next-steps {
  background: rgba(212,170,80,0.03);
  border: 1px solid rgba(212,170,80,0.08);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 16px;
  text-align: left;
}
.next-steps-title {
  font-size: 13px;
  color: #D4AA50;
  margin-bottom: 10px;
  font-weight: 500;
}
.next-step {
  font-size: 13px;
  color: #9B8F77;
  margin-bottom: 8px;
  line-height: 1.5;
  display: flex;
  gap: 10px;
}
.next-step:last-child { margin-bottom: 0; }
.next-step-num {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(212,170,80,0.1);
  color: #D4AA50;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

@media (max-width: 640px) {
  .onboard-main { padding: 24px 16px; }
  .onboard-title { font-size: 28px; }
  h2 { font-size: 20px; }
  .glass-card { padding: 16px; }
  .example-chips { grid-template-columns: 1fr 1fr; gap: 6px; }
  .chip { font-size: 12px; padding: 6px 12px; }
  .copy-row { flex-direction: column; gap: 8px; }
  .copy-row .glass-input { width: 100%; }
  .copy-row .btn-copy { width: 100%; }
  .success-icon { width: 48px; height: 48px; font-size: 22px; }
  .success-actions { flex-direction: column; }
}
@media (max-width: 400px) { .example-chips { grid-template-columns: 1fr; } }
@media (pointer: coarse) { .cursor-dot, .cursor-ring, .mouse-glow { display: none; } }
.btn-gold, .btn-back, .btn-copy, .btn-add, .btn-remove, .chip { min-height: 44px; display: flex; align-items: center; justify-content: center; }
