/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Outfit:wght@400;600;800;900&display=swap');

:root {
  --primary-blue: #0284C7;
  --ice-bg: #E0F2FE;
  --cone-orange: #FF6B00;
  --cone-orange-hover: #EA580C;
  --card-bg: rgba(255, 255, 255, 0.75);
  --card-border: rgba(255, 255, 255, 0.9);
}

body {
  font-family: 'Fredoka', 'Outfit', sans-serif;
  background: radial-gradient(circle at 50% 0%, #BAE6FD 0%, #E0F2FE 45%, #F0F9FF 100%);
  color: #0F172A;
  min-height: 100vh;
  overflow-x: hidden;
  user-select: none;
}

/* Snow Canvas Background */
#snow-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 10;
}

/* Bubbly Glassmorphism Card */
.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 2px solid var(--card-border);
  box-shadow: 0 16px 32px -8px rgba(14, 116, 144, 0.12),
              0 4px 12px -2px rgba(14, 116, 144, 0.08),
              inset 0 1px 2px rgba(255, 255, 255, 0.8);
  border-radius: 28px;
}

.glass-card-orange {
  background: rgba(255, 247, 237, 0.85);
  backdrop-filter: blur(14px);
  border: 2px solid rgba(254, 215, 170, 0.9);
  box-shadow: 0 16px 32px -8px rgba(234, 88, 12, 0.15),
              inset 0 1px 2px rgba(255, 255, 255, 0.9);
  border-radius: 28px;
}

/* 3D Bouncy Buttons (Pengu Style) */
.bouncy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: 9999px;
  transition: all 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.18), 0 10px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(0);
}

.bouncy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.18), 0 14px 24px rgba(0, 0, 0, 0.12);
}

.bouncy-btn:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.18), 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* Orange Theme Button */
.btn-orange {
  background: linear-gradient(180deg, #FF8800 0%, #FF5500 100%);
  color: #FFFFFF;
  border: 2px solid #FFA23A;
  text-shadow: 0 2px 4px rgba(154, 52, 0, 0.4);
}
.btn-orange:hover {
  background: linear-gradient(180deg, #FFA23A 0%, #FF6600 100%);
}

/* Blue Theme Button */
.btn-blue {
  background: linear-gradient(180deg, #38BDF8 0%, #0284C7 100%);
  color: #FFFFFF;
  border: 2px solid #7DD3FC;
  text-shadow: 0 2px 4px rgba(3, 105, 161, 0.4);
}
.btn-blue:hover {
  background: linear-gradient(180deg, #60A5FA 0%, #0369A1 100%);
}

/* White / Pill Button */
.btn-white {
  background: #FFFFFF;
  color: #0F172A;
  border: 2px solid #E2E8F0;
}
.btn-white:hover {
  background: #F8FAFC;
}

/* Animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(1.5deg);
  }
}

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

@keyframes bounce-slow {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.animate-bounce-slow {
  animation: bounce-slow 2.5s ease-in-out infinite;
}

@keyframes wiggle {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}

.animate-wiggle {
  animation: wiggle 1s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.4), 0 0 30px rgba(255, 107, 0, 0.2);
  }
  50% {
    box-shadow: 0 0 25px rgba(255, 107, 0, 0.7), 0 0 50px rgba(255, 107, 0, 0.4);
  }
}

.glow-orange {
  animation: pulse-glow 2.5s infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #E0F2FE;
}
::-webkit-scrollbar-thumb {
  background: #7DD3FC;
  border-radius: 9999px;
  border: 2px solid #E0F2FE;
}
::-webkit-scrollbar-thumb:hover {
  background: #38BDF8;
}
