/* ============================================
   电影天堂网 - Golden Palace Cinema Theme
   Old movie palace / golden age of cinema
   ============================================ */

:root {
  --gold: #b8860b;
  --gold-light: #cd853f;
  --gold-dark: #8b6914;
  --gold-pale: #fff8dc;
  --gold-shimmer: #f5deb3;
  --coffee: #2b1810;
  --coffee-light: #4a2c1a;
  --coffee-deep: #1a0e08;
  --parchment: #f4ecd8;
  --parchment-dark: #e8dcc0;
  --parchment-light: #faf5e8;
  --peru: #cd853f;
  --burgundy: #6b2c1a;
  --burgundy-deep: #4a1d10;
  --text-dark: #2b1810;
  --text-mid: #5c3d20;
  --text-light: #8b6914;
  --shadow-warm: 0 4px 24px rgba(43, 24, 16, 0.35);
  --shadow-gold: 0 0 30px rgba(184, 134, 11, 0.4);
  --shadow-deep: 0 8px 32px rgba(26, 14, 8, 0.6);
  --frame-border: 3px double var(--gold);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Georgia, "STZhongsong", "Songti SC", "SimSun", serif;
  background:
    radial-gradient(ellipse at top, #faf5e8 0%, #f4ecd8 40%, #e8dcc0 100%);
  color: var(--text-dark);
  line-height: 1.7;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Subtle parchment texture via repeating gradient */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent 0, transparent 2px, rgba(184, 134, 11, 0.015) 2px, rgba(184, 134, 11, 0.015) 4px),
    repeating-linear-gradient(-45deg, transparent 0, transparent 2px, rgba(139, 105, 20, 0.012) 2px, rgba(139, 105, 20, 0.012) 4px);
  pointer-events: none;
  z-index: 0;
}

a {
  color: var(--gold-dark);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--burgundy);
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* ============================================
   MARQUEE HEADER - Palace Theater Marquee
   ============================================ */
.palace-marquee {
  position: relative;
  background:
    linear-gradient(180deg, #1a0e08 0%, #2b1810 50%, #4a2c1a 100%);
  border-bottom: 4px double var(--gold);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-deep);
}

/* Curtain top - red velvet swag */
.curtain-top {
  height: 28px;
  background:
    linear-gradient(180deg, #6b2c1a 0%, #4a1d10 60%, #2b1810 100%);
  position: relative;
  border-bottom: 2px solid var(--gold);
}

.curtain-top::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg,
      transparent 0,
      transparent 18px,
      rgba(0,0,0,0.25) 18px,
      rgba(0,0,0,0.25) 22px,
      transparent 22px,
      transparent 40px,
      rgba(255,200,150,0.08) 40px,
      rgba(255,200,150,0.08) 44px);
}

/* Art deco scalloped trim under curtain */
.curtain-top::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  height: 12px;
  background:
    radial-gradient(circle at 10px 0, var(--gold) 0, var(--gold) 8px, transparent 9px) repeat-x;
  background-size: 24px 12px;
  opacity: 0.85;
}

.marquee-inner {
  position: relative;
  text-align: center;
  padding: 32px 24px 28px;
}

/* Marquee bulbs - warm amber lights */
.marquee-bulbs {
  position: absolute;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
  padding: 0 40px;
  pointer-events: none;
}

.marquee-bulbs.top {
  top: 8px;
}

.marquee-bulbs.bottom {
  bottom: 8px;
}

.bulb {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff8dc 0%, #ffd700 40%, #b8860b 100%);
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.8), 0 0 16px rgba(255, 215, 0, 0.4);
  animation: bulbFlicker 2s ease-in-out infinite alternate;
}

.bulb:nth-child(odd) {
  animation-delay: 0.5s;
}

.bulb:nth-child(3n) {
  animation-delay: 1s;
}

@keyframes bulbFlicker {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(255, 215, 0, 0.8), 0 0 16px rgba(255, 215, 0, 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 6px rgba(255, 215, 0, 0.6), 0 0 12px rgba(255, 215, 0, 0.3); }
}

/* Palace logo - ornate */
.palace-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 3;
}

.logo-flourish {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 8px;
  margin-bottom: 6px;
}

.flourish-line {
  flex: 0 0 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  position: relative;
}

.flourish-line::before,
.flourish-line::after {
  content: "◆";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 0.6rem;
}

.flourish-line::before { left: 50%; transform: translate(-50%, -50%); }

.palace-title {
  font-family: Georgia, "STZhongsong", serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: bold;
  letter-spacing: 6px;
  color: var(--gold-pale);
  text-shadow:
    0 0 1px var(--gold),
    2px 2px 0 var(--burgundy-deep),
    0 0 30px rgba(255, 215, 0, 0.5),
    0 0 60px rgba(184, 134, 11, 0.3);
  background: linear-gradient(180deg, #fff8dc 0%, #f5deb3 40%, #cd853f 80%, #8b6914 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 4px 32px;
  position: relative;
}

.palace-subtitle {
  margin-top: 8px;
  font-size: 0.85rem;
  letter-spacing: 4px;
  color: var(--gold-shimmer);
  font-style: italic;
  text-transform: uppercase;
}

/* Ornamental divider with art deco */
.deco-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 28px auto;
  color: var(--gold);
  font-size: 1.2rem;
}

.deco-divider::before,
.deco-divider::after {
  content: "";
  flex: 0 1 140px;
  height: 2px;
  background:
    linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
  position: relative;
}

.deco-divider .deco-diamond {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: var(--gold);
  transform: rotate(45deg);
  position: relative;
  box-shadow: 0 0 0 2px var(--parchment), 0 0 0 3px var(--gold-dark);
}

/* ============================================
   NAVIGATION BAR
   ============================================ */
.palace-nav {
  background:
    linear-gradient(180deg, #2b1810 0%, #1a0e08 100%);
  border-top: 1px solid var(--gold-dark);
  border-bottom: 3px double var(--gold);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(26, 14, 8, 0.5);
}

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand {
  color: var(--gold);
  font-size: 1.15rem;
  font-weight: bold;
  letter-spacing: 3px;
  padding: 14px 0;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-brand .nav-brand-mark {
  color: var(--burgundy);
  font-size: 0.9rem;
}

.nav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
}

.nav-list a {
  display: block;
  color: var(--gold-shimmer);
  padding: 14px 18px;
  font-size: 0.98rem;
  letter-spacing: 2px;
  position: relative;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
}

.nav-list a::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease, left 0.3s ease;
}

.nav-list a:hover {
  color: var(--gold-pale);
  background: rgba(184, 134, 11, 0.12);
}

.nav-list a:hover::before {
  width: 60%;
  left: 20%;
}

.nav-list a.active {
  color: var(--gold-pale);
  background: rgba(184, 134, 11, 0.18);
  border-bottom-color: var(--gold);
}

.nav-list a.active::before {
  width: 60%;
  left: 20%;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--gold);
  color: var(--gold);
  padding: 6px 12px;
  cursor: pointer;
  font-size: 1.1rem;
  border-radius: 2px;
}

/* ============================================
   ORNATE GOLD FRAME - Picture frame style
   ============================================ */
.gold-frame {
  position: relative;
  background:
    linear-gradient(135deg, #faf5e8 0%, #f4ecd8 50%, #e8dcc0 100%);
  border: 3px double var(--gold);
  padding: 24px;
  box-shadow:
    inset 0 0 0 1px var(--parchment),
    inset 0 0 0 4px var(--gold-dark),
    inset 0 0 0 5px var(--parchment),
    var(--shadow-warm);
}

/* Corner ornaments */
.gold-frame::before,
.gold-frame::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  border: 2px solid var(--gold);
  pointer-events: none;
}

.gold-frame::before {
  top: 6px;
  left: 6px;
  border-right: none;
  border-bottom: none;
}

.gold-frame::after {
  bottom: 6px;
  right: 6px;
  border-left: none;
  border-top: none;
}

/* Art deco corner pieces */
.deco-corner {
  position: absolute;
  width: 32px;
  height: 32px;
  pointer-events: none;
  z-index: 1;
}

.deco-corner svg {
  width: 100%;
  height: 100%;
  display: block;
}

.deco-corner.tl { top: -2px; left: -2px; }
.deco-corner.tr { top: -2px; right: -2px; transform: scaleX(-1); }
.deco-corner.bl { bottom: -2px; left: -2px; transform: scaleY(-1); }
.deco-corner.br { bottom: -2px; right: -2px; transform: scale(-1, -1); }

/* ============================================
   SECTION HEADINGS
   ============================================ */
.section {
  padding: 56px 0;
  position: relative;
}

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

.section-title {
  font-family: Georgia, "STZhongsong", serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--coffee);
  letter-spacing: 6px;
  margin-bottom: 8px;
  position: relative;
  display: inline-block;
}

.section-title::before,
.section-title::after {
  content: "❖";
  color: var(--gold);
  font-size: 0.7em;
  margin: 0 18px;
  vertical-align: middle;
  opacity: 0.7;
}

.section-subtitle {
  color: var(--text-mid);
  font-style: italic;
  letter-spacing: 2px;
  font-size: 0.95rem;
}

/* Art deco band under titles */
.deco-band {
  height: 6px;
  margin: 16px auto 0;
  width: 200px;
  background:
    linear-gradient(90deg,
      transparent 0%,
      var(--gold) 15%,
      var(--gold-dark) 50%,
      var(--gold) 85%,
      transparent 100%);
  position: relative;
}

.deco-band::before,
.deco-band::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: translateY(-50%) rotate(45deg);
}

.deco-band::before { left: 50%; margin-left: -4px; background: var(--burgundy); }

/* ============================================
   MOVIE GRID & CARDS
   ============================================ */
.movie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 28px;
}

.movie-card {
  position: relative;
  background: var(--parchment-light);
  border: 3px double var(--gold);
  padding: 10px;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow:
    inset 0 0 0 1px var(--parchment),
    inset 0 0 0 3px var(--gold-dark),
    0 4px 14px rgba(43, 24, 16, 0.25);
}

.movie-card::before,
.movie-card::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid var(--gold);
  pointer-events: none;
  transition: all 0.3s ease;
}

.movie-card::before {
  top: 3px;
  left: 3px;
  border-right: none;
  border-bottom: none;
}

.movie-card::after {
  bottom: 3px;
  right: 3px;
  border-left: none;
  border-top: none;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow:
    inset 0 0 0 1px var(--parchment),
    inset 0 0 0 3px var(--gold),
    0 12px 30px rgba(43, 24, 16, 0.4),
    0 0 24px rgba(184, 134, 11, 0.4);
}

.movie-card:hover::before,
.movie-card:hover::after {
  border-color: var(--burgundy);
  width: 24px;
  height: 24px;
}

/* Poster area - CSS art deco poster */
.poster {
  position: relative;
  aspect-ratio: 2 / 3;
  background: linear-gradient(135deg, var(--coffee-light), var(--coffee));
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid var(--gold-dark);
}

.poster-art {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 16px;
  color: var(--gold-pale);
}

/* Various poster gradient backgrounds */
.poster.p1 { background: linear-gradient(135deg, #4a2c1a 0%, #6b2c1a 50%, #2b1810 100%); }
.poster.p2 { background: linear-gradient(160deg, #1a3a4a 0%, #2b1810 60%, #4a2c1a 100%); }
.poster.p3 { background: linear-gradient(135deg, #5c3d20 0%, #2b1810 50%, #1a0e08 100%); }
.poster.p4 { background: linear-gradient(160deg, #6b3a1a 0%, #4a2c1a 40%, #2b1810 100%); }
.poster.p5 { background: linear-gradient(135deg, #2b4a3a 0%, #1a3a2a 50%, #2b1810 100%); }
.poster.p6 { background: linear-gradient(160deg, #4a1a2a 0%, #2b1810 60%, #1a0e08 100%); }
.poster.p7 { background: linear-gradient(135deg, #3a3a1a 0%, #5c4a20 50%, #2b1810 100%); }
.poster.p8 { background: linear-gradient(160deg, #2a1a4a 0%, #2b1810 60%, #4a2c1a 100%); }

/* Art deco pattern overlay on posters */
.poster::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent 0, transparent 14px, rgba(184, 134, 11, 0.08) 14px, rgba(184, 134, 11, 0.08) 16px),
    repeating-linear-gradient(-45deg, transparent 0, transparent 14px, rgba(205, 133, 63, 0.06) 14px, rgba(205, 133, 63, 0.06) 16px);
  pointer-events: none;
}

/* Sunburst art deco on poster */
.poster::after {
  content: "";
  position: absolute;
  top: -40%;
  left: 50%;
  width: 200%;
  height: 80%;
  transform: translateX(-50%);
  background:
    conic-gradient(from 0deg at 50% 100%,
      transparent 0deg,
      rgba(184, 134, 11, 0.12) 10deg,
      transparent 20deg,
      rgba(205, 133, 63, 0.1) 30deg,
      transparent 40deg,
      rgba(184, 134, 11, 0.12) 50deg,
      transparent 60deg,
      rgba(205, 133, 63, 0.1) 70deg,
      transparent 80deg,
      rgba(184, 134, 11, 0.12) 90deg,
      transparent 100deg,
      rgba(205, 133, 63, 0.1) 110deg,
      transparent 120deg,
      rgba(184, 134, 11, 0.12) 130deg,
      transparent 140deg,
      rgba(205, 133, 63, 0.1) 150deg,
      transparent 160deg,
      rgba(184, 134, 11, 0.12) 170deg,
      transparent 180deg);
  pointer-events: none;
  opacity: 0.7;
}

.poster-title {
  font-family: Georgia, "STZhongsong", serif;
  font-size: 1.3rem;
  font-weight: bold;
  letter-spacing: 2px;
  color: var(--gold-pale);
  text-shadow: 0 2px 4px rgba(0,0,0,0.6), 0 0 12px rgba(184, 134, 11, 0.5);
  position: relative;
  z-index: 2;
  margin-bottom: 8px;
}

.poster-en {
  font-size: 0.7rem;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  font-style: italic;
  position: relative;
  z-index: 2;
}

.poster-ornament {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 4px;
  z-index: 2;
  opacity: 0.7;
}

.poster-ornament.bottom {
  top: auto;
  bottom: 8px;
}

.poster-rating {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, var(--burgundy), var(--burgundy-deep));
  color: var(--gold-pale);
  padding: 3px 10px;
  font-size: 0.85rem;
  font-weight: bold;
  border: 1px solid var(--gold);
  z-index: 3;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.poster-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--coffee-deep);
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 1px;
  z-index: 3;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.movie-info {
  padding: 4px 6px 6px;
}

.movie-title {
  font-family: Georgia, "STZhongsong", serif;
  font-size: 1.05rem;
  font-weight: bold;
  color: var(--coffee);
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.movie-meta {
  font-size: 0.8rem;
  color: var(--text-mid);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.movie-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.tag {
  display: inline-block;
  padding: 2px 10px;
  font-size: 0.72rem;
  background: var(--parchment-dark);
  color: var(--gold-dark);
  border: 1px solid var(--gold);
  letter-spacing: 1px;
}

/* Watch button - art deco style */
.btn-watch {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 9px 16px;
  background:
    linear-gradient(180deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--coffee-deep);
  font-weight: bold;
  letter-spacing: 3px;
  font-size: 0.9rem;
  border: 1px solid var(--gold-dark);
  border-radius: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  font-family: Georgia, "STZhongsong", serif;
}

.btn-watch::before {
  content: "▶";
  margin-right: 8px;
  font-size: 0.7em;
}

.btn-watch:hover {
  background: linear-gradient(180deg, var(--burgundy) 0%, var(--burgundy-deep) 100%);
  color: var(--gold-pale);
  border-color: var(--burgundy-deep);
  box-shadow: 0 4px 12px rgba(107, 44, 26, 0.5);
}

/* Rating stars */
.rating-stars {
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 0.95rem;
}

.rating-stars .dim {
  color: var(--parchment-dark);
}

/* ============================================
   FEATURED / HERO SECTION
   ============================================ */
.featured-section {
  background:
    linear-gradient(180deg, rgba(43, 24, 16, 0.92) 0%, rgba(26, 14, 8, 0.95) 100%),
    repeating-linear-gradient(45deg, transparent 0, transparent 20px, rgba(184, 134, 11, 0.04) 20px, rgba(184, 134, 11, 0.04) 22px);
  color: var(--gold-shimmer);
  padding: 70px 0;
  position: relative;
  border-top: 3px double var(--gold);
  border-bottom: 3px double var(--gold);
  overflow: hidden;
}

/* Amber lighting glow */
.featured-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(255, 200, 100, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.featured-section .section-title {
  color: var(--gold-pale);
}

.featured-section .section-subtitle {
  color: var(--gold-shimmer);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin-top: 20px;
}

.featured-card {
  background:
    linear-gradient(160deg, rgba(250, 245, 232, 0.08) 0%, rgba(184, 134, 11, 0.05) 100%);
  border: 2px solid var(--gold);
  padding: 20px;
  position: relative;
  transition: all 0.4s ease;
  backdrop-filter: blur(2px);
}

.featured-card::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(184, 134, 11, 0.4);
  pointer-events: none;
}

.featured-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-pale);
  box-shadow: 0 12px 30px rgba(0,0,0,0.5), 0 0 30px rgba(184, 134, 11, 0.4);
}

.featured-card .poster {
  margin-bottom: 16px;
}

.featured-card .movie-title {
  color: var(--gold-pale);
  font-size: 1.2rem;
}

.featured-card .movie-meta {
  color: var(--gold-shimmer);
}

.featured-card .movie-desc {
  color: var(--gold-shimmer);
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 10px 0 16px;
  font-style: italic;
}

/* ============================================
   FILTER BAR
   ============================================ */
.filter-bar {
  background:
    linear-gradient(180deg, var(--parchment-light) 0%, var(--parchment) 100%);
  border: 2px solid var(--gold);
  padding: 18px 24px;
  margin-bottom: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  position: relative;
  box-shadow: inset 0 0 0 1px var(--parchment), inset 0 0 0 3px var(--gold-dark), var(--shadow-warm);
}

.filter-label {
  font-weight: bold;
  color: var(--coffee);
  letter-spacing: 2px;
  margin-right: 8px;
}

.filter-chip {
  display: inline-block;
  padding: 6px 16px;
  background: var(--parchment-dark);
  color: var(--coffee);
  border: 1px solid var(--gold);
  font-size: 0.9rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: Georgia, "STZhongsong", serif;
}

.filter-chip:hover {
  background: var(--gold);
  color: var(--coffee-deep);
}

.filter-chip.active {
  background: linear-gradient(180deg, var(--burgundy), var(--burgundy-deep));
  color: var(--gold-pale);
  border-color: var(--gold);
  box-shadow: 0 2px 8px rgba(107, 44, 26, 0.4);
}

/* ============================================
   RANKING LIST - ornate gold
   ============================================ */
.rank-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}

.rank-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 24px;
  background:
    linear-gradient(90deg, var(--parchment-light) 0%, var(--parchment) 100%);
  border: 2px solid var(--gold);
  padding: 18px 24px;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: inset 0 0 0 1px var(--parchment);
}

.rank-item:hover {
  border-color: var(--burgundy);
  box-shadow: 0 6px 20px rgba(107, 44, 26, 0.3);
  transform: translateX(6px);
}

.rank-num {
  font-family: Georgia, serif;
  font-size: 3rem;
  font-weight: bold;
  color: var(--gold);
  text-align: center;
  line-height: 1;
  text-shadow: 2px 2px 0 var(--parchment), 3px 3px 0 var(--gold-dark);
}

.rank-item.top1 .rank-num { color: var(--burgundy); }
.rank-item.top2 .rank-num { color: var(--gold-dark); }
.rank-item.top3 .rank-num { color: var(--peru); }

.rank-content .rank-title {
  font-family: Georgia, "STZhongsong", serif;
  font-size: 1.25rem;
  color: var(--coffee);
  font-weight: bold;
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.rank-content .rank-meta {
  color: var(--text-mid);
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.rank-score {
  text-align: right;
}

.rank-score .score-val {
  font-family: Georgia, serif;
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--burgundy);
  line-height: 1;
}

.rank-score .score-label {
  font-size: 0.75rem;
  color: var(--text-light);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ============================================
   TABS
   ============================================ */
.tab-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 36px;
  border-bottom: 2px solid var(--gold);
  padding: 0 20px;
}

.tab-btn {
  background: none;
  border: 2px solid transparent;
  border-bottom: none;
  padding: 12px 28px;
  font-family: Georgia, "STZhongsong", serif;
  font-size: 1rem;
  letter-spacing: 3px;
  color: var(--text-mid);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  margin-bottom: -2px;
}

.tab-btn:hover {
  color: var(--burgundy);
}

.tab-btn.active {
  color: var(--coffee-deep);
  background:
    linear-gradient(180deg, var(--parchment-light), var(--parchment));
  border-color: var(--gold);
  border-bottom: 2px solid var(--parchment);
  font-weight: bold;
}

/* ============================================
   DECADE BLOCKS (classics)
   ============================================ */
.decade-block {
  margin-bottom: 56px;
  position: relative;
}

.decade-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--gold);
}

.decade-year {
  font-family: Georgia, serif;
  font-size: 2.4rem;
  font-weight: bold;
  color: var(--burgundy);
  letter-spacing: 4px;
  text-shadow: 2px 2px 0 var(--parchment-dark);
  background:
    linear-gradient(180deg, var(--gold) 0%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px var(--burgundy);
}

.decade-label {
  flex: 1;
  color: var(--coffee);
  font-style: italic;
  letter-spacing: 2px;
  font-size: 1rem;
}

.decade-label::before {
  content: "✦ ";
  color: var(--gold);
}

/* ============================================
   HALL OF FAME
   ============================================ */
.hall-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.hall-card {
  background:
    linear-gradient(160deg, var(--parchment-light) 0%, var(--parchment-dark) 100%);
  border: 3px double var(--gold);
  padding: 24px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-warm);
}

.hall-card::before {
  content: "✦";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold);
  font-size: 1.2rem;
}

.hall-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(43, 24, 16, 0.4);
}

.hall-portrait {
  width: 80px;
  height: 80px;
  margin: 16px auto 12px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, var(--gold-shimmer), var(--gold), var(--gold-dark));
  border: 3px solid var(--burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--coffee-deep);
  font-family: Georgia, serif;
  font-size: 1.8rem;
  font-weight: bold;
  box-shadow: inset 0 2px 6px rgba(255,255,255,0.4), 0 4px 10px rgba(0,0,0,0.3);
}

.hall-name {
  font-family: Georgia, "STZhongsong", serif;
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--coffee);
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.hall-role {
  color: var(--gold-dark);
  font-size: 0.82rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hall-desc {
  color: var(--text-mid);
  font-size: 0.85rem;
  font-style: italic;
  line-height: 1.7;
}

/* ============================================
   EPISODE/SERIES CARDS
   ============================================ */
.series-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 26px;
}

.series-card {
  background: var(--parchment-light);
  border: 3px double var(--gold);
  padding: 12px;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: inset 0 0 0 1px var(--parchment), inset 0 0 0 3px var(--gold-dark);
}

.series-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 26px rgba(43, 24, 16, 0.35), 0 0 20px rgba(184, 134, 11, 0.3);
}

.episode-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: linear-gradient(135deg, var(--burgundy), var(--burgundy-deep));
  color: var(--gold-pale);
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: bold;
  border: 1px solid var(--gold);
  z-index: 3;
  letter-spacing: 1px;
}

.update-tag {
  display: inline-block;
  margin-top: 8px;
  padding: 2px 10px;
  background: var(--gold-shimmer);
  color: var(--coffee);
  border: 1px solid var(--gold-dark);
  font-size: 0.72rem;
  letter-spacing: 1px;
}

/* ============================================
   VARIETY / BLOCKBUSTER
   ============================================ */
.variety-card {
  background:
    linear-gradient(160deg, var(--parchment-light), var(--parchment));
  border: 3px double var(--gold);
  padding: 18px;
  position: relative;
  transition: all 0.3s ease;
}

.variety-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(43, 24, 16, 0.35);
}

.variety-banner {
  background:
    linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-deep) 100%);
  color: var(--gold-pale);
  padding: 14px 18px;
  margin: -18px -18px 16px;
  border-bottom: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.variety-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, transparent 0, transparent 10px, rgba(184, 134, 11, 0.1) 10px, rgba(184, 134, 11, 0.1) 12px);
  pointer-events: none;
}

.variety-banner .vb-title {
  font-family: Georgia, "STZhongsong", serif;
  font-size: 1.1rem;
  letter-spacing: 2px;
  font-weight: bold;
  position: relative;
  z-index: 1;
}

.variety-banner .vb-season {
  font-size: 0.78rem;
  color: var(--gold-shimmer);
  letter-spacing: 2px;
  position: relative;
  z-index: 1;
}

.blockbuster-spot {
  background:
    linear-gradient(160deg, var(--coffee) 0%, var(--coffee-deep) 100%);
  color: var(--gold-pale);
  border: 3px double var(--gold);
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 40px;
}

.blockbuster-spot::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top, rgba(255, 200, 100, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.blockbuster-spot::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-conic-gradient(from 0deg at 50% 0%, transparent 0deg, rgba(184, 134, 11, 0.06) 5deg, transparent 10deg);
  pointer-events: none;
  opacity: 0.6;
}

.blockbuster-spot > * {
  position: relative;
  z-index: 1;
}

.blockbuster-title {
  font-family: Georgia, "STZhongsong", serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--gold-pale);
  letter-spacing: 6px;
  margin-bottom: 12px;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.blockbuster-desc {
  color: var(--gold-shimmer);
  font-style: italic;
  letter-spacing: 2px;
  max-width: 600px;
  margin: 0 auto 24px;
  line-height: 1.8;
}

/* ============================================
   GENERIC CARDS / CONTENT BOXES
   ============================================ */
.content-box {
  background:
    linear-gradient(160deg, var(--parchment-light), var(--parchment));
  border: 3px double var(--gold);
  padding: 28px;
  position: relative;
  box-shadow: inset 0 0 0 1px var(--parchment), var(--shadow-warm);
}

.content-box h3 {
  font-family: Georgia, "STZhongsong", serif;
  color: var(--coffee);
  font-size: 1.3rem;
  letter-spacing: 3px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gold);
  position: relative;
}

.content-box h3::after {
  content: "❖";
  position: absolute;
  right: 0;
  color: var(--gold);
  font-size: 0.8em;
}

.content-box p {
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 12px;
}

.content-box ul {
  list-style: none;
  padding: 0;
}

.content-box ul li {
  padding: 8px 0 8px 24px;
  border-bottom: 1px dashed var(--parchment-dark);
  color: var(--text-mid);
  position: relative;
}

.content-box ul li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--gold);
  font-size: 0.7em;
}

.content-box ul li:last-child {
  border-bottom: none;
}

/* ============================================
   ABOUT / TEXT PAGES
   ============================================ */
.about-hero {
  text-align: center;
  padding: 60px 0 40px;
}

.about-hero h1 {
  font-family: Georgia, "STZhongsong", serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--coffee);
  letter-spacing: 8px;
  margin-bottom: 12px;
}

.about-hero .lead {
  color: var(--text-mid);
  font-style: italic;
  font-size: 1.1rem;
  letter-spacing: 2px;
  max-width: 700px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin: 40px 0;
}

.quote-block {
  background:
    linear-gradient(160deg, var(--coffee) 0%, var(--coffee-deep) 100%);
  color: var(--gold-pale);
  border: 3px double var(--gold);
  padding: 36px 40px;
  text-align: center;
  position: relative;
  margin: 40px 0;
  font-family: Georgia, "STZhongsong", serif;
  font-size: 1.25rem;
  font-style: italic;
  letter-spacing: 3px;
  line-height: 1.9;
}

.quote-block::before {
  content: "\201C";
  position: absolute;
  top: -10px;
  left: 30px;
  font-size: 4rem;
  color: var(--gold);
  font-family: Georgia, serif;
  line-height: 1;
  opacity: 0.6;
}

.quote-block::after {
  content: "\201D";
  position: absolute;
  bottom: -30px;
  right: 30px;
  font-size: 4rem;
  color: var(--gold);
  font-family: Georgia, serif;
  line-height: 1;
  opacity: 0.6;
}

.quote-author {
  display: block;
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--gold-shimmer);
  font-style: normal;
  letter-spacing: 4px;
}

/* ============================================
   STAT STRIP
   ============================================ */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  background:
    linear-gradient(180deg, var(--coffee) 0%, var(--coffee-deep) 100%);
  border: 3px double var(--gold);
  margin: 40px 0;
}

.stat-item {
  text-align: center;
  padding: 28px 20px;
  border-right: 1px solid var(--gold-dark);
  position: relative;
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-family: Georgia, serif;
  font-size: 2.4rem;
  font-weight: bold;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
  text-shadow: 0 0 12px rgba(184, 134, 11, 0.5);
}

.stat-label {
  color: var(--gold-shimmer);
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* ============================================
   FOOTER
   ============================================ */
.palace-footer {
  background:
    linear-gradient(180deg, var(--coffee) 0%, var(--coffee-deep) 100%);
  color: var(--gold-shimmer);
  padding: 50px 0 24px;
  margin-top: 60px;
  border-top: 4px double var(--gold);
  position: relative;
}

.palace-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 12px;
  background:
    radial-gradient(circle at 10px 0, var(--gold) 0, var(--gold) 6px, transparent 7px) repeat-x;
  background-size: 20px 12px;
  opacity: 0.5;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px;
  margin-bottom: 32px;
}

.footer-col h4 {
  font-family: Georgia, "STZhongsong", serif;
  color: var(--gold);
  font-size: 1.05rem;
  letter-spacing: 3px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gold-dark);
}

.footer-col h4::before {
  content: "✦ ";
  color: var(--gold);
}

.footer-col p,
.footer-col li {
  color: var(--gold-shimmer);
  font-size: 0.88rem;
  line-height: 1.9;
  list-style: none;
}

.footer-col a {
  color: var(--gold-shimmer);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--gold-dark);
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 2px;
  font-style: italic;
}

.footer-bottom .footer-ornament {
  color: var(--gold);
  letter-spacing: 8px;
  margin-bottom: 8px;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
  padding: 18px 0;
  color: var(--text-light);
  font-size: 0.88rem;
  letter-spacing: 1px;
  font-style: italic;
}

.breadcrumb a {
  color: var(--gold-dark);
}

.breadcrumb span {
  margin: 0 10px;
  color: var(--gold);
}

/* ============================================
   PAGE HERO BANNER
   ============================================ */
.page-hero {
  background:
    linear-gradient(180deg, rgba(43, 24, 16, 0.92) 0%, rgba(26, 14, 8, 0.95) 100%),
    repeating-linear-gradient(45deg, transparent 0, transparent 20px, rgba(184, 134, 11, 0.04) 20px, rgba(184, 134, 11, 0.04) 22px);
  color: var(--gold-pale);
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 3px double var(--gold);
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 100%;
  background: radial-gradient(ellipse at center top, rgba(255, 200, 100, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero h1 {
  font-family: Georgia, "STZhongsong", serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: 8px;
  color: var(--gold-pale);
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.4), 2px 2px 0 var(--burgundy-deep);
  position: relative;
  margin-bottom: 12px;
}

.page-hero .hero-sub {
  color: var(--gold-shimmer);
  font-style: italic;
  letter-spacing: 3px;
  position: relative;
  font-size: 1rem;
}

/* ============================================
   SHOWTIME INFO
   ============================================ */
.showtime-box {
  background: var(--parchment-dark);
  border: 1px solid var(--gold);
  padding: 10px 14px;
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--coffee);
  letter-spacing: 1px;
}

.showtime-box strong {
  color: var(--burgundy);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }
  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, #2b1810 0%, #1a0e08 100%);
    flex-direction: column;
    padding: 8px 0;
    border-bottom: 3px double var(--gold);
    border-top: 1px solid var(--gold-dark);
  }
  .nav-list.open {
    display: flex;
  }
  .nav-list a {
    padding: 12px 24px;
    border-bottom: 1px solid var(--gold-dark);
  }
  .nav-inner {
    position: relative;
    padding: 10px 24px;
  }
  .palace-title {
    letter-spacing: 3px;
  }
  .section {
    padding: 40px 0;
  }
  .rank-item {
    grid-template-columns: 60px 1fr;
  }
  .rank-score {
    grid-column: 1 / -1;
    text-align: left;
    border-top: 1px dashed var(--gold);
    padding-top: 8px;
  }
  .rank-num {
    font-size: 2.2rem;
  }
}

@media (max-width: 560px) {
  .container {
    padding: 0 16px;
  }
  .movie-grid,
  .series-grid,
  .featured-grid,
  .hall-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .movie-card,
  .series-card {
    padding: 8px;
  }
  .poster-title {
    font-size: 1rem;
  }
  .palace-title {
    font-size: 1.8rem;
    letter-spacing: 2px;
    padding: 4px 12px;
  }
  .palace-subtitle {
    font-size: 0.7rem;
    letter-spacing: 2px;
  }
  .logo-flourish {
    font-size: 0.85rem;
    letter-spacing: 4px;
  }
  .flourish-line {
    flex-basis: 30px;
  }
  .section-title {
    letter-spacing: 3px;
  }
  .section-title::before,
  .section-title::after {
    margin: 0 8px;
  }
  .quote-block {
    padding: 28px 20px;
    font-size: 1rem;
  }
  .blockbuster-spot {
    padding: 28px 18px;
  }
}

/* ============================================
   UTILITY
   ============================================ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.pb-0 { padding-bottom: 0; }

/* Marquee scrolling text */
.marquee-scroll {
  background:
    linear-gradient(180deg, var(--burgundy-deep) 0%, var(--coffee-deep) 100%);
  color: var(--gold-pale);
  padding: 8px 0;
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  font-size: 0.85rem;
  letter-spacing: 2px;
}

.marquee-scroll span {
  display: inline-block;
  padding-left: 100%;
  animation: scrollLeft 30s linear infinite;
}

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

/* Spotlight beam effect */
.spotlight {
  position: relative;
}

.spotlight::after {
  content: "";
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 80px;
  background: linear-gradient(180deg, transparent, rgba(255, 215, 0, 0.6));
  filter: blur(8px);
  pointer-events: none;
}
