/* 
  老牛影院 - 品牌黑金主题样式 
  Palette: Black (#0a0a0a), Gold (#d4af37), Light Gold (#f1d279), Text (#e0e0e0)
*/

:root {
  --primary-bg: #0a0a0a;
  --secondary-bg: #141414;
  --accent-gold: #d4af37;
  --text-main: #e0e0e0;
  --text-muted: #888888;
  --gold-gradient: linear-gradient(135deg, #d4af37 0%, #f1d279 100%);
  --card-shadow: 0 10px 30px rgba(0,0,0,0.5);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  background-color: var(--primary-bg);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

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

li {
  list-style: none;
}

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

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--primary-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--accent-gold);
  border-radius: 4px;
}

/* Layout Containers */
.container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
}

/* Header & Navigation */
header {
  height: 80px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

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

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

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

.nav-active {
  color: var(--accent-gold);
  border-bottom: 2px solid var(--accent-gold);
}

/* Hero Section */
.hero {
  height: 80vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(to right, rgba(10,10,10,1) 30%, rgba(10,10,10,0.5)), url('https://tse-mm.bing.com/th?q=电影院大厅黑金风') center/cover;
}

.hero-content {
  max-width: 600px;
  animation: slideIn 1s ease-out;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Grid Sections */
.section-title {
  font-size: 2rem;
  margin: 60px 0 30px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.section-title::before {
  content: '';
  width: 5px;
  height: 30px;
  background: var(--accent-gold);
}

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

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

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

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

.movie-info {
  padding: 12px;
}

.movie-title {
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.movie-tag {
  font-size: 0.75rem;
  color: var(--accent-gold);
}

/* News List */
.news-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.news-list {
  background: var(--secondary-bg);
  padding: 20px;
  border-radius: 12px;
}

.news-item {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.news-item:last-child {
  border-bottom: none;
}

/* Stats */
.stats-bars {
  display: flex;
  gap: 50px;
  margin: 40px 0;
  background: var(--secondary-bg);
  padding: 30px;
  border-radius: 15px;
}

.stat-box h3 {
  font-size: 2.5rem;
  color: var(--accent-gold);
}

/* Footer */
footer {
  background: var(--secondary-bg);
  padding: 60px 0 30px;
  margin-top: 100px;
  border-top: 2px solid var(--accent-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

/* Floating Button */
.fab {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background: var(--accent-gold);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
  z-index: 1000;
  cursor: pointer;
  animation: pulse 2s infinite;
}

/* Animations */
@keyframes slideIn {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* Responsive */
@media (max-width: 1024px) {
  .news-container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
  nav ul { display: none; }
  .movie-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}
