/* assets/css/style.css */

* { box-sizing: border-box; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(124,58,237,0.3); border-radius: 4px; }

input:-webkit-autofill,
textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #141427 inset;
  -webkit-text-fill-color: #F5F3FF;
}

/* Outlined hero text */
.text-outline-primary {
  -webkit-text-stroke: 1.5px #7C3AED;
  color: transparent;
}

/* Floating ambient pills on hero */
.float-pill {
  position: absolute;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #C4B5FD;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  letter-spacing: 0.02em;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Star rating widget (CSS-only, reverse order trick) */
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-input input { display: none; }
.star-input label {
  font-size: 28px;
  color: #2A2A45;
  cursor: pointer;
  transition: color 0.15s;
}
.star-input input:checked ~ label { color: #F59E0B; }
.star-input label:hover,
.star-input label:hover ~ label { color: #F59E0B; }

/* Selfie capture overlay */
.selfie-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  border: 2px solid rgba(124,58,237,0.4);
}
.selfie-frame video,
.selfie-frame canvas,
.selfie-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.selfie-challenge-code {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.7);
  border: 1.5px solid #7C3AED;
  border-radius: 12px;
  padding: 8px 20px;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.15em;
  color: #fff;
}

/* Step indicator dots */
.step-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  transition: all 0.25s;
}
.step-dot.active { background: #2F6BFF; width: 24px; border-radius: 4px; }
.step-dot.done { background: #10B981; }