/* ═══════════════════════════════════════════
   TOKENS & RESET
═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Aurora palette */
  --aurora-purple:  #8b5cf6;
  --aurora-violet:  #a855f7;
  --aurora-blue:    #3b82f6;
  --aurora-cyan:    #06b6d4;
  --aurora-teal:    #14b8a6;
  --aurora-pink:    #ec4899;
  --aurora-magenta: #d946ef;

  /* Surfaces */
  --bg-base:        #060610;
  --glass-fill:     rgba(255,255,255,0.055);
  --glass-border:   rgba(255,255,255,0.12);
  --glass-shine:    rgba(255,255,255,0.07);
  --glass-shadow:   0 8px 48px rgba(0,0,0,0.55), 0 2px 12px rgba(0,0,0,0.35);

  /* Text */
  --text-1: rgba(255,255,255,0.96);
  --text-2: rgba(255,255,255,0.60);
  --text-3: rgba(255,255,255,0.35);

  /* Accent */
  --accent:         var(--aurora-purple);
  --accent-glow:    rgba(139,92,246,0.45);
  --success:        var(--aurora-teal);
  --success-glow:   rgba(20,184,166,0.45);
  --gold:           #fbbf24;

  /* Misc */
  --radius-sm:  12px;
  --radius-md:  20px;
  --radius-lg:  28px;
  --radius-xl:  36px;
  --ease-spring: cubic-bezier(0.34,1.56,0.64,1);
  --ease-smooth: cubic-bezier(0.16,1,0.3,1);
  --transition:  0.4s var(--ease-spring);
}

html, body {
  min-height: 100vh;
  background: var(--bg-base);
  color: var(--text-1);
  font-family: 'Inter', -apple-system, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ═══════════════════════════════════════════
   AURORA BACKGROUND — animated blobs (Optimized)
═══════════════════════════════════════════ */
.aurora-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* Deep base gradient */
.aurora-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 15% 10%,  rgba(139,92,246,0.28) 0%, transparent 65%),
    radial-gradient(ellipse 60% 50% at 85% 5%,   rgba(59,130,246,0.22)  0%, transparent 60%),
    radial-gradient(ellipse 55% 50% at 80% 90%,  rgba(6,182,212,0.20)   0%, transparent 60%),
    radial-gradient(ellipse 65% 55% at 10% 85%,  rgba(217,70,239,0.22)  0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 50% 50%,  rgba(168,85,247,0.10)  0%, transparent 70%);
}

/* Animated aurora blob orbs — optimized for performance */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
}

.orb-1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle at 35% 40%, rgba(139,92,246,0.6), transparent 70%);
  top: -140px; left: -80px;
  animation: floatOrb1 18s ease-in-out infinite alternate;
}
.orb-2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle at 55% 50%, rgba(6,182,212,0.5), transparent 70%);
  bottom: -100px; right: -60px;
  animation: floatOrb2 22s ease-in-out infinite alternate;
}
.orb-3 {
  width: 360px; height: 360px;
  background: radial-gradient(circle at 50% 45%, rgba(217,70,239,0.45), transparent 70%);
  top: 45%; left: 55%;
  animation: floatOrb3 26s ease-in-out infinite alternate;
}

@keyframes floatOrb1 {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(40px, 30px) scale(1.05); }
}
@keyframes floatOrb2 {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(-30px, -40px) scale(1.05); }
}
@keyframes floatOrb3 {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(30px, -20px) scale(1.08); }
}

/* ═══════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════ */
.app-container {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px 48px;
}

/* ═══════════════════════════════════════════
   HEADER
═══════════════════════════════════════════ */
.app-header {
  width: 100%;
  max-width: 480px;
  text-align: center;
  padding: 40px 0 28px;
}

.hotel-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(139,92,246,0.12);
  border: 1px solid rgba(139,92,246,0.30);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 50px;
  padding: 7px 18px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(167,139,250,0.9);
  margin-bottom: 18px;
}

.hotel-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--aurora-teal);
  box-shadow: 0 0 10px var(--aurora-teal), 0 0 20px var(--aurora-teal);
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%,100% { opacity:1; transform:scale(1); box-shadow:0 0 8px var(--aurora-teal),0 0 18px var(--aurora-teal); }
  50%      { opacity:.6; transform:scale(.8); box-shadow:0 0 4px var(--aurora-teal); }
}

.hotel-name {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(28px, 6.5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  background: linear-gradient(135deg,
    #fff 0%,
    rgba(167,139,250,0.95) 40%,
    rgba(6,182,212,0.9) 75%,
    rgba(217,70,239,0.8) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 30px rgba(139,92,246,0.25));
}

.hotel-subtitle {
  font-size: 14px;
  color: var(--text-2);
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* ═══════════════════════════════════════════
   PROGRESS BAR
═══════════════════════════════════════════ */
.progress-bar-wrap {
  width: 100%;
  max-width: 480px;
  margin-bottom: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.progress-bar-wrap.visible { opacity: 1; }

.progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-3);
  margin-bottom: 8px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.progress-track {
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 99px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--aurora-purple), var(--aurora-cyan), var(--aurora-magenta));
  background-size: 200% 100%;
  border-radius: 99px;
  transition: width 0.6s var(--ease-smooth);
  animation: shimmerProgress 3s linear infinite;
  box-shadow: 0 0 10px rgba(139,92,246,0.7);
}

@keyframes shimmerProgress {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ═══════════════════════════════════════════
   AURORA GLASS CARD (Optimized blur)
═══════════════════════════════════════════ */
.aurora-card {
  width: 100%;
  max-width: 480px;
  position: relative;
  border-radius: var(--radius-xl);
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--glass-shadow);
  overflow: hidden;
  transform: translateZ(0); /* Hardware acceleration */
}

/* Aurora light seeping through the card top-left */
.aurora-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 70% 45% at 0% 0%,   rgba(139,92,246,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 55% 45% at 100% 100%, rgba(6,182,212,0.1) 0%, transparent 60%);
  pointer-events: none;
}

/* Top-edge shine stripe */
.aurora-card::after {
  content: '';
  position: absolute;
  top: 0; left: 5%; right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167,139,250,0.55), rgba(6,182,212,0.45), transparent);
  border-radius: 99px;
}

/* ═══════════════════════════════════════════
   PAGE SYSTEM
═══════════════════════════════════════════ */
.page {
  display: none;
  width: 100%;
  max-width: 480px;
  animation: pageIn 0.5s var(--ease-smooth) forwards;
}
.page.active { display: block; }

@keyframes pageIn {
  from { opacity:0; transform: translateY(28px) scale(0.97); }
  to   { opacity:1; transform: translateY(0) scale(1); }
}
@keyframes pageOut {
  from { opacity:1; transform: translateY(0) scale(1); }
  to   { opacity:0; transform: translateY(-18px) scale(0.97); }
}

/* ═══════════════════════════════════════════
   CARD INTERNALS
═══════════════════════════════════════════ */
.card-header {
  padding: 28px 28px 0;
}

.card-section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--aurora-purple), var(--aurora-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
  display: block;
}

.card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-1);
  line-height: 1.25;
}

/* ═══════════════════════════════════════════
   REVIEW TYPE GRID (choose page) - Pop Out Enhanced
═══════════════════════════════════════════ */
.review-type-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 28px;
  perspective: 1000px;
}

.review-type-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  cursor: pointer;
  color: var(--text-1);
  text-align: left;
  position: relative;
  overflow: visible; /* Changed to visible for glow effects */
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-spring), border-color 0.4s ease, background 0.4s ease;
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
}

.review-type-btn::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-lg) + 1px);
  background: linear-gradient(135deg, rgba(139,92,246,0.8), rgba(6,182,212,0.8), rgba(217,70,239,0.8));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
  filter: blur(8px);
}

.review-type-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-6px) scale(1.03) translateZ(10px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.4), 0 5px 15px rgba(139,92,246,0.25);
}

.review-type-btn:hover::before { opacity: 0.8; }
.review-type-btn:active {
  transform: scale(0.95) translateY(2px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.5), 0 0 30px rgba(139,92,246,0.4);
  border-color: rgba(139,92,246,0.6);
  transition-duration: 0.08s;
}

/* Ripple effect overlay */
.ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,0.45) 0%, rgba(6,182,212,0.25) 40%, transparent 70%);
  transform: scale(0);
  animation: rippleExpand 0.6s ease-out forwards;
  pointer-events: none;
  z-index: 10;
}

@keyframes rippleExpand {
  0%   { transform: scale(0); opacity: 1; }
  50%  { opacity: 0.6; }
  100% { transform: scale(4); opacity: 0; }
}

.btn-icon {
  width: 56px; height: 56px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-spring);
}
.review-type-btn:hover .btn-icon { transform: scale(1.1) rotate(5deg); }

.btn-icon.food  { background: linear-gradient(135deg, rgba(236,72,153,0.8), rgba(217,70,239,0.7)); box-shadow: 0 4px 18px rgba(236,72,153,0.40); }
.btn-icon.mgmt  { background: linear-gradient(135deg, rgba(59,130,246,0.8), rgba(139,92,246,0.7)); box-shadow: 0 4px 18px rgba(59,130,246,0.40); }
.btn-icon.hotel { background: linear-gradient(135deg, rgba(6,182,212,0.8),  rgba(20,184,166,0.7)); box-shadow: 0 4px 18px rgba(6,182,212,0.40); }

.btn-text { flex: 1; }
.btn-title { font-size: 16px; font-weight: 600; margin-bottom: 3px; }
.btn-desc  { font-size: 13px; color: var(--text-2); }

.btn-chevron {
  font-size: 24px;
  color: var(--text-3);
  transition: transform 0.3s var(--ease-spring), color 0.3s ease;
}
.review-type-btn:hover .btn-chevron {
  transform: translateX(6px) scale(1.2);
  color: var(--aurora-cyan);
}

/* ═══════════════════════════════════════════
   FORM ELEMENTS
═══════════════════════════════════════════ */
.form-body {
  padding: 20px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-group { display: flex; flex-direction: column; gap: 10px; }

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.01em;
}

/* Option items (checkbox / radio) */
.option-group { display: flex; flex-direction: column; gap: 8px; }

.option-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.22s ease, transform 0.15s var(--ease-spring);
  user-select: none;
  position: relative;
  overflow: hidden;
}

.option-item:active {
  transform: scale(0.96) translateX(2px);
  background: rgba(139,92,246,0.12);
  border-color: rgba(139,92,246,0.4);
  box-shadow: inset 0 0 20px rgba(139,92,246,0.15);
  transition-duration: 0.06s;
}

.option-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(139,92,246,0.08), transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.option-item:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(139,92,246,0.30);
  transform: translateX(4px);
}
.option-item:hover::before { opacity: 1; }

.option-item input[type="checkbox"],
.option-item input[type="radio"] {
  appearance: none; -webkit-appearance: none;
  width: 21px; height: 21px;
  border-radius: 7px;
  border: 1.5px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.option-item input[type="radio"] { border-radius: 50%; }

.option-item input[type="checkbox"]:checked,
.option-item input[type="radio"]:checked {
  background: linear-gradient(135deg, var(--aurora-purple), var(--aurora-cyan));
  border-color: transparent;
  box-shadow: 0 0 10px rgba(139,92,246,0.55);
}

.option-item input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 12px; font-weight: 700;
}
.option-item input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  width: 7px; height: 7px;
  background: white; border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}

.option-label { font-size: 14.5px; font-weight: 500; color: var(--text-1); }

/* Range slider */
.slider-wrap { display: flex; flex-direction: column; gap: 8px; }
.slider-row  { display: flex; align-items: center; gap: 12px; }

.aurora-range {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 5px;
  border-radius: 99px;
  outline: none;
  cursor: pointer;
  background: rgba(255,255,255,0.1);
  transition: box-shadow 0.2s ease;
}
.aurora-range:focus { box-shadow: 0 0 0 3px rgba(139,92,246,0.20); }
.aurora-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--aurora-purple), var(--aurora-cyan));
  box-shadow: 0 0 0 3px rgba(139,92,246,0.30), 0 2px 10px rgba(0,0,0,0.4);
  cursor: pointer;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s ease;
}
.aurora-range::-webkit-slider-thumb:hover { 
  transform: scale(1.25);
  box-shadow: 0 0 15px rgba(139,92,246,0.6);
}

.slider-val {
  font-size: 20px; font-weight: 700;
  min-width: 34px; text-align: center;
  background: linear-gradient(135deg, var(--aurora-purple), var(--aurora-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.slider-labels {
  display: flex; justify-content: space-between;
  font-size: 11px; color: var(--text-3);
}

/* Select */
.aurora-select {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-md);
  color: var(--text-1);
  font-family: inherit;
  font-size: 14.5px;
  padding: 13px 40px 13px 16px;
  outline: none;
  cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(167,139,250,0.7)' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  transition: all 0.22s ease;
}
.aurora-select option { background: #0e0d1c; color: white; }
.aurora-select:focus {
  border-color: rgba(139,92,246,0.50);
  background-color: rgba(139,92,246,0.06);
  box-shadow: 0 0 0 3px rgba(139,92,246,0.15);
}

/* Textarea */
.aurora-textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-md);
  color: var(--text-1);
  font-family: inherit;
  font-size: 14.5px;
  line-height: 1.65;
  padding: 14px 16px;
  resize: vertical;
  min-height: 110px;
  outline: none;
  transition: all 0.22s ease;
}
.aurora-textarea::placeholder { color: var(--text-3); }
.aurora-textarea:focus {
  border-color: rgba(139,92,246,0.45);
  background: rgba(139,92,246,0.06);
  box-shadow: 0 0 0 3px rgba(139,92,246,0.12), inset 0 1px 0 rgba(255,255,255,0.05);
}

/* ═══════════════════════════════════════════
   STAR RATING
═══════════════════════════════════════════ */
.star-group { display: flex; flex-direction: column; gap: 10px; }

.star-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.star-row:hover { 
  border-color: rgba(139,92,246,0.35); 
  transform: scale(1.01);
  box-shadow: 0 4px 12px rgba(139,92,246,0.1);
}

.star-row-label { font-size: 13.5px; font-weight: 500; color: var(--text-2); }

.stars { display: flex; gap: 5px; }

.star {
  font-size: 24px;
  cursor: pointer;
  color: rgba(255,255,255,0.14);
  transition: color 0.15s ease, transform 0.25s var(--ease-spring), filter 0.15s ease;
  user-select: none;
  will-change: transform;
}
.star:hover { transform: scale(1.35) rotate(-5deg); }
.star.active,
.star:hover {
  color: var(--gold);
  filter: drop-shadow(0 0 10px rgba(251,191,36,0.8));
}

.star:active {
  transform: scale(1.6) rotate(-10deg);
  filter: drop-shadow(0 0 18px rgba(251,191,36,1)) drop-shadow(0 0 40px rgba(251,191,36,0.5));
  transition-duration: 0.06s;
}

.star.pop-animate {
  animation: starPop 0.4s var(--ease-spring) forwards;
}

@keyframes starPop {
  0%   { transform: scale(1.6) rotate(-10deg); }
  40%  { transform: scale(0.85) rotate(5deg); }
  70%  { transform: scale(1.15) rotate(-2deg); }
  100% { transform: scale(1) rotate(0deg); }
}

/* ═══════════════════════════════════════════
   DIVIDER
═══════════════════════════════════════════ */
.aurora-divider {
  height: 1px;
  margin: 0 28px;
  background: linear-gradient(90deg, transparent, rgba(139,92,246,0.25), rgba(6,182,212,0.20), transparent);
}

/* ═══════════════════════════════════════════
   BUTTONS - Pop Out Enhanced
═══════════════════════════════════════════ */
.btn-row {
  padding: 18px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-primary {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
  padding: 16px 24px;
  border: none;
  border-radius: var(--radius-lg);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-spring);
  letter-spacing: 0.02em;
  will-change: transform, box-shadow;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-lg) + 2px);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
  filter: blur(8px);
}

.btn-primary.accent {
  background: linear-gradient(135deg, var(--aurora-purple) 0%, var(--aurora-blue) 60%, var(--aurora-cyan) 100%);
  background-size: 200% 100%;
  color: white;
  box-shadow: 0 4px 15px rgba(139,92,246,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
  animation: btnShimmer 4s linear infinite;
}
.btn-primary.accent::before {
  background: linear-gradient(135deg, var(--aurora-purple), var(--aurora-cyan));
}
@keyframes btnShimmer {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
.btn-primary.accent:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 25px rgba(139,92,246,0.5), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-primary.accent:hover::before { opacity: 0.8; }

.btn-primary.success {
  background: linear-gradient(135deg, var(--aurora-teal) 0%, var(--aurora-cyan) 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(20,184,166,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-primary.success::before {
  background: linear-gradient(135deg, var(--aurora-teal), var(--aurora-cyan));
}
.btn-primary.success:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 25px rgba(20,184,166,0.5), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-primary.success:hover::before { opacity: 0.8; }

.btn-primary.ghost {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text-1);
}
.btn-primary.ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(139,92,246,0.5);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(139,92,246,0.15);
}

.btn-primary:active {
  transform: scale(0.94) translateY(2px) !important;
  transition-duration: 0.08s !important;
  filter: brightness(1.15);
}

.btn-primary.accent:active {
  box-shadow: 0 2px 8px rgba(139,92,246,0.6), 0 0 40px rgba(139,92,246,0.3), inset 0 0 20px rgba(255,255,255,0.1) !important;
}

.btn-primary.success:active {
  box-shadow: 0 2px 8px rgba(20,184,166,0.6), 0 0 40px rgba(20,184,166,0.3), inset 0 0 20px rgba(255,255,255,0.1) !important;
}

.btn-primary.ghost:active {
  background: rgba(139,92,246,0.15) !important;
  border-color: rgba(139,92,246,0.5) !important;
  box-shadow: 0 0 20px rgba(139,92,246,0.2) !important;
}

/* Click flash burst on primary buttons */
.btn-click-flash {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--click-x, 50%) var(--click-y, 50%), rgba(255,255,255,0.35) 0%, transparent 60%);
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  animation: flashBurst 0.45s ease-out forwards;
}

@keyframes flashBurst {
  0%   { opacity: 1; transform: scale(0.8); }
  100% { opacity: 0; transform: scale(1.5); }
}

/* Back button */
.back-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(139,92,246,0.08);
  border: 1px solid rgba(139,92,246,0.20);
  border-radius: 50px;
  color: rgba(167,139,250,0.9);
  font-family: inherit;
  font-size: 13px; font-weight: 500;
  padding: 7px 15px 7px 11px;
  cursor: pointer;
  margin-bottom: 14px;
  transition: all 0.3s var(--ease-spring);
}
.back-btn:hover {
  background: rgba(139,92,246,0.2);
  border-color: rgba(139,92,246,0.5);
  transform: translateX(-4px) scale(1.05);
  box-shadow: 0 4px 12px rgba(139,92,246,0.2);
  color: #fff;
}

.back-btn:active {
  transform: translateX(-2px) scale(0.95);
  background: rgba(139,92,246,0.3);
  box-shadow: 0 0 20px rgba(139,92,246,0.3);
  transition-duration: 0.06s;
}

/* ═══════════════════════════════════════════
   THANK YOU PAGE
═══════════════════════════════════════════ */
.thankyou-body {
  padding: 44px 28px 32px;
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  gap: 16px;
}

.thankyou-icon {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--aurora-teal), var(--aurora-cyan), var(--aurora-purple));
  display: flex; align-items: center; justify-content: center;
  font-size: 38px; color: white;
  box-shadow: 0 0 40px rgba(20,184,166,0.50), 0 0 80px rgba(139,92,246,0.25);
  animation: iconPop 0.8s var(--ease-spring) forwards;
}

@keyframes iconPop {
  0% { transform: scale(0) rotate(-15deg); opacity: 0; }
  50% { transform: scale(1.2) rotate(10deg); opacity: 1; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.thankyou-title {
  font-family: 'Outfit', sans-serif;
  font-size: 28px; font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, rgba(167,139,250,0.95) 50%, rgba(6,182,212,0.9) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.03em;
}

.thankyou-subtitle {
  font-size: 14.5px; color: var(--text-2);
  line-height: 1.7; max-width: 310px;
}

.review-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center; margin-top: 4px;
}

.review-tag {
  background: rgba(139,92,246,0.12);
  border: 1px solid rgba(139,92,246,0.25);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 12.5px; font-weight: 500;
  color: rgba(167,139,250,0.9);
  transition: transform 0.2s ease, background 0.2s ease;
}
.review-tag:hover {
  transform: scale(1.05);
  background: rgba(139,92,246,0.25);
}

/* ═══════════════════════════════════════════
   TOAST
═══════════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 32px; left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(20,15,40,0.92);
  border: 1px solid rgba(139,92,246,0.35);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 50px;
  padding: 12px 22px;
  font-size: 14px; font-weight: 500;
  color: rgba(167,139,250,0.95);
  z-index: 9999;
  transition: transform 0.4s var(--ease-spring);
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 20px rgba(139,92,246,0.25);
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ═══════════════════════════════════════════
   PERFORMANCE MODE (Mobile / Smaller screens)
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .orb {
    filter: none;
  }
  .progress-fill {
    animation: none;
  }
  .btn-primary.accent {
    animation: none;
  }
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.app-footer {
  margin-top: 28px;
  font-size: 12px;
  color: var(--text-3);
  text-align: center;
  letter-spacing: 0.03em;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 400px) {
  .app-container { padding: 12px 10px 36px; }
  .card-header, .form-body, .btn-row { padding-left: 18px; padding-right: 18px; }
  .review-type-grid { padding: 18px; }
  .card-title { font-size: 19px; }
  .btn-icon { width: 44px; height: 44px; font-size: 20px; }
  .aurora-divider { margin: 0 18px; }
}
