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

:root {
  --bg-color: #0A0A0A;
  --card-bg: #1A1A1A;
  --gold: #D4AF37;
  --gold-hover: #F1C40F;
  --text-primary: #E0E0E0;
  --text-secondary: #AAAAAA;
  --accent: #D4AF37;
  --border: rgba(212, 175, 55, 0.2);
  --glass: rgba(255, 255, 255, 0.05);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, .brand {
  font-family: 'Playfair Display', serif;
}

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

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
  transition: background 0.3s ease;
}

header.scrolled {
  background: var(--bg-color);
  padding: 1rem 5%;
  border-bottom: 1px solid var(--border);
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
}

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

nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

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

.nav-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn-download {
  background: var(--gold);
  color: #000;
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  font-weight: 500;
}

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

/* Sections Common */
section {
  padding: 5rem 5%;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--gold);
  margin: 10px auto;
}

/* 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.6), rgba(0,0,0,0.6)), url('https://tse-mm.bing.com/th?q=电影院大片') no-repeat center center/cover;
  padding-top: 100px;
}

.hero h1 {
  font-size: 4rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

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

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

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

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

.movie-info {
  padding: 1rem;
}

.movie-info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.movie-info p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.rating {
  color: var(--gold);
  font-weight: bold;
}

/* Floating Button */
.floating-download {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow);
  z-index: 999;
  animation: bounce 2s infinite;
}

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

/* Footer */
footer {
  background: #050505;
  padding: 5rem 5% 2rem;
  border-top: 1px solid var(--border);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-section h4 {
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

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

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Specific Page Styling */
.filter-bar {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

select, input {
  background: #2A2A2A;
  border: 1px solid var(--border);
  color: #fff;
  padding: 0.5rem;
  border-radius: 4px;
  outline: none;
}

/* Contact Form */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field input, .form-field textarea {
  width: 100%;
}

.btn-submit {
  background: var(--gold);
  color: #000;
  border: none;
  padding: 1rem;
  font-weight: bold;
  cursor: pointer;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  header nav {
    display: none;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-container {
    grid-template-columns: 1fr;
  }
}
