body {
  margin: 0;
  font-family: Avenir, sans-serif;
  background: linear-gradient(180deg, #1d0728 5%, #2a1838 95%);
  color: white;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  overflow-y: auto;
}

.phone {
  width: 100%;
  max-width: 390px;
  min-height: 100vh;
  max-height: none;
  margin: 0 auto;
  background: transparent;
  border-radius: 0;
  padding: 20px 16px 28px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: background 0.35s ease, box-shadow 0.25s ease, transform 0.2s ease;
  overflow: visible;
}

h1 {
  font-size: 22px;
  margin: 0;
}

.tagline {
  font-size: 14px;
  opacity: 0.7;
  margin-top: 5px;
}

.buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

button {
  padding: 16px;
  border: none;
  border-radius: 14px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.1s ease;
}

button:active {
  transform: scale(0.96);
}

.nuclear {
  background: #bf00ff;
  color: white;
}

.rumblin {
  background: #50017a;
  color: white;
}

.chillin {
  background: #7ef45d;
  color: #ffffff;
}
.monster {
  width: 235px;
  display: flex;
  justify-content: center;
  margin: 0;
  position: relative;
  z-index: 1;
}

.monster img {
  width: 120px;
}
.slider-wrap {
  width: 100%;
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 5;
}

  .slider-wrap label {
    font-size: 14px;
    opacity: 0.7;
    display: block;
    margin-bottom: 8px;
  }

#hungerSlider {
  -webkit-appearance: none;
  appearance: none;
  width: 235px;
  height: 6px;
  margin: 8px 0 6px 0;
  background: transparent;
  outline: none;
  position: relative;
  z-index: 6;
}

  #hungerSlider::-webkit-slider-runnable-track {
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(
      to right,
      #a1fc8b 0%,
      #7ef45d 50%,
      #3bd12a 100%
    );
  }

  #hungerSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    margin-top: -8px;
    border-radius: 50%;
    background: #d08bfc;
    border: 2px solid #50017a;
    box-shadow: 
    0 0 6px rgba(208, 139, 252, 0.6),
    0 0 12px rgba(208, 139, 252, 0.4),
    0 0 18px rgba(208, 139, 252, 0.3);
    cursor: pointer;
  }

  #hungerSlider::-moz-range-track {
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(
      to right,
      #a1fc8b 0%,
      #7ef45d 50%,
      #3bd12a 100%
    );
  }

  #hungerSlider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #d08bfc;
    border: 2px solid #50017a;
    box-shadow: 0 0 10px rgba(208, 139, 252, 0.8);
    cursor: pointer;
  }

.slider-labels {
  width: 235px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  opacity: 0.85;
  margin-top: 2px;
  position: relative;
  z-index: 6;
}
.screen {
  display: none;
}

.screen.active {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100%;
  height: auto;
}
#sliderScreen {
  align-items: center;
  text-align: center;
  gap: 20px;
}
.intro-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

#introLogo {
  width: 220px;
  height: auto;
}

#feedBtn {
  display: block;
  width: auto;
  height: 48px;
  cursor: pointer;
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
}
.top-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px; 
}

.speech-wrap {
  position: relative;
  width: 235px;
  display: flex;
  justify-content: center;
  z-index: 1;
}

.speech-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

#bubbleText {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 30px 36px 30px;
  color: #ffffff;
  font-family: Avenir, "Avenir Next", Montserrat, sans-serif;
  font-weight: 800;
  font-size: 16px;
  line-height: 1.2;
  pointer-events: none;
}
#monsterImg {
  transform-box: fill-box;
  transform-origin: 50% 50%;
}

.monster-chillin {
  animation: chillFloat 3s ease-in-out infinite;
}

.monster-rumblin {
  animation: rumblinShake 0.35s ease-in-out infinite;
}

.monster-nuclear {
  animation: nuclearShake 0.18s linear infinite;
}
@keyframes chillFloat {
  0%   { transform: translate(0px, 0px) scale(1,1) rotate(0deg); }
  20%  { transform: translate(-3px, -6px) scale(1.03,0.97) rotate(-1deg); }
  40%  { transform: translate(3px, -10px) scale(0.97,1.04) rotate(1deg); }
  60%  { transform: translate(-2px, -6px) scale(1.02,0.98) rotate(-0.6deg); }
  80%  { transform: translate(2px, -4px) scale(0.99,1.02) rotate(0.6deg); }
  100% { transform: translate(0px, 0px) scale(1,1) rotate(0deg); }
}
@keyframes rumblinShake {
  0%   { transform: translate(0, 0) rotate(0deg); }
  25%  { transform: translate(-2px, 1px) rotate(-1deg); }
  50%  { transform: translate(2px, -1px) rotate(1deg); }
  75%  { transform: translate(-1px, 2px) rotate(-0.5deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes nuclearShake {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  25%  { transform: translate(-4px, 2px) rotate(-2deg) scale(1.02); }
  50%  { transform: translate(4px, -2px) rotate(2deg) scale(0.98); }
  75%  { transform: translate(-3px, 3px) rotate(-1deg) scale(1.01); }
  100% { transform: translate(0, 0) rotate(0deg) scale(1); }
}
.phone.rumblin {
  animation: phoneRumble 0.16s infinite linear;
  transform-origin: center;
}

.phone-nuclear {
  animation: phoneNuclear 0.18s linear infinite;
  box-shadow: 0 0 24px rgba(208, 139, 252, 0.35);
}

@keyframes phoneRumble {
  0%   { transform: translate(0px, 0px); }
  20%  { transform: translate(0.4px, -0.3px); }
  40%  { transform: translate(-0.4px, 0.3px); }
  60%  { transform: translate(0.3px, 0.2px); }
  80%  { transform: translate(-0.3px, -0.2px); }
  100% { transform: translate(0px, 0px); }
}

@keyframes phoneNuclear {
  0%   { transform: translate(0, 0) rotate(0deg); }
  25%  { transform: translate(-2px, 1px) rotate(-0.4deg); }
  50%  { transform: translate(2px, -1px) rotate(0.4deg); }
  75%  { transform: translate(-2px, 2px) rotate(-0.3deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}
.phone-chillin,
.phone-rumblin,
.phone-nuclear {
  background: transparent;
}
#ctaWrap {
  width: 235px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 6;
}

#ctaWrap.show {
  opacity: 1;
}

#findFoodBtn {
  height: 36px;             
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: #7ef45d;
  color: #50017a;
  border: none;
  border-radius: 999px;

  font-family: Avenir, "Avenir Next", Montserrat, sans-serif;
  font-weight: 800;
  font-size: 12px;          

  cursor: pointer;

  padding: 0 10px;           
  line-height: 1;
}
#findFoodBtn span {
  display: block;
  transform: translateY(1px);
}
#bubbleImg {
  transition: opacity 0.28s ease;
}

#monsterImg {
  transition: opacity 0.28s ease;
}
.monster-pop {
  animation: monsterPop 0.25s ease;
}

@keyframes monsterPop {
  0%   { transform: scale(0.92); opacity: 0.6; }
  60%  { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(1); }
}
#resultsWrap {
  width: 100%;
  margin-top: 18px;   /* 👈 was too small before */
  display: grid;
  grid-template-columns: repeat(2, 105px);
  justify-content: center;
  row-gap: 52px;
  column-gap: 18px;
  align-items: start;
}
#resultsWrap.single {
  display: flex;
  justify-content: center;
}
#resultsWrap.single .result-card {
  width: 105px;
}
.result-card {
  width: 105px;
  height: 90px;
  background: #ddffd4;
  border-radius: 11px;
  position: relative;
  overflow: visible;
  text-align: left;
  box-sizing: border-box;
  padding: 34px 6.5px 14px 6.5px;
}

.result-image-wrap {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.result-image {
  width: 60px;
  height: 60px;
  border-radius: 9px;
  object-fit: cover;
  display: block;
}

.result-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.result-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4px;
}

.result-name {
  font-family: Avenir, "Avenir Next", Montserrat, sans-serif;
  font-size: 8px;
  font-weight: 800;
  color: #35324a;
  line-height: 1.1;
}

.result-price {
  font-family: Avenir, "Avenir Next", Montserrat, sans-serif;
  font-size: 8px;
  font-weight: 800;
  color: #8247bd;
  line-height: 1;
  white-space: nowrap;
}

.result-meta {
  font-family: Avenir, "Avenir Next", Montserrat, sans-serif;
  font-size: 5px;
  font-weight: 700;
  color: #8247bd;
  text-align: left;
  line-height: 1.2;
  margin-top: 4px;
}

.result-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.result-distance-time {
  font-family: Avenir, "Avenir Next", Montserrat, sans-serif;
  font-size: 5px;
  font-weight: 700;
  color: #1d0728;
  line-height: 1;
}

.result-plus {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #bf00ff;
  color: #7ef45d;
  border: none;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  flex: 0 0 auto;
}

.try-again {
  background: transparent;
  color: #a1fc8b;
  border: 1px solid #a1fc8b;
  border-radius: 999px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  font-family: Avenir, "Avenir Next", Montserrat, sans-serif;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  margin-top: 12px;
}
#resultsHeader {
  width: 100%;
  margin-top: 18px;
  margin-bottom: 12px;
  font-family: Avenir, "Avenir Next", Montserrat, sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: #a1fc8b;
  text-align: left;
  opacity: 0;
  transition: opacity 0.2s ease;
}

#resultsHeader.show {
  opacity: 1;
}

.result-price {
  font-family: Avenir, "Avenir Next", Montserrat, sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: #4a2b63;
  white-space: nowrap;
}

#retryBtn {
  height: 34px;
  width: auto;
  cursor: pointer;
  display: none;

  position: absolute;
  right: -5px;   /* 👈 pushes it outside */
  top: 50%;
  transform: translateY(-50%);
}

#retryBtn.show {
  display: block;
}

html,
body {
  height: auto !important;
  min-height: 100%;
  overflow-y: auto !important;
}

body {
  align-items: flex-start !important;
}

.phone {
  overflow-y: visible !important;
}

#resultsWrap {
  overflow-y: visible !important;
}

#introScreen,
#sliderScreen,
.screen,
.screen.active {
  background: transparent !important;
  min-height: auto !important;
  height: auto !important;
}