/* Custom styles for Premium File Sharing */

/* Glassmorphism effect */
.glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 50%, #f472b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Gradient border */
.gradient-border {
  position: relative;
  border-radius: 1rem;
}

.gradient-border::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: 1rem;
  background: linear-gradient(135deg, #00d4ff, #7c3aed, #f472b6);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Glow effect on hover */
.glow-hover {
  transition: all 0.3s ease;
}

.glow-hover:hover {
  box-shadow:
    0 0 30px rgba(0, 212, 255, 0.3),
    0 0 60px rgba(124, 58, 237, 0.2);
  transform: translateY(-2px);
}

/* Card hover animation */
.card-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
  transform: translateY(-8px) scale(1.02);
}

/* Download button glow */
.download-btn {
  background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.download-btn:hover {
  box-shadow:
    0 0 20px rgba(0, 212, 255, 0.5),
    0 0 40px rgba(124, 58, 237, 0.3);
  transform: scale(1.05);
}

.download-btn::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.5s;
}

.download-btn:hover::before {
  left: 100%;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1a1a2e;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #00d4ff, #7c3aed);
  border-radius: 4px;
}

/* Background pattern */
.bg-pattern {
  background-image:
    radial-gradient(
      circle at 25% 25%,
      rgba(0, 212, 255, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 75% 75%,
      rgba(124, 58, 237, 0.05) 0%,
      transparent 50%
    );
}

/* Pulse animation for featured badge */
@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 5px rgba(0, 212, 255, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
  }
}

.pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

/* Skeleton loading animation */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.skeleton {
  background: linear-gradient(90deg, #1a1a2e 0%, #2d2d44 50%, #1a1a2e 100%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
