/* Animation Keyframes */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  @keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
  }
  
  @keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
  }
  
  @keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
  }
  
  @keyframes glow {
    0% { box-shadow: 0 0 5px rgba(57, 190, 255, 0.5); }
    50% { box-shadow: 0 0 20px rgba(57, 190, 255, 0.8); }
    100% { box-shadow: 0 0 5px rgba(57, 190, 255, 0.5); }
  }
  
  /* Remove these snow animation keyframes:
  @keyframes snowfall {
    0% {
      transform: translateY(0) translateX(0) rotate(0deg);
    }
    100% {
      transform: translateY(100vh) translateX(20px) rotate(360deg);
    }
  }
  
  @keyframes snowfall-2 {
    0% {
      transform: translateY(0) translateX(0) rotate(0deg);
    }
    100% {
      transform: translateY(100vh) translateX(-20px) rotate(-360deg);
    }
  }
  */
  
  /* Animation Classes */
  .fade-in {
    animation: fadeIn 0.8s ease-out forwards;
  }
  
  .pulse {
    animation: pulse 2s infinite;
  }
  
  .slide-in-left {
    animation: slideInLeft 0.6s ease-out forwards;
  }
  
  .slide-in-right {
    animation: slideInRight 0.6s ease-out forwards;
  }
  
  .glow {
    animation: glow 2s infinite;
  }
  
  /* Delay Classes */
  .delay-100 { animation-delay: 0.1s; }
  .delay-200 { animation-delay: 0.2s; }
  .delay-300 { animation-delay: 0.3s; }
  .delay-400 { animation-delay: 0.4s; }
  .delay-500 { animation-delay: 0.5s; }
  .delay-600 { animation-delay: 0.6s; }
  .delay-700 { animation-delay: 0.7s; }
  .delay-800 { animation-delay: 0.8s; }
  .delay-900 { animation-delay: 0.9s; }
  .delay-1000 { animation-delay: 1s; }
  
  /* Remove these snow container and snowflakes styles:
  .snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
  }
  
  .snowflake {
    position: absolute;
    background-color: white;
    border-radius: 50%;
    opacity: 0.8;
    pointer-events: none;
  }
  
  .snowflake.type-1 {
    width: 6px;
    height: 6px;
    animation: snowfall 8s linear infinite;
  }
  
  .snowflake.type-2 {
    width: 10px;
    height: 10px;
    animation: snowfall-2 12s linear infinite;
  }
  
  .snowflake.type-3 {
    width: 4px;
    height: 4px;
    animation: snowfall 10s linear infinite;
  }
  #snowContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.snowflake {
    position: fixed;
    color: #fff;
    font-size: 1em;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    animation: fall linear infinite;
}

.type-1::after { content: "❅"; }
.type-2::after { content: "❆"; }
.type-3::after { content: "❄"; }

@keyframes fall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
    }
}

/* Paused state for snowflakes */
.paused {
    animation-play-state: paused !important;
}

/* Hover effect for the toggle button */
#toggle-snow:hover {
    background: rgba(0, 0, 0, 0.7) !important;
}

#toggle-snow.off:hover {
    background: rgba(231, 76, 60, 0.7) !important;
}

/* Add these new animations to your animation.css file */

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes buttonPulse {
    0% { box-shadow: 0 0 0 0 rgba(57, 190, 255, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(57, 190, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(57, 190, 255, 0); }
}

@keyframes loadingBar {
    0% { width: 0; }
    50% { width: 100%; }
    100% { width: 0; }
}

/* Button loading animation */
.btn-loading {
    position: relative;
    overflow: hidden;
}

.btn-loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: btnLoading 1.5s infinite;
}

@keyframes btnLoading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Apply this class to buttons on page load */
.join-discord, .copy-ip {
    animation: buttonPulse 2s infinite;
}