:root {
  --bg0: #0a0812;
  --bg1: #140a24;
  --fuchsia: #d946ef;
  --cyan: #22d3ee;
  --pink: #ec4899;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(217,70,239,0.18), transparent 60%),
    radial-gradient(1000px 500px at 90% 0%, rgba(34,211,238,0.15), transparent 55%),
    linear-gradient(160deg, var(--bg0), var(--bg1) 70%, #05040a);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.glass {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}

.neon-title {
  background: linear-gradient(90deg, #f0abfc, #22d3ee, #ec4899);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 6s linear infinite;
  text-shadow: 0 0 30px rgba(217,70,239,0.3);
}

@keyframes shimmer {
  to { background-position: 200% center; }
}

.generate-btn {
  background: linear-gradient(90deg, var(--fuchsia), var(--pink), var(--cyan));
  background-size: 200% auto;
  box-shadow: 0 0 24px rgba(217,70,239,0.5);
  animation: shimmer 4s linear infinite;
}
.generate-btn:hover:not(:disabled) {
  box-shadow: 0 0 34px rgba(217,70,239,0.8);
  transform: translateY(-1px);
}
.generate-btn:active:not(:disabled) { transform: translateY(1px); }

.preview-glow {
  box-shadow: 0 0 0 1px rgba(217,70,239,0.25), 0 0 40px rgba(217,70,239,0.25) inset;
}

/* strawberry easter egg */
.berry-particles { position: absolute; inset: 0; overflow: hidden; }
.berry-particles span {
  position: absolute;
  bottom: -20px;
  font-size: 18px;
  opacity: 0;
  animation: floatUp 3.5s ease-in infinite;
}
@keyframes floatUp {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  15% { opacity: 0.9; }
  100% { transform: translateY(-320px) rotate(220deg); opacity: 0; }
}

/* scrollbar for thumbnail strip */
::-webkit-scrollbar { height: 8px; width: 8px; }
::-webkit-scrollbar-thumb { background: rgba(217,70,239,0.4); border-radius: 8px; }
::-webkit-scrollbar-track { background: transparent; }

/* nicer range inputs */
input[type="range"] { height: 4px; }

@media (max-width: 640px) {
  .neon-title { font-size: 1.4rem; }
}