@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

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

@keyframes glow {
  0% { box-shadow: 0 0 5px rgba(88, 101, 242, 0.5); }
  50% { box-shadow: 0 0 20px rgba(88, 101, 242, 0.8); }
  100% { box-shadow: 0 0 5px rgba(88, 101, 242, 0.5); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rollIn {
  from {
    opacity: 0;
    transform: translateX(-100%) rotate(-120deg);
  }
  to {
    opacity: 1;
    transform: translateX(0) rotate(0);
  }
}

.discord-feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  height: 100%;
}

.discord-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
  pointer-events: none;
  z-index: 1;
}

.discord-feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.15);
}

.discord-feature-icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--discord-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.discord-feature-icon {
  font-size: 28px;
  color: white;
}

.discord-feature-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
  margin-bottom: 10px;
  text-align: center;
  z-index: 2;
}

.discord-feature-description {
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  font-size: 0.95rem;
  z-index: 2;
}

.discord-logo-animated {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto;
  animation: float 6s ease-in-out infinite;
  z-index: 2001;
}

.discord-logo-circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: pulse 3s ease-in-out infinite;
  z-index: -1;
}

.discord-logo-glow {
  position: absolute;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  border-radius: 50%;
  background: rgba(88, 101, 242, 0.2);
  filter: blur(8px);
  animation: pulse 2s ease-in-out infinite;
  z-index: -1;
}

.discord-logo-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 60px;
  color: white;
  z-index: 2;
}

@media (max-width: 991px) {
  .discord-features-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .discord-logo-animated {
    width: 100px;
    height: 100px;
  }
  
  .discord-logo-icon {
    font-size: 50px;
  }
}

@media (max-width: 767px) {
  .discord-features-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .discord-feature-card {
    padding: 15px;
  }
  
  .discord-feature-icon-wrapper {
    width: 60px;
    height: 60px;
  }
  
  .discord-feature-icon {
    font-size: 24px;
  }
}
