@import "tailwindcss";

@theme {
  --color-gold: #d4af37;
  --color-gold-light: #eec07b;
  --color-gold-dark: #aa8a2e;
  --color-black-gold: #1a1a1a;
  --color-black-deep: #0a0a0a;
}

@layer base {
  body {
    @apply bg-black-deep text-gray-200 font-sans selection:bg-gold selection:text-black;
    scroll-behavior: smooth;
  }
}

@layer components {
  .btn-gold {
    @apply bg-gold text-black px-6 py-2 rounded-full font-bold transition-all hover:bg-gold-light hover:scale-105 active:scale-95 shadow-[0_0_15px_rgba(212,175,55,0.3)];
  }
  
  .glass-card {
    @apply bg-black-gold/60 backdrop-blur-md border border-white/10 rounded-xl overflow-hidden transition-all hover:border-gold/50;
  }

  .movie-card {
    @apply relative overflow-hidden rounded-lg aspect-[2/3] bg-gray-900;
  }

  .movie-card img {
    @apply w-full h-full object-cover transition-transform duration-500 group-hover:scale-110;
  }

  .movie-overlay {
    @apply absolute inset-0 bg-gradient-to-t from-black via-black/20 to-transparent opacity-0 group-hover:opacity-100 transition-opacity flex flex-col justify-end p-4;
  }

  .floating-btn {
    @apply fixed bottom-8 right-8 z-50 bg-gold text-black p-4 rounded-full shadow-2xl animate-bounce hover:animate-none hover:bg-gold-light transition-colors;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  @apply bg-black-deep;
}
::-webkit-scrollbar-thumb {
  @apply bg-gold/30 rounded-full hover:bg-gold/50;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
