/* Additional styles for animations and effects */
.fan-effect {
  animation: fanSpin 1s ease-in-out;
}

@keyframes fanSpin {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.2);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

.ball-image {
  transition: all 0.5s ease;
}

.moon-message {
  font-size: 2rem;
  font-weight: bold;
  color: var(--accent-color);
  margin: 1rem 0;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Crypto price ticker styles */
.crypto-ticker {
  background: rgba(0, 0, 0, 0.2);
  padding: 0.5rem 0;
  overflow: hidden;
  position: relative;
}

.ticker-items {
  display: flex;
  animation: ticker 20s linear infinite;
  white-space: nowrap;
}

.ticker-item {
  display: flex;
  align-items: center;
  margin-right: 50px;
}

.ticker-item span {
  margin-left: 5px;
}

.price-up {
  color: #00ff00;
}

.price-down {
  color: #ff0000;
}

@keyframes ticker {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Mobile menu styles */
.mobile-menu {
  display: none;
}

.menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: var(--accent-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  
  .mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: var(--dark-bg);
    z-index: 999;
    padding: 80px 20px 20px;
    transition: right 0.3s ease;
  }
  
  .mobile-menu.active {
    right: 0;
  }
  
  .mobile-menu ul {
    list-style: none;
  }
  
  .mobile-menu li {
    margin-bottom: 20px;
  }
  
  .mobile-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.2rem;
  }
}
