:root {
  --bg-color: #0a0a0c;
  --bg-gradient: linear-gradient(135deg, #0a0a0c 0%, #121119 50%, #1a0f14 100%);
  --text-main: #f0f0f0;
  --text-muted: #a0a0a8;
  --accent-gold: #d4af37;
  --accent-blue: #8ba7c7;
  --accent-pink: #ff6b9d;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --font-serif: "Songti SC", "SimSun", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-gradient);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(images/0105.webp)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 9999;
}

::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--accent-gold), var(--accent-pink));
  border-radius: 3px;
}

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-pink));
  width: 0%;
  z-index: 10000;
}

nav {
  position: fixed;
  top: 0; left: 0; width: 100%;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: all 0.3s ease;
}

nav.scrolled {
  background: rgba(10, 10, 12, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  padding: 15px 5%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: 2px;
}

.nav-brand img {
  height: 32px;
  border-radius: 4px;
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

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

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: -1;
}

.hero-bg img {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2s ease-in-out;
  filter: brightness(0.4) contrast(1.1);
}

.hero-bg img.active {
  opacity: 1;
}

.hero-content {
  z-index: 1;
  padding: 0 20px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: 4rem;
  margin-bottom: 20px;
  background: linear-gradient(to right, #fff, var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: riseUp 1s ease-out forwards;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  letter-spacing: 1px;
  animation: riseUp 1s ease-out 0.3s forwards;
  opacity: 0;
}

.hero-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
  animation: riseUp 1s ease-out 0.6s forwards;
  opacity: 0;
}

.btn {
  padding: 12px 32px;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent-gold);
  color: #111;
  font-weight: bold;
  border: 1px solid var(--accent-gold);
}

.btn-primary:hover {
  background: #fff;
  border-color: #fff;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--text-muted);
}

.btn-secondary:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.now-showing {
  position: absolute;
  right: 5%;
  bottom: 20%;
  writing-mode: vertical-rl;
  letter-spacing: 5px;
  font-size: 0.8rem;
  color: var(--accent-gold);
  opacity: 0.6;
  animation: pulse 3s infinite;
}

@keyframes riseUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

section {
  padding: 100px 5%;
  position: relative;
}

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

.section-header {
  display: flex;
  align-items: baseline;
  margin-bottom: 60px;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 20px;
}

.section-num {
  font-family: var(--font-serif);
  color: var(--accent-gold);
  font-size: 1.2rem;
  margin-right: 20px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: normal;
}

.statement {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.statement-text {
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1.6;
}

.statement-text span {
  color: var(--text-muted);
  transition: color 0.5s;
}

.statement-text span.lit {
  color: var(--accent-gold);
}

.statement-img {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.statement-img img {
  width: 100%;
  display: block;
  transition: transform 0.5s;
}

.statement-img:hover img {
  transform: scale(1.05);
}

.yearbook {
  position: relative;
}

.yearbook-list {
  list-style: none;
}

.yearbook-item {
  display: flex;
  justify-content: space-between;
  padding: 25px 0;
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s;
  cursor: pointer;
  position: relative;
}

.yearbook-item:hover {
  padding-left: 20px;
  background: linear-gradient(90deg, rgba(212,175,55,0.1) 0%, transparent 100%);
}

.yearbook-item h3 {
  font-size: 1.2rem;
  font-weight: normal;
}

.yearbook-item .year {
  font-family: var(--font-serif);
  color: var(--accent-gold);
}

.hover-preview {
  position: fixed;
  width: 200px;
  height: 300px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 100;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.8);
  transform: translate(-50%, -50%);
}

.hover-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yearbook-item:hover + .hover-preview,
.yearbook-item:hover ~ .hover-preview {
  opacity: 1;
}

.featured-grid {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.featured-item {
  display: flex;
  gap: 60px;
  align-items: center;
}

.featured-item:nth-child(even) {
  flex-direction: row-reverse;
}

.featured-poster {
  flex: 0 0 350px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 15px 40px rgba(0,0,0,0.6);
  transition: all 0.5s;
}

.featured-poster::after {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: skewX(-20deg);
  transition: 0.5s;
}

.featured-poster:hover::after {
  left: 200%;
}

.featured-poster:hover {
  transform: rotateY(5deg) rotateX(2deg);
}

.featured-poster img {
  width: 100%;
  display: block;
}

.featured-info {
  flex: 1;
}

.featured-info h3 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--accent-gold);
}

.tags {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.tag {
  padding: 4px 12px;
  border: 1px solid var(--accent-blue);
  color: var(--accent-blue);
  border-radius: 20px;
  font-size: 0.8rem;
}

.featured-info p {
  color: var(--text-muted);
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.crew {
  font-size: 0.9rem;
  color: #888;
}

.matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.matrix-item {
  position: relative;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s;
}

.matrix-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s;
  filter: brightness(0.6);
}

.matrix-item:hover {
  transform: scale(1.05);
  z-index: 2;
}

.matrix-item:hover img {
  filter: brightness(1);
}

.matrix:hover .matrix-item:not(:hover) {
  opacity: 0.4;
}

.matrix-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.marquee-section {
  overflow: hidden;
  padding: 40px 0;
  background: rgba(0,0,0,0.3);
}

.marquee {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: scrollLeft 30s linear infinite;
}

.marquee:hover {
  animation-play-state: paused;
}

@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.crew-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  width: 250px;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
}

.crew-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-gold);
  box-shadow: 0 10px 20px rgba(212,175,55,0.1);
}

.crew-card img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.crew-info h4 {
  font-size: 1rem;
  margin-bottom: 5px;
}

.crew-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.faq {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border-bottom: 1px solid var(--glass-border);
  overflow: hidden;
}

.faq-q {
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
}

.faq-q::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--accent-gold);
  transition: transform 0.3s;
}

.faq-item.active .faq-q::after {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  color: var(--text-muted);
}

.faq-item.active .faq-a {
  max-height: 200px;
  padding-bottom: 20px;
}

.faq-img {
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
}

.faq-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

footer {
  background: #050506;
  padding: 80px 5% 30px;
  border-top: 1px solid var(--glass-border);
}

.footer-cta {
  text-align: center;
  margin-bottom: 80px;
}

.footer-cta h2 {
  font-family: var(--font-serif);
  font-size: 3rem;
  margin-bottom: 30px;
  background: linear-gradient(to right, var(--accent-gold), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 60px;
}

.footer-col h4 {
  font-family: var(--font-serif);
  color: var(--accent-gold);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 10px;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--glass-border);
  color: #666;
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-bottom a {
  color: #888;
  text-decoration: none;
}

.marquee-footer {
  overflow: hidden;
  white-space: nowrap;
  padding: 20px 0;
  opacity: 0.3;
  margin-bottom: 20px;
}

.marquee-footer div {
  display: inline-block;
  animation: scrollLeft 20s linear infinite;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  letter-spacing: 5px;
}

@media (max-width: 1024px) {
  .hero h1 { font-size: 3rem; }
  .statement { grid-template-columns: 1fr; }
  .featured-item { flex-direction: column; gap: 30px; }
  .featured-item:nth-child(even) { flex-direction: column; }
  .featured-poster { flex: none; width: 100%; max-width: 400px; }
  .matrix { grid-template-columns: repeat(2, 1fr); }
  .faq { grid-template-columns: 1fr; }
  .faq-img { display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }
  .section-title { font-size: 1.8rem; }
  .statement-text { font-size: 1.4rem; }
  .matrix { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-cta h2 { font-size: 2rem; }
  .hover-preview { display: none; }
}