/* 蜜瓜电影网 - 全局核心样式 */
:root {
  --gold: #D4AF37;
  --gold-light: #F9D423;
  --black: #0a0a0a;
  --dark-gray: #111111;
  --text-gray: #888888;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--black);
  color: #ffffff;
  line-height: 1.6;
}

/* 渐变文本 */
.text-gold-gradient {
  background: linear-gradient(to right, #D4AF37, #F9D423, #D4AF37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 按钮样式 */
.btn-gold {
  background-color: var(--gold);
  color: var(--black);
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-weight: 800;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-gold:hover {
  background-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -10px var(--gold);
}

/* 卡片悬停动效 */
.movie-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.movie-card:hover {
  transform: translateY(-10px);
}

/* 隐藏滚动条 */
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}
.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* 浮漂按钮 */
.float-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--black);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
  text-decoration: none;
  font-weight: 900;
  font-size: 0.7rem;
  transition: transform 0.3s;
}

.float-btn:hover {
  transform: scale(1.1) rotate(5deg);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fadeIn {
  animation: fadeIn 0.8s ease forwards;
}
