.rdd-container {
  text-align: center;
  max-width: 750px;
  margin: 4rem auto;
  padding: 4rem 3rem;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.08) 0%, 
    rgba(255, 255, 255, 0.04) 50%, 
    rgba(255, 255, 255, 0.08) 100%);
  border-radius: 2.5rem;
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  transform: translateY(30px) scale(0.95);
  opacity: 0;
  animation: 
    containerReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards,
    float 8s ease-in-out infinite 1.2s;
  position: relative;
  overflow: hidden;
}

.rdd-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.03), 
    transparent);
  animation: shimmer 8s ease-in-out infinite 2s;
}

.rdd-container:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 
    0 35px 80px rgba(58, 122, 254, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
  animation-play-state: paused;
}

.rdd-icon {
  font-size: 5rem;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #3a7afe 0%, #00c6ff 50%, #8a2be2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 10px 20px rgba(58, 122, 254, 0.3));
  animation: 
    iconEntrance 1.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.3s,
    gentleFloat 6s ease-in-out infinite 1.8s,
    gradientShift 8s ease-in-out infinite;
  opacity: 0;
  transform: scale(0.5) rotate(-180deg);
  display: inline-block;
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.rdd-icon:hover {
  transform: scale(1.3) rotate(5deg);
  filter: drop-shadow(0 15px 30px rgba(58, 122, 254, 0.5));
}

.rdd-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(58, 122, 254, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.rdd-icon:hover::after {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.rdd-description {
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 3rem;
  line-height: 1.8;
  font-size: 1.25rem;
  font-weight: 300;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: 
    textReveal 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards 0.6s,
    textGlow 4s ease-in-out infinite 1.8s;
  opacity: 0;
  transform: translateY(20px);
  position: relative;
}

.rdd-description::before {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 25%;
  width: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(58, 122, 254, 0.5), transparent);
  animation: lineExpand 1.5s ease-out forwards 1s;
  transform: scaleX(0);
}

.rdd-button {
  display: inline-block;
  padding: 1.2rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, #3a7afe 0%, #00c6ff 100%);
  border: none;
  border-radius: 1.2rem;
  cursor: pointer;
  box-shadow: 
    0 12px 30px rgba(58, 122, 254, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  animation: 
    buttonReveal 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.9s,
    buttonPulse 3s ease-in-out infinite 2s;
  opacity: 0;
  transform: translateY(30px) scale(0.8);
}

.rdd-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.2), 
    transparent);
  transition: left 0.6s ease;
}

.rdd-button:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 
    0 20px 40px rgba(58, 122, 254, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #4a8aff 0%, #00d4ff 100%);
}

.rdd-button:hover::before {
  left: 100%;
}

.rdd-button:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 
    0 8px 20px rgba(58, 122, 254, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.1s ease;
}

@keyframes containerReveal {
  0% {
    transform: translateY(30px) scale(0.95);
    opacity: 0;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

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

@keyframes shimmer {
  0%, 100% {
    left: -100%;
  }
  50% {
    left: 100%;
  }
}

@keyframes iconEntrance {
  0% {
    opacity: 0;
    transform: scale(0.5) rotate(-180deg);
  }
  70% {
    transform: scale(1.1) rotate(10deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes gentleFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  33% {
    transform: translateY(-5px) rotate(1deg);
  }
  66% {
    transform: translateY(3px) rotate(-1deg);
  }
}

@keyframes gradientShift {
  0%, 100% {
    filter: hue-rotate(0deg) drop-shadow(0 10px 20px rgba(58, 122, 254, 0.3));
  }
  50% {
    filter: hue-rotate(20deg) drop-shadow(0 15px 25px rgba(58, 122, 254, 0.4));
  }
}

@keyframes textReveal {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes textGlow {
  0%, 100% {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  }
  50% {
    text-shadow: 0 2px 8px rgba(58, 122, 254, 0.4);
  }
}

@keyframes lineExpand {
  0% {
    transform: scaleX(0);
  }
  100% {
    transform: scaleX(1);
  }
}

@keyframes buttonReveal {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.8);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes buttonPulse {
  0%, 100% {
    box-shadow: 
      0 12px 30px rgba(58, 122, 254, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow: 
      0 12px 40px rgba(58, 122, 254, 0.6),
      inset 0 1px 0 rgba(255, 255, 255, 0.3);
  }
}

.rdd-button:focus {
  outline: none;
  box-shadow: 
    0 0 0 3px rgba(58, 122, 254, 0.5),
    0 12px 30px rgba(58, 122, 254, 0.4);
}

@media (max-width: 768px) {
  .rdd-container {
    margin: 2rem auto;
    padding: 2.5rem 1.5rem;
    border-radius: 2rem;
  }
  
  .rdd-icon {
    font-size: 4rem;
  }
  
  .rdd-description {
    font-size: 1.1rem;
  }
  
  .rdd-button {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
}