/* 桔子TV 全局样式表 - 尊贵黑金风格 */
:root {
  --primary-gold: #c5a059;
  --light-gold: #e5d0a0;
  --bg-dark: #0a0a0a;
  --bg-card: #141414;
  --text-main: #e0e0e0;
  --text-muted: #999999;
  --accent-gold: rgba(197, 160, 89, 0.2);
  --border-color: #2a2a2a;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

/* 导航栏 */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

.logo {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-gold);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.logo span {
  color: #fff;
}

nav ul {
  display: flex;
  gap: 30px;
}

nav ul li a:hover {
  color: var(--primary-gold);
}

.auth-btns {
  display: flex;
  gap: 15px;
}

.btn-gold {
  background: var(--primary-gold);
  color: #000;
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 600;
}

.btn-outline {
  border: 1px solid var(--primary-gold);
  color: var(--primary-gold);
  padding: 8px 20px;
  border-radius: 4px;
}

/* 通用布局 */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
}

section {
  padding: 60px 0;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  border-left: 4px solid var(--primary-gold);
  padding-left: 20px;
}

.section-title h2 {
  font-size: 32px;
  color: var(--light-gold);
}

.section-title .more {
  color: var(--text-muted);
  font-size: 14px;
}

/* 影片卡片 */
.movie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}

.movie-card {
  background: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s;
}

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

.movie-poster {
  width: 100%;
  aspect-ratio: 2/3;
  background-size: cover;
  background-position: center;
  position: relative;
}

.movie-score {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(197, 160, 89, 0.9);
  color: #000;
  padding: 2px 6px;
  font-size: 12px;
  font-weight: bold;
  border-radius: 2px;
}

.movie-info {
  padding: 12px;
}

.movie-title {
  font-size: 16px;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.movie-meta {
  font-size: 12px;
  color: var(--text-muted);
}

/* 浮漂下载按钮 */
.floating-download {
  position: fixed;
  right: 30px;
  bottom: 100px;
  background: var(--primary-gold);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.4);
  z-index: 999;
  cursor: pointer;
}

/* 页脚 */
footer {
  background: #050505;
  padding: 80px 5% 40px;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--primary-gold);
  margin-bottom: 20px;
}

.footer-col p, .footer-col a {
  color: var(--text-muted);
  font-size: 14px;
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 12px;
}

/* 筛选样式 */
.filter-box {
  background: var(--bg-card);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 40px;
}

.filter-row {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  align-items: center;
}

.filter-label {
  color: var(--primary-gold);
  width: 60px;
  flex-shrink: 0;
}

.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-tag {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 14px;
  background: #222;
}

.filter-tag.active {
  background: var(--primary-gold);
  color: #000;
}

/* 响应式 */
@media (max-width: 768px) {
  nav { display: none; }
  .header { padding: 15px 20px; }
  .section-title h2 { font-size: 24px; }
  .movie-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}

/* 动画 */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
