/* 
  YY6080新视觉 - 品牌黑金风格样式表
  Color Palette:
  - Deep Black: #121212
  - Surface Black: #1e1e1e
  - Gold: #d4af37
  - Light Gold: #f1d592
  - White: #ffffff
  - Gray: #b3b3b3
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

:root {
  --primary-gold: #d4af37;
  --light-gold: #f1d592;
  --bg-deep: #121212;
  --bg-surface: #1e1e1e;
  --text-main: #f0f0f0;
  --text-muted: #b3b3b3;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Noto Sans SC', sans-serif;
  background-color: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(18, 18, 18, 0.95);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  backdrop-filter: blur(10px);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-gold);
  letter-spacing: 2px;
}

.logo span {
  color: var(--text-main);
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary-gold);
}

.search-bar {
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  padding: 5px 15px;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.search-bar input {
  background: transparent;
  border: none;
  color: white;
  padding: 5px;
  outline: none;
  width: 150px;
}

/* Hero Section */
.hero {
  height: 80vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
  margin-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(18,18,18,0.9), transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--primary-gold);
}

.btn-gold {
  display: inline-block;
  padding: 12px 35px;
  background: var(--primary-gold);
  color: var(--bg-deep);
  font-weight: 600;
  border-radius: 4px;
  margin-top: 20px;
}

.btn-gold:hover {
  background: var(--light-gold);
  transform: translateY(-2px);
}

/* Section Common */
section {
  padding: 80px 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: 28px;
  color: var(--primary-gold);
}

/* Grid Layouts */
.movie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 25px;
}

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

.movie-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.movie-img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
}

.movie-info {
  padding: 15px;
}

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

.movie-info p {
  font-size: 14px;
  color: var(--text-muted);
}

.rating {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(212, 175, 55, 0.9);
  color: #000;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 12px;
}

/* News List */
.news-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.news-item {
  display: flex;
  justify-content: space-between;
  padding: 15px;
  background: var(--bg-surface);
  border-radius: 4px;
  border-left: 2px solid transparent;
}

.news-item:hover {
  border-left-color: var(--primary-gold);
  background: #2a2a2a;
}

/* Float Buttons */
.float-download {
  position: fixed;
  right: 30px;
  bottom: 100px;
  z-index: 999;
  text-align: center;
}

.float-btn {
  width: 60px;
  height: 60px;
  background: var(--primary-gold);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #000;
  font-size: 10px;
  font-weight: bold;
  box-shadow: 0 5px 15px rgba(212,175,55,0.4);
  cursor: pointer;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Footer */
footer {
  background: #0a0a0a;
  padding: 60px 0 30px;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--text-muted);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .news-list { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 32px; }
}
