/* ==========================================================================
   八戒影视-八戒电影网 - 纯静态样式表 (css/style.css)
   风格：淡黑金奢华视听科技品牌风
   ========================================================================== */

:root {
  --bg-main: #0b0d11;
  --bg-card: #12141c;
  --bg-card-hover: #181b26;
  --gold-primary: #d4af37;
  --gold-light: #f5df97;
  --gold-dark: #8c6b12;
  --border-gold: rgba(212, 175, 55, 0.25);
  --border-subtle: #1e222d;
  --text-main: #eae7dc;
  --text-muted: #9ca3af;
}

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #0f1117;
}
::-webkit-scrollbar-thumb {
  background: #252219;
  border-radius: 4px;
  border: 1px solid var(--border-gold);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}

/* Text Gradients */
.gold-gradient-text {
  background: linear-gradient(135deg, #fff3cf 0%, #d4af37 50%, #9e7512 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* Gold Button */
.gold-btn {
  background: linear-gradient(135deg, #dfba56 0%, #c4962c 100%);
  color: #0b0d11;
  font-weight: 700;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.gold-btn:hover {
  background: linear-gradient(135deg, #ebd17a 0%, #d9a838 100%);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
}

/* Gold Border Glow Card */
.gold-card {
  background: linear-gradient(180deg, #161822 0%, #0f1118 100%);
  border: 1px solid var(--border-gold);
  transition: all 0.3s ease;
}
.gold-card:hover {
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(212, 175, 55, 0.15);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
  animation: fadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Modal utility */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay.active {
  display: flex;
}

/* No scrollbar utility */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
