.snowfall {
  position: fixed;      /* change to absolute if inside a specific banner */
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 50;         /* or whatever layer you need */
}

.snowflake {
  position: absolute;
  top: -20px;            /* start above the viewport */
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
  box-sizing: border-box;
  pointer-events: none;
  animation: fall linear infinite;
  background: radial-gradient(circle, #fff 40%, rgba(255,255,255,0.6) 100%);
  will-change: transform, opacity;
}

@keyframes fall {
  to {
    transform: translateY(291vh) translateX(var(--drift));
  }
}

/* Twinkle animation — gentle pulsing opacity for small flakes */
.twinkle {
  animation: 
    fall linear infinite,
    twinkle 3s ease-in-out infinite alternate;
}

@keyframes twinkle {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}



#snow-toggle {
  /* Basic layout */
  padding: 12px 24px;
  font-size: 14px;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-weight: 500;
  cursor: url('../images/paw-cursor.png') 8 0, pointer;
  
  /* Colors - winter theme */
  background-color: rgba(91, 160, 240, 0.55); /* 70% opacity */
  color: white;
  border: none;
  border-radius: 12px;                 /* rounded pill shape */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  
  /* Smooth effects */
  transition: all 0.3s ease;
  
  /* Optional: add a subtle snowflake or glow */
  position: absolute;
  overflow: hidden;
  top: .05rem;        /* a bit below the quote box */
  left: 5rem;    /* same horizontal alignment */

  text-align: center;  /* centers inline/inline-block elements horizontally */
  margin-top: 1.5rem;  /* space above button */
}

/* Hover effect - brightens and lifts */
#snow-toggle:hover {
  background-color: #5ba0f0;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Active/click effect */
#snow-toggle:active {
  transform: translateY(1px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

/* Optional fun touch: subtle sparkle overlay on hover */
#snow-toggle::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

#snow-toggle:hover::after {
  opacity: 1;
  animation: sparkle 1.5s infinite;
}
@keyframes sparkle {
  0%, 100% {
    transform: rotate(0deg) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: rotate(180deg) scale(1.1);
    opacity: 0.6;
  }
}

.snowfall-fullpage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 350vh;              /* snow can fall MUCH farther */
  pointer-events: none;
  overflow: hidden;
  z-index: 9999;
  
}

.snow-button-section {
  text-align: center;         /* center the button horizontally */
  margin-top: 70px;           /* space below the quote box */
  margin-bottom: 2rem;        /* optional extra spacing before main content */
  position: absolute;        /* stays near top left of content */
  top: 10rem;
  left: 5rem;              /* adjust gap from content */
  width: 250px;              /* fixed width */
  padding: 1rem 1.2rem;
}


/* ===================================
   MOBILE-FIRST: calm snow + hide toggle on phones
=================================== */

/* Default (mobile): OFF */
.snowfall,
.snowfall-fullpage,
.snow-button-section,
#snow-toggle {
  display: none !important;
}

/* Tablet/Desktop (turn back ON) */
@media (min-width: 769px) {
  .snowfall,
  .snowfall-fullpage,
  .snow-button-section,
  #snow-toggle {
    display: block !important;
  }
}
