* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  font-family: "Roboto", sans-serif;

  /* Animated Dark Multi-color Gradient */
  background: linear-gradient(
    -45deg,
    #0d1117,
    #161b22,
    #1a102f,
    #0b1e36,
    #1f1427
  );
  background-size: 400% 400%;
  animation: gradientFlow 12s ease infinite;

  position: relative;
}

/* Background gradient animation */
@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Moving dot overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;

  background-image: radial-gradient(
    rgba(255, 255, 255, 0.12) 1px,
    transparent 1px
  );

  background-size: 24px 24px;
  opacity: 0.4;

  animation: patternMove 12s linear infinite;

  pointer-events: none;
}

/* Centered Content */
.coming-soon {
  position: relative;
  z-index: 1;
  text-align: center;
}

h1 {
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 500;
  letter-spacing: -2px;
  line-height: 1.1;

  color: #ffffff;

  animation: softReveal 1.2s ease-out forwards;
  filter: drop-shadow(2px 4px 8px #000000c0);
}

/* Footer Handle fixed to bottom */
.footer-handle {
  position: absolute;
  bottom: 30px;
  z-index: 1;

  opacity: 0;
  animation: softReveal 1s ease-out 0.4s forwards;
}

.footer-handle p {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #8b949e;

  padding: 8px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);

  transition: all 0.3s ease;
}

.footer-handle p span {
  color: #e6edf3;
  font-weight: 500;
}

/* Hover effect on footer text */
.footer-handle p:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
}

/* Text reveal keyframe */
@keyframes softReveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Dot pattern movement keyframe */
@keyframes patternMove {
  from {
    transform: translate(0, 0);
  }

  to {
    transform: translate(24px, 24px);
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 48px;
    letter-spacing: -1px;
  }

  .footer-handle {
    bottom: 20px;
  }

  .footer-handle p {
    font-size: 11px;
    padding: 6px 14px;
  }

  body::before {
    background-size: 20px 20px;
  }
}

/* -- falling item css -- */
/* --- Background Animation Setup --- */
body {
  margin: 0;
  overflow: hidden;
  /* background: linear-gradient(135deg, #130a06, #26150b); */
  min-height: 100vh;
  position: relative;
}
/* =========================================
   FALLING FOOD / DRY FRUIT CONTAINER
========================================= */
.falling-container {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.falling-item {
  position: absolute;
  top: -120px;
  left: 0;

  width: 40px;
  height: 40px;

  object-fit: contain;

  pointer-events: none;
  user-select: none;

  opacity: 0;

  animation-name: falling;
  animation-timing-function: linear;
  animation-iteration-count: infinite;

  /* Default / middle depth */
  filter: drop-shadow(
    0 4px 6px rgba(0, 0, 0, 0.25)
  );
}


/* -----------------------------------------
   BACKGROUND ITEMS
----------------------------------------- */

.falling-item.depth-back {
  filter:
    blur(2px)
    drop-shadow(0 3px 5px rgba(0, 0, 0, 0.15));
}


/* -----------------------------------------
   MIDDLE ITEMS
----------------------------------------- */

.falling-item.depth-middle {
  filter:
    blur(1px)
    drop-shadow(0 4px 6px rgba(0, 0, 0, 0.25));
}


/* -----------------------------------------
   FOREGROUND ITEMS
----------------------------------------- */

.falling-item.depth-front {
  filter:
    drop-shadow(0 5px 8px rgba(0, 0, 0, 0.35));
}


/* -----------------------------------------
   FALLING ANIMATION
----------------------------------------- */

@keyframes falling {

  0% {
    transform:
      translate3d(0, -120px, 0)
      rotate(var(--rotation-start));
    opacity: 0;
  }

  10% {
    opacity: var(--opacity);
  }

  85% {
    opacity: var(--opacity);
  }

  100% {
    transform:
      translate3d(var(--drift), 115vh, 0)
      rotate(var(--rotation-end));
    opacity: 0;
  }

}
