@import "tailwindcss";

@theme {
  --font-sans: "Poppins", system-ui, sans-serif;
  --color-brand-green: #7ED957;
  --color-brand-lightgreen: #B4F04A;
  --color-brand-pink: #FF6EC7;
  --color-brand-purple: #A855F7;
}

/* Custom Base Overlay and Body Configuration */
body {
  font-family: 'Poppins', sans-serif;
  background-attachment: fixed;
  background-size: 400% 400%;
  animation: movingGradient 20s ease infinite;
}

@keyframes movingGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Glassmorphism Standard Components */
.backdrop-blur-md {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.backdrop-blur-lg {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.backdrop-blur-xl {
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
}

/* Advanced Floating Fruits animations */
.floating-fruit {
  position: absolute;
  user-select: none;
  pointer-events: none;
  animation-name: floatUpDown;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

@keyframes floatUpDown {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-25px) rotate(15deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

/* Slide and Fade-In Intersection effects */
.section-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Interactive Hover Features for Cards */
.feature-card:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background-color: rgba(255, 255, 255, 0.28);
}

/* Customized Snap gallery and layouts for phone screenshots */
#screenshot-track {
  scrollbar-width: none; /* Firefox */
}
#screenshot-track::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

/* Device screen interactive structures */
.smartphone-frame {
  box-shadow: 
    0px 25px 50px -12px rgba(0, 0, 0, 0.5),
    inset 0 0 4px 2px rgba(255, 255, 255, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  border-color: #121016;
}

/* Notch detail layout */
.smartphone-frame::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 99px;
  z-index: 40;
}

/* Screen shine reflection */
.smartphone-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 50%);
  z-index: 21;
  pointer-events: none;
}

/* Mini Wheel Spin animation frame */
@keyframes spinWheel {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.spin-slow {
  animation: spinWheel 25s linear infinite;
}

/* Active slide dot configurations */
.pag-dot {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.active-dot {
  width: 24px;
  background-color: #FFFFFF !important;
}

/* Custom Text Shadow overlay for cartoon headers */
.text-shadow {
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Custom bounce loop and wiggle values */
@keyframes cuteWiggle {
  0%, 100% { transform: rotate(-5deg); }
  50% { transform: rotate(5deg); }
}
.animate-wiggle {
  animation: cuteWiggle 3s ease-in-out infinite;
}

/* Dash array guideline simulation spacing layout */
.stroke-dasharray {
  background-image: linear-gradient(to bottom, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 0%);
  background-position: left;
  background-size: 1px 12px;
  background-repeat: repeat-y;
}
