body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 20% 20%, #fef4e6, #eaf5ff 50%, #dfe9f2 90%);
  margin: 0;
  color: #1f2c3a;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 32px 22px 52px;
}

header {
  margin-bottom: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

h1 {
  font-size: 30px;
  margin: 0 0 6px;
  color: #1a2a3f;
}

h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 4px;
  color: #2f4257;
}

.title-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-mark {
  max-height: 100px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.14));
}

p {
  color: #4a5a70;
  font-size: 15px;
}

main {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.card {
  background: linear-gradient(140deg, #ffffff, #f5f8ff);
  padding: 12px;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(25, 68, 102, 0.08);
  cursor: grab;
  text-align: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border 0.22s ease;
  border: 1px solid transparent;
  min-width: 140px;
  max-width: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  scroll-snap-align: center;
}

.card h3 {
  margin: 0;
  font-size: 15px;
  color: #1f2c3a;
}

.card p {
  margin: 0;
  font-size: 13px;
  color: #4a5a70;
}

.card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 18px 34px rgba(25, 68, 102, 0.12);
  border: 1px solid #cfe2ff;
}

.card.used {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 6px 12px rgba(25, 68, 102, 0.05);
}

.ingredients-carousel {
  width: 100%;
  max-width: 1080px;
}

.carousel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.reset-row {
  position: fixed;
  right: 16px;
  bottom: 16px;
  display: flex;
  justify-content: flex-end;
  z-index: 20;
  margin: 0;
}

.carousel-header p {
  margin: 0;
  flex: 1;
  text-align: center;
  color: #2f4257;
  font-weight: 600;
}

.carousel-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 10px 6px 8px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.carousel-track::-webkit-scrollbar {
  height: 8px;
}

.carousel-track::-webkit-scrollbar-thumb {
  background: rgba(55, 110, 167, 0.2);
  border-radius: 10px;
}

.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #c8d9ed;
  background: linear-gradient(180deg, #fff, #e8f1ff);
  color: #1f2c3a;
  cursor: pointer;
  box-shadow: 0 8px 14px rgba(15, 45, 76, 0.1);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}

.carousel-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 18px rgba(15, 45, 76, 0.14);
}

.reset-btn {
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid #c8d9ed;
  background: linear-gradient(180deg, #fff, #eef5ff);
  color: #1f2c3a;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 16px rgba(15, 45, 76, 0.12);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.reset-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 20px rgba(15, 45, 76, 0.16);
}

.reset-btn:active {
  transform: translateY(0);
  box-shadow: 0 10px 14px rgba(15, 45, 76, 0.14);
}

.confetti {
  position: fixed;
  width: 10px;
  height: 18px;
  top: -24px;
  left: 0;
  background: #f7b267;
  opacity: 0.9;
  transform-origin: center;
  animation: confetti-fall var(--duration, 3s) linear forwards;
  pointer-events: none;
  z-index: 9999;
  --start: -10vh;
}

.confetti-word {
  position: fixed;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 54px;
  font-weight: 800;
  color: #ff5f7e;
  text-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
  animation: confetti-fall-word var(--duration, 6s) ease-in forwards;
  pointer-events: none;
  z-index: 10000;
  --start: -12vh;
}

@keyframes confetti-fall-word {
  0% { transform: translate3d(-50%, var(--start, -12vh), 0); }
  100% { transform: translate3d(-50%, 130vh, 0); }
}

@keyframes confetti-fall {
  0% { transform: translate3d(var(--x, 0), var(--start, -10vh), 0) rotate(0deg); }
  100% { transform: translate3d(var(--x, 0), 130vh, 0) rotate(720deg); }
}

.icon {
  font-size: 36px;
  margin-bottom: 4px;
}

.blender-zone {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 4px 0 26px;
}

.blender {
  width: min(420px, 100%);
  text-align: center;
  padding: 14px 18px 18px;
  border-radius: 18px;
  background: radial-gradient(circle at 50% 0, rgba(255, 255, 255, 0.85), rgba(232, 241, 252, 0.82) 48%, rgba(215, 225, 238, 0.9));
  border: 1px solid #cfd7e6;
  box-shadow:
    0 22px 60px rgba(15, 45, 76, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    inset 0 -1px 0 rgba(255, 255, 255, 0.55);
  position: relative;
  overflow: visible;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.blender::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -18px;
  height: 18px;
  background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.16), transparent 65%);
  filter: blur(10px);
  opacity: 0.8;
  z-index: 0;
}

#dropzone.dragover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(15, 45, 76, 0.22);
  background: linear-gradient(180deg, rgba(232, 247, 255, 0.9), rgba(214, 245, 229, 0.9));
}

#dropzone.lid-locked {
  background: linear-gradient(180deg, rgba(255, 235, 235, 0.95), rgba(255, 210, 210, 0.9));
  box-shadow: 0 22px 56px rgba(200, 50, 50, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.blender.ready {
  box-shadow: 0 22px 60px rgba(15, 45, 76, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.lid {
  width: 240px;
  height: 34px;
  margin: 0 auto 4px;
  background: linear-gradient(180deg, #3f474f, #272c32);
  border-radius: 14px 14px 10px 10px;
  box-shadow:
    0 12px 18px rgba(17, 30, 46, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  clip-path: polygon(6% 0, 94% 0, 100% 34%, 94% 100%, 6% 100%, 0 34%);
  transform-origin: 50% 50%;
  transition: transform 0.35s ease, box-shadow 0.35s ease, opacity 0.35s ease;
  cursor: pointer;
}

.lid::after {
  content: "";
  position: absolute;
  inset: -8px 28px auto 28px;
  height: 10px;
  background: linear-gradient(180deg, #515a63, #2e343b);
  border-radius: 10px 10px 6px 6px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.lid-button {
  width: 44px;
  height: 14px;
  background: linear-gradient(180deg, #7d868f, #4f575f);
  border-radius: 40px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 8px;
  box-shadow:
    inset 0 -2px 0 rgba(0, 0, 0, 0.18),
    inset 0 2px 3px rgba(255, 255, 255, 0.14);
}

.lid:focus-visible {
  outline: 2px solid #7ecb8f;
  outline-offset: 4px;
}

#dropzone.lid-open .lid {
  transform: translateX(188px) translateY(88px) rotate(90deg) scale(1.02);
  box-shadow:
    0 18px 26px rgba(17, 30, 46, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  opacity: 0.96;
  animation: lid-swing 0.5s ease-out forwards;
}

#dropzone.lid-open .lid.lid-closing {
  animation: lid-swing-close 0.5s ease-in forwards;
  transform: translateX(188px) translateY(88px) rotate(90deg) scale(1.02);
}

.lid.lid-closing {
  animation: lid-swing-close 0.5s ease-in forwards;
}

.lid-handle {
  position: absolute;
  width: 90px;
  height: 16px;
  left: 50%;
  transform: translateX(-50%);
  top: -12px;
  background: linear-gradient(180deg, #2a2f35, #1e2228);
  border-radius: 12px 12px 8px 8px;
  box-shadow:
    0 8px 12px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.jar {
  position: relative;
  width: min(230px, 88vw);
  height: 280px;
  margin: 12px auto 4px;
  perspective: 1200px;
}

.jar-neck {
  position: absolute;
  top: -10px;
  left: 26px;
  width: 178px;
  height: 20px;
  background: linear-gradient(180deg, #dbe6f2, #bdc8d5);
  border-radius: 14px 14px 9px 9px;
  box-shadow:
    0 8px 14px rgba(55, 110, 167, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  z-index: 4;
}

#dropzone.lid-open .jar-neck {
  filter: brightness(1.05);
}

#dropzone.lid-locked .jar-neck {
  filter: brightness(1.02);
}

.jar-inner {
  position: relative;
  width: 210px;
  height: 250px;
  margin: 10px auto 0;
  background:
    linear-gradient(195deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.06)),
    radial-gradient(circle at 80% 16%, rgba(255, 255, 255, 0.3), transparent 40%),
    linear-gradient(200deg, rgba(219, 236, 255, 0.55), rgba(210, 223, 236, 0.16));
  border: 3px solid #c2d6e8;
  border-radius: 18px 18px 22px 22px;
  box-shadow:
    0 18px 26px rgba(34, 73, 112, 0.2),
    inset 0 4px 10px rgba(255, 255, 255, 0.8),
    inset 0 -6px 16px rgba(167, 196, 222, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  overflow: hidden;
  backdrop-filter: blur(2px);
  clip-path: polygon(8% 3%, 92% 3%, 98% 18%, 88% 96%, 12% 96%, 2% 18%);
}

.jar-glow {
  position: absolute;
  inset: 8px;
  border-radius: 12px 12px 18px 18px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0));
  z-index: 3;
  pointer-events: none;
}

.jar-inner::before {
  content: "";
  position: absolute;
  inset: 8px 16px 14px auto;
  width: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0));
  filter: blur(2px);
  opacity: 0.6;
  z-index: 2;
}

.jar-inner::after {
  content: "";
  position: absolute;
  inset: 12px auto 14px 12px;
  width: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
  opacity: 0.65;
  filter: blur(1px);
  z-index: 2;
}

.jar-handle {
  position: absolute;
  right: -26px;
  top: 40px;
  width: 36px;
  height: 140px;
  border-radius: 26px;
  background: linear-gradient(180deg, #f8fbff, #d6e4f1);
  border: 6px solid #b9cadd;
  border-left: 6px solid transparent;
  box-shadow:
    inset -4px 0 10px rgba(0, 0, 0, 0.08),
    0 12px 18px rgba(0, 0, 0, 0.08);
  z-index: 3;
}

.jar-shadow {
  position: absolute;
  inset: auto 18px -14px 18px;
  height: 28px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.22), transparent 60%);
  filter: blur(10px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.jar-ridges {
  position: absolute;
  inset: 10px 14px 18px 14px;
  background: repeating-linear-gradient(
    to right,
    rgba(255, 255, 255, 0.1) 0,
    rgba(255, 255, 255, 0.1) 6px,
    rgba(255, 255, 255, 0) 6px,
    rgba(255, 255, 255, 0) 20px
  );
  opacity: 0.7;
  z-index: 1;
  pointer-events: none;
}

.center-shaft {
  position: absolute;
  bottom: 24px;
  left: 50%;
  width: 22px;
  height: 160px;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 1;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.18));
}

.shaft-rod {
  position: absolute;
  bottom: 0;
  width: 12px;
  height: 100%;
  background: linear-gradient(180deg, #7b8ca0, #4f5b6c 55%, #3d4652);
  border-radius: 10px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 2px rgba(0, 0, 0, 0.3);
}

.shaft-rod::after {
  content: "";
  position: absolute;
  inset: 18% 2px auto 2px;
  height: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
  border-radius: 10px;
}

.shaft-blade {
  position: absolute;
  left: 50%;
  width: 72px;
  height: 12px;
  background: linear-gradient(180deg, #cfd7e0, #8f9aa7);
  border-radius: 12px;
  transform-origin: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -1px 2px rgba(0, 0, 0, 0.2);
  transform: translateX(-50%) rotate(var(--blade-tilt, 0deg));
}

.shaft-blade::before,
.shaft-blade::after {
  content: "";
  position: absolute;
  top: 0;
  width: 16px;
  height: 100%;
  background: inherit;
  border-radius: 10px;
}

.shaft-blade::before { left: -14px; transform: skewX(-16deg); }
.shaft-blade::after { right: -14px; transform: skewX(16deg); }

.blade-top { bottom: 124px; --blade-tilt: 24deg; }
.blade-mid { bottom: 84px; --blade-tilt: -22deg; }
.blade-low { bottom: 44px; --blade-tilt: 18deg; }

.blender.blending .shaft-blade {
  animation: blade-spin 0.55s linear infinite;
}

.blend-content {
  position: absolute;
  inset: 10px 14px 24px 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  z-index: 1;
}

.smoothie-fill {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0;
  border-radius: 14px 14px 12px 12px;
  background: linear-gradient(180deg, var(--smoothie-top, #f8c9d4), var(--smoothie-bottom, #f28fa5));
  box-shadow:
    inset 0 8px 14px rgba(255, 255, 255, 0.35),
    inset 0 -8px 16px rgba(0, 0, 0, 0.08);
  opacity: 0.95;
  transition: height 0.8s ease, background 0.6s ease;
  z-index: 1;
}

.smoothie-fill.completed {
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.35), transparent 32%),
    radial-gradient(circle at 72% 10%, rgba(255, 255, 255, 0.25), transparent 30%),
    radial-gradient(circle at 46% 32%, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(180deg, var(--smoothie-top, #ffb6d9), var(--smoothie-bottom, #ff6ba9));
  background-blend-mode: screen, screen, screen, normal;
  box-shadow:
    inset 0 10px 16px rgba(255, 255, 255, 0.42),
    inset 0 -12px 18px rgba(0, 0, 0, 0.08);
}

.blades {
  position: absolute;
  bottom: 10px;
  left: 50%;
  width: 82px;
  height: 24px;
  transform: translateX(-50%) scale(1);
  background:
    radial-gradient(circle at 50% 50%, rgba(65, 82, 97, 0.4), transparent 60%),
    radial-gradient(circle at 50% 50%, #f0f4f7, #9eabb8 64%);
  border-radius: 50%;
  box-shadow:
    inset 0 2px 6px rgba(0, 0, 0, 0.18),
    0 4px 10px rgba(0, 0, 0, 0.18);
  z-index: 1;
  opacity: 0.7;
  pointer-events: none;
}

.blades::before,
.blades::after {
  content: "";
  position: absolute;
  inset: 7px 16px;
  background: linear-gradient(135deg, #dfe8f3, #9aa5b3);
  border-radius: 12px;
  box-shadow: inset 0 -2px 4px rgba(0, 0, 0, 0.18);
}

.blades::before { transform: rotate(26deg); }
.blades::after { transform: rotate(-38deg); }

.blades::after {
  box-shadow:
    inset 0 -2px 4px rgba(0, 0, 0, 0.18),
    0 0 0 6px rgba(255, 255, 255, 0.12);
}

.blender.blending .blades {
  animation: disc-spin 0.45s linear infinite;
}

.layer {
  background: var(--layer-color, #ddd);
  border-radius: 14px 14px 12px 12px;
  height: 0px;
  transition: height 0.5s ease, transform 0.4s ease, opacity 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -2px 10px rgba(0, 0, 0, 0.06);
}

.layer.peanut { --layer-color: linear-gradient(180deg, #d6ad78, #c79353); }
.layer.almond { --layer-color: linear-gradient(180deg, #dec19a, #cfa676); }
.layer.maple { --layer-color: linear-gradient(180deg, #f6a35a, #dd7a24); }
.layer.flax { --layer-color: linear-gradient(180deg, #c8b176, #af9454); }
.layer.strawberries { --layer-color: linear-gradient(180deg, #ff6f92, #ff4069); }
.layer.milk { --layer-color: linear-gradient(180deg, #ffffff, #e6f1ff); }
.layer.ice { --layer-color: linear-gradient(180deg, #d8efff, #b8dfff); }

.swirl {
  position: absolute;
  inset: 16px;
  background: conic-gradient(from 180deg, rgba(255, 255, 255, 0.8), rgba(122, 197, 255, 0.3), rgba(255, 255, 255, 0.6), rgba(255, 135, 171, 0.25), rgba(255, 255, 255, 0.9));
  mix-blend-mode: screen;
  border-radius: 16px;
  filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transform: scale(1.05);
  z-index: 2;
}

.blender.blending .swirl {
  opacity: 0.55;
  animation: swirl 1s linear infinite;
}

.base {
  width: min(280px, 94vw);
  height: 120px;
  margin: -6px auto 0;
  background: linear-gradient(180deg, #5f6670, #2e343b 72%, #20262c);
  border-radius: 20px 20px 18px 18px;
  box-shadow:
    0 18px 28px rgba(0, 0, 0, 0.22),
    inset 0 2px 0 rgba(255, 255, 255, 0.08),
    inset 0 -2px 0 rgba(0, 0, 0, 0.22);
  position: relative;
  clip-path: polygon(7% 0, 93% 0, 100% 22%, 93% 100%, 7% 100%, 0 22%);
}

.base::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 18px;
  right: 18px;
  height: 12px;
  border-radius: 12px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.22), transparent 60%);
  filter: blur(8px);
  opacity: 0.7;
}

.base-topper {
  position: absolute;
  top: -6px;
  left: 18px;
  right: 18px;
  height: 18px;
  background: linear-gradient(180deg, #717b86, #3a3f45);
  border-radius: 14px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 8px 14px rgba(0, 0, 0, 0.28);
}

.base-line {
  position: absolute;
  inset: 22px 18px auto 18px;
  height: 10px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.14));
  border-radius: 12px;
  opacity: 0.6;
  z-index: 1;
}

.control-panel {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  width: 220px;
  padding: 8px 14px;
  background: linear-gradient(180deg, #1c2128, #0e1217 70%);
  border-radius: 12px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 8px 14px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #e6ecf4;
  text-align: center;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.panel-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 4px 6px;
}

.brand {
  font-weight: 800;
  letter-spacing: 1.4px;
  font-size: 13px;
}

.status-light {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, #6fe69b 70%);
  box-shadow: 0 0 12px rgba(126, 203, 143, 0.9);
  opacity: 0.35;
  transition: opacity 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  z-index: 6;
}

.blender.blending .status-light,
.blender.ready .status-light {
  opacity: 1;
  box-shadow:
    0 0 22px rgba(31, 200, 106, 0.95),
    0 0 0 4px rgba(111, 230, 155, 0.16);
  filter: saturate(1.2);
}

.blender.blending .status-light {
  background: radial-gradient(circle at 30% 30%, #fff, #20d86c 70%);
  animation: blink-green 0.7s infinite alternate;
}

.control-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.control-grid.single {
  grid-template-columns: 1fr;
  justify-items: center;
}

.control-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 8px;
  border-radius: 8px;
  background: linear-gradient(180deg, #2a3038, #13181d);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
  letter-spacing: 0.2px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.control-pill.accent {
  background: linear-gradient(180deg, #394253, #1f2430);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.start-btn {
  min-width: 120px;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 10px 18px;
  color: #ffffff;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.start-btn:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 10px 18px rgba(0, 0, 0, 0.24);
  background: linear-gradient(180deg, #465065, #262c38);
}

.start-btn:active {
  transform: translateY(0);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 8px 14px rgba(0, 0, 0, 0.2);
}

.base-foot {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -6px;
  height: 12px;
  background: linear-gradient(180deg, #222831, #0d1116);
  border-radius: 10px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 8px 12px rgba(0, 0, 0, 0.34);
  z-index: 0;
}

.drop-text {
  font-size: 18px;
  margin: 4px 0 20px;
  color: #1f3343;
  letter-spacing: 0.4px;
  font-weight: 700;
}

/* Ingredient emoji floating inside */
.ingredient-inside {
  position: absolute;
  font-size: 42px;
  opacity: 0;
  animation: floaty 3.4s ease-in-out infinite, pop-in 0.45s forwards;
  z-index: 4;
}

.ingredient-inside.fade-out {
  animation: fade-out 1.2s forwards;
}

.layer.fade-out {
  opacity: 0;
  filter: blur(1px);
}

/* Fly-to-blender animation */
.fly-emoji {
  position: fixed;
  font-size: 36px;
  pointer-events: none;
  z-index: 9999;
  animation: fly 0.7s ease forwards;
}

@keyframes fly {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: translate(var(--tx), var(--ty)) scale(0.45); opacity: 0; }
}

@keyframes swirl {
  to { transform: scale(1.05) rotate(360deg); }
}

@keyframes lid-swing {
  0% { transform: translateX(0) translateY(0) rotate(0deg) scale(1); }
  55% { transform: translateX(92px) translateY(-26px) rotate(45deg) scale(1.05); }
  100% { transform: translateX(188px) translateY(88px) rotate(90deg) scale(1.02); }
}

@keyframes lid-swing-close {
  0% { transform: translateX(188px) translateY(88px) rotate(90deg) scale(1.02); }
  45% { transform: translateX(92px) translateY(-10px) rotate(45deg) scale(1.04); }
  100% { transform: translateX(0) translateY(0) rotate(0deg) scale(1); }
}

@keyframes disc-spin {
  from { transform: translateX(-50%) scale(1) rotate(0deg); }
  to { transform: translateX(-50%) scale(1) rotate(360deg); }
}

@keyframes blade-spin {
  from { transform: translateX(-50%) rotate(var(--blade-tilt, 0deg)); }
  to { transform: translateX(-50%) rotate(calc(var(--blade-tilt, 0deg) + 360deg)); }
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes pop-in {
  from { transform: translateY(12px) scale(0.9); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes fade-out {
  to { opacity: 0; transform: translateY(14px) scale(0.9); }
}

@keyframes shake {
  0% { transform: translate(0, 0) rotate(0); }
  20% { transform: translate(-4px, 2px) rotate(-1deg); }
  40% { transform: translate(4px, -2px) rotate(1deg); }
  60% { transform: translate(-3px, 1px) rotate(0deg); }
  80% { transform: translate(3px, -1px) rotate(1deg); }
  100% { transform: translate(0, 0) rotate(0); }
}

.blender.blending .jar-inner {
  animation: shake 0.5s ease-in-out infinite;
}

@keyframes blink-green {
  from { filter: brightness(1); opacity: 0.8; }
  to { filter: brightness(1.3); opacity: 1; }
}

@media (max-width: 1024px) {
  .container {
    padding: 26px 18px 44px;
  }
  .carousel-header p { font-size: 15px; }
  .blender { width: 100%; }
}

@media (max-width: 640px) {
  .reset-row { right: 12px; bottom: 12px; }
  .card {
    min-width: 130px;
    max-width: 140px;
    gap: 2px;
  }
  .drop-text { font-size: 16px; }
  .blender { padding: 12px 14px 16px; }
}
