/* ==========================================================================
   8090影视 - 8090电影网 纯静态淡黑金核心视觉样式 (Pure CSS)
   ========================================================================== */

:root {
  --bg-primary: #07080a;
  --bg-surface: #0e1017;
  --bg-card: #141722;
  --bg-card-hover: #1b1f2e;
  --gold-primary: #eab308;
  --gold-light: #fde047;
  --gold-dark: #b45309;
  --gold-border: rgba(234, 179, 8, 0.22);
  --gold-border-hover: rgba(234, 179, 8, 0.5);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
}

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
}

/* 淡黑金文本渐变 */
.gold-gradient-text {
  background: linear-gradient(135deg, #fffbeb 0%, #fde047 30%, #eab308 70%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gold-gradient-subtle {
  background: linear-gradient(135deg, #fef08a 0%, #eab308 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 金色发光阴影特效 */
.gold-glow {
  box-shadow: 0 0 25px rgba(234, 179, 8, 0.18);
}

.gold-border-glow {
  box-shadow: 0 0 20px rgba(234, 179, 8, 0.12), inset 0 0 15px rgba(234, 179, 8, 0.05);
}

/* 呼吸动画 */
@keyframes breathingGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(234, 179, 8, 0.35);
  }
  50% {
    box-shadow: 0 0 35px rgba(234, 179, 8, 0.7);
  }
}

.animate-gold-breath {
  animation: breathingGlow 2.5s infinite ease-in-out;
}

/* 淡入动画 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* 自定义极简黑金滚动条 */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

::-webkit-scrollbar-track {
  background: #090a0d;
}

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

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

/* 卡片微悬停过渡 */
.movie-card {
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.28s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(234, 179, 8, 0.2);
  border-color: rgba(234, 179, 8, 0.55);
}
