/* public/style.css */
/* background = mangoBG, blueshifted */
body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background-image: url('mangoBG.jpg');
  background: linear-gradient(135deg, #0077B6, #00B4D8);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
}

.bg-blur {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  backdrop-filter: blur(8px);
  z-index: 2;
}

.container {
  position: relative;
  z-index: 3;
  max-width: 600px; width: 90%;
  padding: 2rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  text-align: center;
}

/* heading */
.main-text {
  margin: 0 0 1rem;
  font-size: 4rem;
  font-weight: 800;
  color: #0077B6;
}

/* mango */
#mango {
  width: 200px;
  cursor: pointer;
  transition: transform .2s;
  filter: hue-rotate(200deg) saturate(150%);
}

/* counter */
.counter-text {
  margin-top: 1rem;
  font-size: 2rem;
  font-weight: 600;
  color: #00B4D8;
}

#count-number {
  font-size: 4rem;
  font-weight: 900;
  background: linear-gradient(
    270deg,
    #003f7a,  /* darker than #004E92 */
    #004872,
    #003d5c,
    #003a4f,
    #002844,  /* darker tone of #004E92 */
    #000428   /* same as background end */
  );
  background-size: 600% 600%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  animation: gradientText 6s ease-in-out infinite;
}

@keyframes gradientText {
  0%   { background-position: 0% 50%; }
  25%  { background-position: 50% 100%; }
  50%  { background-position: 100% 50%; }
  75%  { background-position: 50% 0%; }
  100% { background-position: 0% 50%; }
}
/* /* number styling */ 
/* #count-number { */
/*   font-size: 4rem; */
/*   font-weight: 900; */
/*   background: linear-gradient(90deg, #004E92, #000428); */
/*   background-size: 200% 200%; */
/*   -webkit-background-clip: text; */
/*   -webkit-text-fill-color: transparent; */
/*   display: inline-block; */
/*   animation: gradientText 3s ease infinite; */
/* } */
/**/
/* /* gradient shift */ 
/* @keyframes gradientText { */
/*   0%   { background-position:   0% 50%; } */
/*   50%  { background-position: 100% 50%; } */
/*   100% { background-position:   0% 50%; } */
/* } */

/* mango bounce */
@keyframes bounce {
  0%,100% { transform: scale(1); }
  30%     { transform: scale(1.1); }
  50%     { transform: scale(0.9); }
  70%     { transform: scale(1.05); }
}

/* falling mango (above container) */
.falling-mango {
  position: absolute;
  top: -60px;
  width: 50px;
  filter: hue-rotate(200deg) saturate(100%);
  animation: fall-rotate 3s cubic-bezier(.25,.46,.45,.94) forwards;
  z-index: 4;
}
@keyframes fall-rotate {
  to {
    transform: translateY(calc(100vh + 60px)) rotate(720deg);
  }
}

