/* 
  YY6080新视觉 - 品牌展示型企业站 
  风格：淡黑金 (Soft Blackgold)
*/

:root {
  --primary-gold: #D4AF37;
  --secondary-gold: #FFD700;
  --soft-gold: #C5A028;
  --bg-dark: #0A0A0A;
  --bg-card: #161616;
  --text-main: #E0E0E0;
  --text-muted: #A0A0A0;
  --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #FFD700 50%, #C5A028 100%);
  --black-gradient: linear-gradient(180deg, #1A1A1A 0%, #0A0A0A 100%);
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  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;
  transition: transform 0.5s ease;
}

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

/* Global Layout */
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gold-gradient);
}

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

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 2px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-links a:hover, .nav-links a.active {
  color: var(--primary-gold);
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Button */
.btn-gold {
  background: var(--gold-gradient);
  color: #000;
  padding: 10px 25px;
  border-radius: 5px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: inline-block;
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

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

.movie-card {
  background: var(--bg-card);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(212, 175, 55, 0.05);
}

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

.movie-img {
  position: relative;
  aspect-ratio: 2/3;
  overflow: hidden;
}

.movie-card:hover .movie-img img {
  transform: scale(1.1);
}

.movie-rating {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: var(--primary-gold);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: bold;
}

.movie-info {
  padding: 15px;
}

.movie-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

/* Floating App Button */
.floating-app {
  position: fixed;
  right: 30px;
  bottom: 80px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: var(--gold-gradient);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

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

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

.footer-logo {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 20px;
  display: block;
}

.footer-title {
  color: var(--primary-gold);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a:hover {
  color: var(--primary-gold);
  padding-left: 5px;
}

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

/* Responsive */
@media (max-width: 992px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-title { font-size: 2rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-logo { text-align: center; }
  .container { padding: 0 15px; }
}
