@import "tailwindcss";

@theme {
  --color-gold-50: #fdfaf3;
  --color-gold-100: #f7eed7;
  --color-gold-200: #ead8aa;
  --color-gold-300: #dbc073;
  --color-gold-400: #c5a059;
  --color-gold-500: #b18a44;
  --color-black-900: #0a0a0a;
  --color-black-800: #121212;
  --color-black-700: #1a1a1a;
}

:root {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-black-900);
  color: #e5e5e5;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.gold-gradient {
  background: linear-gradient(135deg, #c5a059 0%, #f5e0a3 50%, #b18a44 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gold-bg {
  background: linear-gradient(135deg, #c5a059 0%, #f5e0a3 50%, #b18a44 100%);
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(197, 160, 89, 0.1);
}

.nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #c5a059;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.movie-poster {
  aspect-ratio: 2/3;
  overflow: hidden;
  position: relative;
}

.movie-poster img {
  transition: transform 0.5s ease;
}

.movie-poster:hover img {
  transform: scale(1.1);
}

.movie-overlay {
  background: linear-gradient(to top, rgba(10, 10, 10, 0.9) 0%, transparent 100%);
}

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

.floating-btn {
  animation: float 3s ease-in-out infinite;
}

/* 隐藏滚动条但保留滚动功能 */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0a0a0a;
}
::-webkit-scrollbar-thumb {
  background: #c5a059;
  border-radius: 4px;
}
