/* =========================================================================
   奇优影视 - 奇优电影网 (淡黑金 Subtle Black Gold 主题样式表)
   纯 CSS3 样式库，无任何前端框架依赖
   ========================================================================= */

:root {
  --bg-primary: #08090c;
  --bg-secondary: #0e1017;
  --bg-card: #12141e;
  --bg-hover: #181b28;
  --gold-primary: #d4af37;
  --gold-light: #f5df9e;
  --gold-dark: #aa8222;
  --gold-gradient: linear-gradient(135deg, #fff3d1 0%, #e6c374 50%, #c19b38 100%);
  --gold-glow: 0 0 25px rgba(212, 175, 55, 0.2);
  --border-gold: rgba(212, 175, 55, 0.25);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Noto Sans SC', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  overflow-x: hidden;
  min-height: 100vh;
}

/* Custom Black Gold Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #07080a;
}
::-webkit-scrollbar-thumb {
  background: #25231c;
  border-radius: 4px;
  border: 1px solid rgba(212, 175, 55, 0.2);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}

/* Gold Gradient text helper */
.text-gold-gradient {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Ambient Gold Glow & Shadows */
.gold-glow {
  box-shadow: 0 0 30px -5px rgba(212, 175, 55, 0.22);
}

.gold-glow-hover:hover {
  box-shadow: 0 0 35px -2px rgba(230, 195, 116, 0.35);
}

.gold-border {
  border-color: var(--border-gold);
}

/* Radial subtle background glow */
.ambient-gold-radial {
  background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.08) 0%, rgba(8, 9, 12, 0) 70%);
}

/* Smooth transition utility */
.transition-all-300 {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Modal and Drawer backdrop blur animation */
.backdrop-blur-overlay {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Hide elements with display: none */
.hidden {
  display: none !important;
}

/* Custom range slider */
input[type="range"] {
  accent-color: #d4af37;
}
