/* 
  Custom styles for 老牛影视 (Old Cow Movies)
  Theme: Pale Black & Gold (淡黑金)
*/

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

:root {
  --bg-dark: #0a0a0a;
  --bg-card: #151515;
  --gold-primary: #d4af37;
  --gold-light: #f9e1a0;
  --text-main: #e0e0e0;
  --text-dim: #999999;
  --accent: #1a1a1a;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--gold-primary);
  text-decoration: none;
  letter-spacing: 2px;
}

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

.nav-links a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  transition: var(--transition);
}

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

/* Hero Section */
.hero {
  height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://tse-mm.bing.com/th?q=cinema+luxury+background');
  background-size: cover;
  background-position: center;
  padding: 0 20px;
}

.hero h1 {
  font-size: clamp(40px, 8vw, 80px);
  color: var(--gold-primary);
  margin-bottom: 20px;
  letter-spacing: 5px;
  animation: fadeInDown 1s ease;
}

.hero p {
  font-size: 18px;
  max-width: 800px;
  margin-bottom: 30px;
  color: var(--text-dim);
}

/* Buttons */
.btn {
  padding: 12px 35px;
  border-radius: 2px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  display: inline-block;
}

.btn-primary {
  background-color: var(--gold-primary);
  color: #000;
}

.btn-primary:hover {
  background-color: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.btn-outline {
  border: 1px solid var(--gold-primary);
  color: var(--gold-primary);
}

.btn-outline:hover {
  background: var(--gold-primary);
  color: #000;
}

/* Movie Grids */
.section { padding: 80px 5%; }
.section-title {
  font-size: 28px;
  color: var(--gold-primary);
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 2px;
  background: var(--gold-primary);
  bottom: -10px;
  left: 0;
}

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

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

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

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

.movie-info {
  padding: 15px;
}

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

.movie-meta {
  font-size: 12px;
  color: var(--text-dim);
  display: flex;
  justify-content: space-between;
}

.rating { color: var(--gold-primary); }

/* News List */
.news-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.news-item {
  display: flex;
  justify-content: space-between;
  padding: 15px;
  background: var(--bg-card);
  border-left: 3px solid var(--gold-primary);
  transition: var(--transition);
}

.news-item:hover {
  background: var(--accent);
  padding-left: 20px;
}

/* About/Culture Section */
.info-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 100px;
}

.info-content h2 { color: var(--gold-primary); margin-bottom: 20px; }

/* Contact Form */
.contact-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
}

input, textarea, select {
  width: 100%;
  padding: 15px;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  margin-bottom: 20px;
  border-radius: 4px;
}

input:focus { border-color: var(--gold-primary); outline: none; }

/* Floating Download Button */
.floating-download {
  position: fixed;
  right: 30px;
  bottom: 100px;
  z-index: 999;
}

.float-btn {
  width: 60px;
  height: 60px;
  background: var(--gold-primary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #000;
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
  animation: bounce 2s infinite;
}

/* Animations */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
  40% {transform: translateY(-10px);}
  60% {transform: translateY(-5px);}
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .info-row { grid-template-columns: 1fr; }
  .contact-container { grid-template-columns: 1fr; }
  .hero h1 { font-size: 40px; }
}

/* Footer */
footer {
  padding: 50px 5%;
  background: #050505;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  text-align: center;
}

.footer-links { margin: 20px 0; display: flex; justify-content: center; gap: 20px; }
.footer-links a { color: var(--text-dim); text-decoration: none; font-size: 14px; }
.copyright { font-size: 12px; color: var(--text-dim); }

/* Transitions */
.fade-in { opacity: 0; transform: translateY(20px); transition: 0.6s all ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
