/* 奇优影视 - 纯静态CSS样式库 (淡黑金风格) */
:root {
  --gold-primary: #d4af37;
  --gold-light: #f5e09f;
  --gold-dark: #aa820a;
  --gold-glow: rgba(212, 175, 55, 0.25);
  --bg-dark: #0a0c10;
  --bg-card: #121622;
  --bg-card-hover: #171d2b;
  --border-color: #232b3d;
  --border-gold: rgba(212, 175, 55, 0.35);
  --text-main: #e6e8ec;
  --text-muted: #8c94a4;
  --text-dim: #717b91;
}

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

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

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #0d1017;
}
::-webkit-scrollbar-thumb {
  background: #232b3d;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}

/* Typography & Colors */
.cinzel {
  font-family: 'Cinzel', serif, sans-serif;
}

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

.gold-gradient-bg {
  background: linear-gradient(135deg, #f5e09f 0%, #d4af37 50%, #aa820a 100%);
  color: #0a0c10 !important;
  font-weight: 700;
}

.gold-gradient-bg:hover {
  filter: brightness(1.08);
}

.gold-border {
  border: 1px solid var(--border-gold);
}

.gold-border:hover {
  border-color: rgba(212, 175, 55, 0.7);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
}

/* Animations */
@keyframes floatAnimation {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.animate-float {
  animation: floatAnimation 3s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.05); }
}

.animate-glow {
  animation: pulseGlow 4s ease-in-out infinite;
}

/* Container */
.container-qiyou {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Cards & Modals */
.qiyou-card {
  background: linear-gradient(180deg, #131722 0%, #0d1017 100%);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.qiyou-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

/* Buttons */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #f5e09f 0%, #d4af37 50%, #aa820a 100%);
  color: #0a0c10;
  font-weight: 700;
  padding: 0.65rem 1.25rem;
  border-radius: 0.75rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
  transition: all 0.25s ease;
  text-decoration: none;
}

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

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(212, 175, 55, 0.08);
  color: #f5e09f;
  font-weight: 600;
  padding: 0.65rem 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(212, 175, 55, 0.4);
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

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

/* Modal Backdrop */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #0f131c;
  border: 1px solid var(--border-gold);
  border-radius: 1.25rem;
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.75);
  transform: scale(0.95);
  transition: all 0.25s ease;
}

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

/* Badge */
.qiyou-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(212, 175, 55, 0.15);
  color: #f5e09f;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

/* Floating Widget */
.floating-widget {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
}
