/* ═══════════════════════════════════════════
   MAXIMALISM UI — style.css
   Vivid gradients, layered decor, neon accents
   ═══════════════════════════════════════════ */

/* ─── Reset ────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ── Core palette ─────────────────────── */
  --bg-deep:       #0d0221;
  --bg-card:       rgba(20, 8, 60, 0.75);
  --surface:       rgba(255, 255, 255, 0.06);
  --surface-hover: rgba(255, 255, 255, 0.12);

  /* Neon colours */
  --neon-pink:     #ff2d95;
  --neon-violet:   #b026ff;
  --neon-cyan:     #00f0ff;
  --neon-lime:     #c8ff00;
  --neon-orange:   #ff6f00;
  --neon-coral:    #ff6b6b;

  /* Gradients */
  --grad-pink-violet: linear-gradient(135deg, var(--neon-pink), var(--neon-violet));
  --grad-cyan-lime:   linear-gradient(135deg, var(--neon-cyan), var(--neon-lime));
  --grad-warm:        linear-gradient(135deg, var(--neon-orange), var(--neon-pink));
  --grad-rainbow:     linear-gradient(135deg, var(--neon-pink), var(--neon-violet), var(--neon-cyan), var(--neon-lime));

  /* Text */
  --text-primary:    #ffffff;
  --text-secondary:  rgba(255, 255, 255, 0.7);
  --text-muted:      rgba(255, 255, 255, 0.45);

  /* Typography */
  --font-display: 'Dela Gothic One', sans-serif;
  --font-heading: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  /* Shadows */
  --glow-pink:  0 0 20px rgba(255, 45, 149, 0.4), 0 0 60px rgba(255, 45, 149, 0.15);
  --glow-cyan:  0 0 20px rgba(0, 240, 255, 0.4), 0 0 60px rgba(0, 240, 255, 0.15);
  --glow-lime:  0 0 20px rgba(200, 255, 0, 0.4), 0 0 60px rgba(200, 255, 0, 0.15);
  --shadow-lg:  0 20px 60px rgba(0, 0, 0, 0.5);
}

/* ─── Base ─────────────────────────────── */
html, body {
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-deep);
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%,  rgba(176, 38, 255, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 0%,  rgba(255, 45, 149, 0.20) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(0, 240, 255, 0.15)  0%, transparent 50%),
    radial-gradient(ellipse at 0% 60%,  rgba(200, 255, 0, 0.08)  0%, transparent 40%),
    radial-gradient(ellipse at 100% 40%, rgba(255, 111, 0, 0.10) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}

/* ─── Animated background orbs ─────────── */
.bg-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  will-change: transform;
  transform: translateZ(0);
}

.orb-1 {
  width: 280px; height: 280px;
  background: var(--neon-pink);
  top: -80px; left: -60px;
  animation: orbFloat1 18s ease-in-out infinite alternate;
}
.orb-2 {
  width: 240px; height: 240px;
  background: var(--neon-violet);
  top: 30%; right: -80px;
  animation: orbFloat2 22s ease-in-out infinite alternate;
}
.orb-3 {
  width: 200px; height: 200px;
  background: var(--neon-cyan);
  bottom: -40px; left: 30%;
  animation: orbFloat3 20s ease-in-out infinite alternate;
}
.orb-4 {
  width: 180px; height: 180px;
  background: var(--neon-lime);
  top: 60%; left: -40px;
  animation: orbFloat1 24s ease-in-out infinite alternate-reverse;
  opacity: 0.18;
}
.orb-5 {
  width: 150px; height: 150px;
  background: var(--neon-orange);
  top: 10%; right: 20%;
  animation: orbFloat2 16s ease-in-out infinite alternate-reverse;
  opacity: 0.2;
}

@keyframes orbFloat1 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(80px, 60px) scale(1.2); }
}
@keyframes orbFloat2 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-60px, 80px) scale(1.15); }
}
@keyframes orbFloat3 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -60px) scale(1.1); }
}

/* ─── Floating decorative shapes ───────── */
.deco-shapes {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.deco {
  position: absolute;
  font-size: 28px;
  opacity: 0.3;
  animation: decoFloat 10s ease-in-out infinite alternate;
  transform: translateZ(0);
}

.deco-star     { top: 8%;  left: 10%;  color: var(--neon-lime);   animation-duration: 7s; }
.deco-diamond  { top: 15%; right: 12%; color: var(--neon-pink);   animation-duration: 9s; font-size: 22px; }
.deco-circle   { top: 45%; left: 5%;   color: var(--neon-cyan);   animation-duration: 11s; font-size: 18px; }
.deco-cross    { top: 65%; right: 8%;  color: var(--neon-orange);  animation-duration: 6s; font-size: 32px; }
.deco-ring     { bottom: 20%; left: 15%; color: var(--neon-violet); animation-duration: 10s; }
.deco-zigzag   { bottom: 10%; right: 20%; color: var(--neon-lime); animation-duration: 8s; font-size: 36px; }
.deco-sparkle  { top: 30%; left: 50%; color: var(--neon-pink); animation-duration: 12s; font-size: 24px; }

@keyframes decoFloat {
  0%   { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-30px) rotate(15deg); }
}

/* ─── App container ────────────────────── */
.app-container {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 16px 40px;
}

/* ═══════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════ */
.app-header {
  width: 100%;
  max-width: 500px;
  text-align: center;
  padding: 44px 0 32px;
}

.hotel-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--grad-pink-violet);
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
  box-shadow: var(--glow-pink);
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: var(--glow-pink); }
  50%      { box-shadow: 0 0 30px rgba(255,45,149,0.6), 0 0 80px rgba(176,38,255,0.3); }
}

.hotel-badge .dot {
  width: 10px; height: 10px;
  background: var(--neon-lime);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--neon-lime);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.7); }
}

.hotel-name {
  font-family: var(--font-display);
  font-size: clamp(28px, 7vw, 40px);
  line-height: 1.15;
  background: var(--grad-rainbow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(176,38,255,0.35));
  margin-bottom: 14px;
  animation: nameShimmer 6s linear infinite;
  background-size: 200% 200%;
}

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

.hotel-subtitle {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: opacity 0.3s ease;
}

.header-deco-bar {
  margin: 20px auto 0;
  width: 80px;
  height: 4px;
  background: var(--grad-cyan-lime);
  border-radius: 4px;
  box-shadow: var(--glow-cyan);
}

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

.progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.progress-track {
  height: 8px;
  background: var(--surface);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

.progress-fill {
  height: 100%;
  background: var(--grad-pink-violet);
  border-radius: 8px;
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: var(--glow-pink);
}

/* ═══════════════════════════════════════════
   GLASS CARD (Maximalist revision)
   ═══════════════════════════════════════════ */
.glass-card {
  width: 100%;
  max-width: 500px;
  background: var(--bg-card);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,0.08);
  overflow: hidden;
  position: relative;
  transform: translateZ(0);
}

/* Top rainbow bar accent */
.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-rainbow);
  background-size: 200% 200%;
  animation: nameShimmer 4s linear infinite;
}

/* ═══════════════════════════════════════════
   PAGE SYSTEM
   ═══════════════════════════════════════════ */
.page {
  display: none;
  width: 100%;
  max-width: 500px;
}
.page.active { display: block; animation: pageIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards; }

@keyframes pageIn {
  from { opacity: 0; transform: translateY(30px) 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(-20px) scale(0.97); }
}

/* ═══════════════════════════════════════════
   CARD HEADER
   ═══════════════════════════════════════════ */
.card-header {
  padding: 28px 28px 24px;
  background: linear-gradient(135deg, rgba(176,38,255,0.2), rgba(255,45,149,0.15), rgba(0,240,255,0.1));
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
}

/* Decorative corner blobs */
.card-header::before {
  content: '✦';
  position: absolute;
  top: 16px; right: 20px;
  font-size: 20px;
  color: var(--neon-lime);
  opacity: 0.5;
  animation: decoFloat 4s ease-in-out infinite alternate;
}

.card-section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--grad-cyan-lime);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

/* ═══════════════════════════════════════════
   REVIEW TYPE BUTTONS
   ═══════════════════════════════════════════ */
.review-type-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
}

.review-type-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 18px 20px;
  cursor: pointer;
  text-align: left;
  color: var(--text-primary);
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.review-type-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: 16px;
}

.review-type-btn:nth-child(1)::before { background: var(--grad-warm); }
.review-type-btn:nth-child(2)::before { background: var(--grad-cyan-lime); }
.review-type-btn:nth-child(3)::before { background: var(--grad-pink-violet); }

.review-type-btn:hover::before { opacity: 0.12; }
.review-type-btn:hover {
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.review-type-btn:active { transform: translateY(0) scale(0.99); }

.btn-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.btn-icon.food  { background: var(--grad-warm); box-shadow: var(--glow-pink); }
.btn-icon.mgmt  { background: var(--grad-cyan-lime); box-shadow: var(--glow-cyan); }
.btn-icon.hotel { background: var(--grad-pink-violet); box-shadow: var(--glow-pink); }

.btn-text { flex: 1; position: relative; z-index: 1; }
.btn-title { font-family: var(--font-heading); font-size: 17px; font-weight: 700; margin-bottom: 2px; }
.btn-desc  { font-size: 13px; color: var(--text-secondary); }

.btn-chevron {
  font-size: 24px;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
  transition: transform 0.2s, color 0.2s;
}
.review-type-btn:hover .btn-chevron { transform: translateX(4px); color: var(--neon-cyan); }

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

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

.form-label {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--grad-pink-violet);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Checkboxes / Radios */
.option-group { display: flex; flex-direction: column; gap: 10px; }

.option-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s;
}

.option-item:hover {
  background: var(--surface-hover);
  border-color: rgba(255,255,255,0.18);
  transform: translateX(4px);
}

.option-item input {
  appearance: none;
  -webkit-appearance: none;
  width: 22px; height: 22px;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: all 0.2s;
}

.option-item input[type="radio"] { border-radius: 50%; }

.option-item input:checked {
  background: var(--grad-pink-violet);
  border-color: var(--neon-pink);
  box-shadow: 0 0 10px rgba(255,45,149,0.4);
}

.option-item input:checked::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.option-label { font-size: 15px; font-weight: 500; }

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

.glass-range {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 10px;
  background: var(--surface);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  outline: none;
}

.glass-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--grad-pink-violet);
  border: 3px solid var(--bg-deep);
  box-shadow: var(--glow-pink);
  cursor: pointer;
  transition: transform 0.15s;
}
.glass-range::-webkit-slider-thumb:hover { transform: scale(1.2); }

.slider-val {
  font-family: var(--font-display);
  font-size: 22px;
  min-width: 44px;
  text-align: center;
  background: var(--grad-pink-violet);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Star Rating */
.star-group { display: flex; flex-direction: column; gap: 10px; }

.star-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
}

.star-row-label {
  font-size: 14px;
  font-weight: 600;
}

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

.star {
  font-size: 26px;
  cursor: pointer;
  color: rgba(255,255,255,0.2);
  transition: transform 0.15s, color 0.15s;
}

.star.active {
  color: var(--neon-lime);
  filter: drop-shadow(0 0 6px rgba(200,255,0,0.5));
}
.star:hover { transform: scale(1.25); }

/* Textarea & Select */
.glass-textarea, .glass-select {
  width: 100%;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 16px 18px;
  outline: none;
  transition: all 0.25s;
}

.glass-textarea { min-height: 120px; resize: vertical; }

.glass-textarea:focus, .glass-select:focus {
  border-color: var(--neon-pink);
  box-shadow: 0 0 0 3px rgba(255,45,149,0.15), var(--glow-pink);
}

/* ═══════════════════════════════════════════
   DIVIDER
   ═══════════════════════════════════════════ */
.glass-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
}

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */
.btn-row {
  display: flex;
  gap: 12px;
  padding: 20px 28px 28px;
}

.btn-primary {
  flex: 1;
  padding: 16px 20px;
  border: none;
  border-radius: 14px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.btn-primary.accent {
  background: var(--grad-pink-violet);
  color: #fff;
  box-shadow: var(--glow-pink);
}
.btn-primary.success {
  background: var(--grad-cyan-lime);
  color: var(--bg-deep);
  box-shadow: var(--glow-cyan);
}
.btn-primary.ghost {
  background: var(--surface);
  color: var(--text-secondary);
  border: 1px solid rgba(255,255,255,0.1);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  filter: brightness(1.15);
}
.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  padding: 10px 20px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  background: var(--surface);
  color: var(--text-secondary);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
}
.back-btn:hover { background: var(--surface-hover); color: var(--neon-cyan); transform: translateX(-4px); }

/* ═══════════════════════════════════════════
   THANK YOU
   ═══════════════════════════════════════════ */
.thankyou-body {
  padding: 48px 28px 32px;
  text-align: center;
  background: linear-gradient(180deg, rgba(176,38,255,0.15), rgba(255,45,149,0.1), transparent);
}

.thankyou-icon {
  font-size: 72px;
  line-height: 1;
  margin-bottom: 20px;
  width: 100px; height: 100px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-cyan-lime);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(0,240,255,0.5));
  animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.08); }
}

.thankyou-title {
  font-family: var(--font-display);
  font-size: 30px;
  background: var(--grad-rainbow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: nameShimmer 4s linear infinite;
  margin-bottom: 14px;
}

.thankyou-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

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

.review-tag {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--neon-cyan);
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.app-footer {
  margin-top: 28px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  padding: 12px 20px;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
}

/* ═══════════════════════════════════════════
   TOAST
   ═══════════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-pink-violet);
  color: #fff;
  border-radius: 14px;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--glow-pink), var(--shadow-lg);
  z-index: 1000;
  transition: bottom 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.toast.show { bottom: 32px; }

/* ═══════════════════════════════════════════
   CLICK EFFECTS
   ═══════════════════════════════════════════ */

/* Neon ripple — spawned by JS */
.neon-ripple {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,45,149,0.25), rgba(176,38,255,0.12), transparent 70%);
  pointer-events: none;
  z-index: 10;
  animation: neonRippleExpand 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

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

/* Glow pulse — toggled by JS */
.glow-click {
  animation: glowClickPulse 0.7s ease-out !important;
}

@keyframes glowClickPulse {
  0%   { box-shadow: var(--glow-pink); }
  35%  { box-shadow: 0 0 20px 6px rgba(176,38,255,0.35), 0 0 40px 12px rgba(0,240,255,0.12); }
  100% { box-shadow: var(--glow-pink); }
}

/* Sparkle particles — spawned by JS */
.click-sparkle {
  position: absolute;
  font-size: 12px;
  pointer-events: none;
  z-index: 20;
  color: var(--neon-lime);
  text-shadow: 0 0 6px var(--neon-lime);
  animation: sparkleOut 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes sparkleOut {
  0%   { transform: translate(-50%, -50%) scale(0); opacity: 0.9; }
  40%  { transform: translate(calc(-50% + var(--tx) * 0.6), calc(-50% + var(--ty) * 0.6)) scale(1); opacity: 0.7; }
  100% { transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(0.3); opacity: 0; }
}

/* Star pop */
.star-pop {
  animation: starPop 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes starPop {
  0%   { transform: scale(1); }
  35%  { transform: scale(1.35) rotate(-5deg); filter: drop-shadow(0 0 8px rgba(200,255,0,0.6)); }
  65%  { transform: scale(0.92) rotate(2deg); }
  100% { transform: scale(1) rotate(0deg); filter: none; }
}

/* Ensure interactive elements are positioned for effect containment */
.review-type-btn,
.btn-primary,
.back-btn,
.option-item,
.star-row {
  position: relative;
  overflow: hidden;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 400px) {
  .app-container { padding: 12px 10px 32px; }
  .hotel-name { font-size: 24px; }
  .card-title { font-size: 20px; }
  .review-type-btn { padding: 14px 16px; }
  .btn-icon { width: 44px; height: 44px; font-size: 20px; }
  .form-body { padding: 20px 20px 24px; }
  .btn-row { padding: 16px 20px 24px; }
}

/* ═══════════════════════════════════════════
   PERFORMANCE — reduce GPU load on large screens
   ═══════════════════════════════════════════ */
@media (min-width: 1024px) {
  .orb { filter: blur(100px); opacity: 0.25; }
  .orb-4, .orb-5 { display: none; }
  .deco-circle, .deco-zigzag, .deco-sparkle { display: none; }
  .glass-card {
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
  }
  body::before { opacity: 0.7; }
}

/* ═══════════════════════════════════════════
   PERFORMANCE MODE (Mobile / Smaller screens)
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .bg-orbs, .deco-shapes, .glass-card {
    contain: paint layout;
  }
  .orb {
    filter: none;
  }
  .orb-1 { background: radial-gradient(circle, var(--neon-pink) 0%, transparent 70%); }
  .orb-2 { background: radial-gradient(circle, var(--neon-violet) 0%, transparent 70%); }
  .orb-3 { background: radial-gradient(circle, var(--neon-cyan) 0%, transparent 70%); }
  .orb-4 { background: radial-gradient(circle, var(--neon-lime) 0%, transparent 70%); }
  .orb-5 { background: radial-gradient(circle, var(--neon-orange) 0%, transparent 70%); }
  .hotel-name {
    animation: none;
  }
  .glass-card::before {
    animation: none;
  }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .orb, .deco { display: none; }
  .neon-ripple, .click-sparkle { display: none; }
}
