/* 奇优影院 - 纯静态样式表 (Pure Static Stylesheet) */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;900&family=Noto+Sans+SC:wght@300;400;500;600;700;900&display=swap');

:root {
  --bg-main: #0a0a0f;
  --bg-card: #12131d;
  --bg-card-hover: #181926;
  --gold-primary: #ffd700;
  --gold-accent: #d4af37;
  --gold-light: #f5d77f;
  --gold-dark: #8c7322;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --border-color: rgba(212, 175, 55, 0.25);
  --border-glow: rgba(255, 215, 0, 0.45);
}

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

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

body {
  overflow-x: hidden;
  line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #0b0c12;
}
::-webkit-scrollbar-thumb {
  background: #2a2c3d;
  border-radius: 4px;
  border: 1px solid rgba(212, 175, 55, 0.2);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-accent);
}

/* Text selections */
::selection {
  background: var(--gold-accent);
  color: #000;
}

/* Brand Display Typography */
.font-cinzel {
  font-family: 'Cinzel', serif;
}

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

.silver-gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Dark Gold Card */
.dark-gold-card {
  background: linear-gradient(180deg, rgba(22, 24, 36, 0.85) 0%, rgba(13, 14, 22, 0.95) 100%);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark-gold-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(212, 175, 55, 0.15);
}

/* Gold Button Styles */
.btn-gold {
  background: linear-gradient(135deg, #ffd700 0%, #f3cb65 50%, #c99e28 100%);
  color: #0b0c10;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  padding: 10px 22px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
  filter: brightness(1.05);
}

.btn-gold:active {
  transform: translateY(0);
}

.btn-outline-gold {
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-light);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 9px 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.btn-outline-gold:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--gold-primary);
  color: #fff;
}

/* Pulse Gold Effect */
@keyframes pulseGold {
  0%, 100% {
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
  }
  50% {
    box-shadow: 0 0 28px rgba(255, 215, 0, 0.8);
  }
}

.animate-pulse-gold {
  animation: pulseGold 2.5s infinite;
}

/* Danmaku Float Animation */
@keyframes danmakuFly {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateX(-150%);
    opacity: 0;
  }
}

.danmaku-item {
  position: absolute;
  white-space: nowrap;
  animation: danmakuFly 10s linear infinite;
  text-shadow: 1px 1px 2px #000;
  pointer-events: none;
}

/* Custom modal backdrop */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: #11121c;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 18px;
  width: 100%;
  max-width: 960px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.9), 0 0 30px rgba(212, 175, 55, 0.15);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.modal-backdrop.active .modal-container {
  transform: scale(1);
}

/* Badge tags */
.badge-gold {
  background: linear-gradient(135deg, #ffd700, #c99e28);
  color: #000;
  font-weight: 700;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
}

.badge-outline {
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: rgba(212, 175, 55, 0.12);
  color: #f5d77f;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
}
