/* Custom Black-Gold Theme Styles for 8090电影网 */

@import "tailwindcss";

@layer utilities {
  .gold-gradient-text {
    background: linear-gradient(135deg, #FFE082 0%, #D4AF37 50%, #FFB300 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .gold-gradient-bg {
    background: linear-gradient(135deg, #FFE082 0%, #D4AF37 50%, #FFB300 100%);
  }

  .gold-border-glow {
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
  }

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

  .gold-card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(212, 175, 55, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
  }
}

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

::-webkit-scrollbar-track {
  background: #0b0b0e;
}

::-webkit-scrollbar-thumb {
  background: #2a2a38;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #d4af37;
}

/* Line clamp support */
.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Modal Animations */
@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.animate-modal-in {
  animation: modalIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Custom Pulsing Badge */
.live-badge {
  position: relative;
}

.live-badge::before {
  content: '';
  position: absolute;
  top: -2px;
  right: -2px;
  bottom: -2px;
  left: -2px;
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  border-radius: inherit;
  z-index: -1;
  opacity: 0.6;
  filter: blur(4px);
  animation: pulseGlow 2s infinite alternate;
}

@keyframes pulseGlow {
  0% { opacity: 0.3; }
  100% { opacity: 0.8; }
}
