/* Custom CSS styling & keyframe animations for eShopBD Coming Soon */
:root {
  --color-bg-light: #e4ebe2;
  --color-bg-mid: #c2d2c2;
  --color-bg-deep: #9eb5a0;
  --color-sun-glow: rgba(247, 226, 182, 0.45);
  --color-sun-ray: #f8dfaa;
  --color-text-headline: #2c3c2e;
  --color-text-body: #4e5f50;
  --color-accent-amber: #e5a869;
  --color-accent-amber-hover: #f1b77c;
  --color-accent-amber-dark: #c98846;
  --color-pine-dark: #324334;
  --color-water: #53758c;
  --color-water-shimmer: #6f95ad;
  --color-heron-body: #c4d0d8;
  --color-foliage: #e5b06d;
  --color-foliage-outline: #304132;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-mid);
}
::-webkit-scrollbar-thumb {
  background: var(--color-pine-dark);
  border-radius: 3px;
}

/* Typography styles */
.font-display {
  font-family: 'Fraunces', 'Playfair Display', serif;
  font-optical-sizing: auto;
  letter-spacing: -0.02em;
}

.font-logo {
  font-family: 'Righteous', 'Syne', sans-serif;
  letter-spacing: -0.01em;
}

.font-logo-brand {
  font-family: 'Righteous', cursive, sans-serif;
  letter-spacing: -0.01em;
}

.font-logo-sub {
  font-family: 'Unbounded', sans-serif;
  letter-spacing: 0.32em;
}

.logo-glow {
  filter: drop-shadow(0 2px 8px rgba(229, 168, 105, 0.45));
}

.font-sans-body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* Background Atmosphere */
.scenic-background {
  background: radial-gradient(circle at 10% 12%, rgba(254, 246, 228, 0.7) 0%, rgba(223, 235, 222, 0.5) 25%, rgba(184, 203, 184, 0.7) 60%, rgba(154, 178, 156, 0.9) 100%),
              linear-gradient(135deg, #d8e4d8 0%, #bacdba 50%, #9cb39e 100%);
  background-attachment: fixed;
}

/* Misty Atmosphere Blur Backdrop */
.mist-layer {
  background: radial-gradient(ellipse at 40% 50%, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 70%);
  backdrop-filter: blur(1.5px);
}

/* Sun Rays Rotation & Pulse */
@keyframes sun-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes sun-pulse {
  0%, 100% {
    opacity: 0.82;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

.animate-sun-rays {
  transform-origin: 0% 0%;
  animation: sun-spin 120s linear infinite;
}

.animate-sun-glow {
  animation: sun-pulse 6s ease-in-out infinite;
}

/* 3D Mascot Cartoon Floating & Breathing Animation */
@keyframes mascot-float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(1.2deg);
  }
}

@keyframes mascot-shadow {
  0%, 100% {
    transform: scale(1);
    opacity: 0.35;
  }
  50% {
    transform: scale(0.85);
    opacity: 0.2;
  }
}

.animate-mascot-float {
  animation: mascot-float 4.5s ease-in-out infinite;
}

.animate-mascot-shadow {
  animation: mascot-shadow 4.5s ease-in-out infinite;
}

/* 3D Floating Accessory Badges */
@keyframes float-slow-1 {
  0%, 100% {
    transform: translateY(0px) rotate(-3deg);
  }
  50% {
    transform: translateY(-8px) rotate(2deg);
  }
}

@keyframes float-slow-2 {
  0%, 100% {
    transform: translateY(0px) rotate(4deg);
  }
  50% {
    transform: translateY(-10px) rotate(-2deg);
  }
}

.animate-float-1 {
  animation: float-slow-1 3.8s ease-in-out infinite;
}

.animate-float-2 {
  animation: float-slow-2 4.6s ease-in-out 0.8s infinite;
}

/* Mascot Image Soft Radial Mask */
.mascot-blend-mask {
  mask-image: radial-gradient(circle at 50% 48%, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0) 95%);
  -webkit-mask-image: radial-gradient(circle at 50% 48%, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0) 95%);
  filter: drop-shadow(0 15px 25px rgba(44, 60, 46, 0.18));
}

/* Mascot 3D Perspective Card */
.mascot-container {
  perspective: 1000px;
  cursor: pointer;
  transition: transform 0.15s ease-out;
}

/* Tree Gentle Sway */
@keyframes tree-sway-left {
  0%, 100% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(-1.5deg) skewX(-0.5deg);
  }
}

@keyframes tree-sway-right {
  0%, 100% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(1.8deg) skewX(0.8deg);
  }
}

.tree-sway-1 {
  transform-origin: bottom center;
  animation: tree-sway-left 7s ease-in-out infinite;
}

.tree-sway-2 {
  transform-origin: bottom center;
  animation: tree-sway-right 9s ease-in-out 1.2s infinite;
}

.tree-sway-3 {
  transform-origin: bottom center;
  animation: tree-sway-left 8s ease-in-out 0.5s infinite;
}

/* Bird Subtle Head/Body Bob */
@keyframes heron-bob-1 {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  30% {
    transform: translateY(-2px) rotate(-0.5deg);
  }
  60% {
    transform: translateY(1px) rotate(0.3deg);
  }
}

@keyframes heron-bob-2 {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  40% {
    transform: translateY(-2.5px) rotate(0.8deg);
  }
  80% {
    transform: translateY(1.5px) rotate(-0.4deg);
  }
}

.animate-heron-1 {
  transform-origin: bottom center;
  animation: heron-bob-1 6s ease-in-out infinite;
}

.animate-heron-2 {
  transform-origin: bottom center;
  animation: heron-bob-2 7.5s ease-in-out 1.8s infinite;
}

/* Water Ripple / Shimmer */
@keyframes water-drift {
  0%, 100% {
    opacity: 0.6;
    transform: scaleX(1) translateX(0);
  }
  50% {
    opacity: 0.9;
    transform: scaleX(1.05) translateX(3px);
  }
}

.animate-water-ripple {
  animation: water-drift 4s ease-in-out infinite;
}

/* Golden Accent Sparkle/Dot Pulse */
@keyframes dot-sparkle {
  0%, 100% {
    transform: scale(1) translateY(0);
    opacity: 0.9;
    filter: drop-shadow(0 0 2px rgba(229, 168, 105, 0.6));
  }
  50% {
    transform: scale(1.35) translateY(-1px);
    opacity: 1;
    filter: drop-shadow(0 0 5px rgba(229, 168, 105, 0.95));
  }
}

.accent-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background-color: var(--color-accent-amber);
  border-radius: 2px;
  transform: rotate(45deg);
  animation: dot-sparkle 3s ease-in-out infinite;
}

/* Gentle Floating Up on Load */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Countdown Card */
.countdown-card {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 4px 16px -2px rgba(44, 60, 46, 0.08);
  transition: transform 0.25s ease, background 0.25s ease;
}

.countdown-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.7);
}

/* Glass Badge & Action Button */
.glass-pill {
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.btn-launch-action {
  background-color: var(--color-accent-amber);
  color: var(--color-pine-dark);
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(229, 168, 105, 0.35);
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-launch-action:hover {
  background-color: var(--color-accent-amber-hover);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(229, 168, 105, 0.48);
}

.btn-launch-action:active {
  transform: translateY(0.5px) scale(0.99);
}

/* Floating Particle Canvas */
#particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}
