/* ===================================================
   万影百科 - 主样式表
   百科全书典雅风 (Encyclopedic Elegant Style)
   CSS前缀: wy-
   =================================================== */

/* --- CSS Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --wy-color-primary: #FDFBF5;
  --wy-color-secondary: #DCD0B3;
  --wy-color-accent: #C0A080;
  --wy-color-text: #3A3A3A;
  --wy-color-link: #8B4513;
  --wy-color-brown: #6B4226;
  --wy-font-heading: 'Georgia', 'Times New Roman', serif;
  --wy-font-body: 'Source Serif Pro', 'Georgia', serif;
  --wy-max-width: 1440px;
  --wy-content-width: 1200px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--wy-font-body);
  color: var(--wy-color-text);
  background-color: var(--wy-color-primary);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--wy-color-link);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--wy-color-brown);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--wy-font-heading);
  color: var(--wy-color-text);
  line-height: 1.3;
}

/* --- 干扰标签隐藏 --- */
.wiki-jammer-block {
  display: none !important;
}

/* --- 容器 --- */
.wy-container {
  max-width: var(--wy-content-width);
  margin: 0 auto;
  padding: 0 20px;
}

.wy-section {
  padding: 60px 0;
}

/* ===================================================
   导航栏 (Navigation)
   =================================================== */
#wy-header {
  background-color: var(--wy-color-primary);
  background-image: url('../images/paper-texture.webp');
  border-bottom: 2px solid var(--wy-color-secondary);
  z-index: 100;
  position: relative;
}

.wy-nav-inner {
  max-width: var(--wy-max-width);
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wy-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.wy-logo-icon {
  width: 40px;
  height: 40px;
}

.sp-logo-text {
  font-family: var(--wy-font-heading);
  font-size: 1.5rem;
  color: var(--wy-color-link);
  font-weight: bold;
  letter-spacing: 2px;
}

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

.wy-nav-list li a {
  font-family: var(--wy-font-heading);
  font-size: 1rem;
  color: var(--wy-color-link);
  padding: 8px 0;
  position: relative;
  transition: color 0.3s ease;
}

.wy-nav-list li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--wy-color-accent);
  transition: width 0.3s ease;
}

.wy-nav-list li a:hover::after,
.wy-nav-list li a.wy-active::after {
  width: 100%;
}

/* 汉堡菜单 */
.wy-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.wy-hamburger span {
  width: 28px;
  height: 3px;
  background-color: var(--wy-color-link);
  border-radius: 2px;
  transition: transform 0.3s ease;
}

/* 移动端侧边菜单 */
.wy-mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 999;
}

.wy-mobile-menu {
  position: fixed;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100%;
  background-color: var(--wy-color-secondary);
  z-index: 1000;
  transition: left 0.3s ease;
  padding: 30px 20px;
  overflow-y: auto;
}

.wy-mobile-menu.wy-menu-open {
  left: 0;
}

.wy-mobile-menu-list {
  list-style: none;
  margin-top: 40px;
}

.wy-mobile-menu-list li {
  border-bottom: 1px solid var(--wy-color-accent);
}

.wy-mobile-menu-list li a {
  display: block;
  padding: 15px 10px;
  font-family: var(--wy-font-heading);
  font-size: 1.1rem;
  color: var(--wy-color-text);
}

.wy-mobile-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: var(--wy-color-text);
  cursor: pointer;
}

/* ===================================================
   首页 Hero Banner
   =================================================== */
.wy-hero {
  position: relative;
  width: 100%;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wy-hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

.wy-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--wy-color-primary);
  padding: 40px 20px;
}

.wy-hero-content h1 {
  font-size: 3rem;
  color: var(--wy-color-primary);
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
  letter-spacing: 4px;
}

.wy-hero-content p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
  line-height: 1.8;
}

/* ===================================================
   模块标题样式
   =================================================== */
.wy-section-title {
  font-family: var(--wy-font-heading);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 15px;
  color: var(--wy-color-text);
  position: relative;
  padding-bottom: 15px;
}

.wy-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--wy-color-accent), transparent);
}

.wy-section-subtitle {
  text-align: center;
  color: #777;
  font-style: italic;
  margin-bottom: 40px;
  font-size: 1rem;
}

/* ===================================================
   今日影人 (Filmmaker of the Day)
   =================================================== */
.wy-filmmaker {
  background-color: #F5F0E6;
  border-top: 3px solid var(--wy-color-accent);
  border-bottom: 3px solid var(--wy-color-accent);
}

.wy-filmmaker-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
}

.wy-filmmaker-portrait {
  width: 100%;
  border-radius: 4px;
  box-shadow: 4px 4px 15px rgba(0,0,0,0.2);
}

.wy-filmmaker-info h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.wy-filmmaker-info .wy-filmmaker-years {
  color: #888;
  font-style: italic;
  margin-bottom: 15px;
}

.wy-filmmaker-info p {
  margin-bottom: 15px;
  text-align: justify;
}

.wy-filmography-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wy-filmography-list li {
  background: var(--wy-color-secondary);
  padding: 5px 15px;
  border-radius: 3px;
  font-size: 0.9rem;
}

/* ===================================================
   每周专题 (Weekly Focus)
   =================================================== */
.wy-weekly-focus {
  position: relative;
  background-size: cover;
  background-position: center;
  color: var(--wy-color-primary);
}

.wy-weekly-focus::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30,20,10,0.75);
}

.wy-weekly-focus .wy-container {
  position: relative;
  z-index: 2;
}

.wy-weekly-focus .wy-section-title {
  color: var(--wy-color-primary);
}

.wy-weekly-focus .wy-section-subtitle {
  color: var(--wy-color-secondary);
}

.wy-focus-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.wy-focus-content blockquote {
  font-size: 1.3rem;
  font-style: italic;
  border-left: 4px solid var(--wy-color-accent);
  padding-left: 20px;
  margin: 30px 0;
  text-align: left;
}

.wy-focus-content p {
  text-align: justify;
  margin-bottom: 15px;
}

/* ===================================================
   影史钩沉 (Moments in History)
   =================================================== */
.wy-history {
  background-color: var(--wy-color-primary);
}

.wy-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 40px;
}

.wy-timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--wy-color-accent);
}

.wy-timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 30px;
}

.wy-timeline-item::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 5px;
  width: 14px;
  height: 14px;
  background: var(--wy-color-accent);
  border-radius: 50%;
  border: 3px solid var(--wy-color-primary);
}

.wy-timeline-date {
  font-weight: bold;
  color: var(--wy-color-link);
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.wy-timeline-item p {
  text-align: justify;
}

/* ===================================================
   佳片赏析 (Masterpiece Analysis)
   =================================================== */
.wy-analysis {
  background-color: #F5F0E6;
}

.wy-movie-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.wy-movie-card {
  background: var(--wy-color-primary);
  border: 1px solid var(--wy-color-secondary);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
}

.wy-movie-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

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

.wy-movie-card-info {
  padding: 15px;
}

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

.wy-movie-card-info .wy-card-year {
  font-size: 0.85rem;
  color: #888;
}

.wy-movie-card-rating {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,0.7);
  color: #FFD700;
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 0.85rem;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.wy-movie-card:hover .wy-movie-card-rating {
  opacity: 1;
}

/* ===================================================
   名导殿堂 (Auteur Pantheon)
   =================================================== */
.wy-auteur-pantheon {
  background-color: var(--wy-color-primary);
}

.wy-auteur-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.wy-auteur-item {
  text-align: center;
}

.wy-auteur-portrait {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 15px;
  border: 4px solid var(--wy-color-secondary);
  filter: grayscale(30%);
  transition: filter 0.3s ease, border-color 0.3s ease;
}

.wy-auteur-item:hover .wy-auteur-portrait {
  filter: grayscale(0%);
  border-color: var(--wy-color-accent);
}

.wy-auteur-item h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.wy-auteur-item .wy-auteur-sig {
  font-style: italic;
  color: #888;
  font-size: 0.9rem;
}

/* ===================================================
   类型索引 (Genre Index)
   =================================================== */
.wy-genre-index {
  background-color: #F5F0E6;
}

.wy-genre-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 15px;
}

.wy-genre-tag {
  display: block;
  text-align: center;
  padding: 18px 15px;
  background: var(--wy-color-primary);
  border: 2px solid var(--wy-color-secondary);
  border-radius: 4px;
  font-family: var(--wy-font-heading);
  font-size: 1rem;
  color: var(--wy-color-text);
  transition: all 0.3s ease;
  box-shadow: 2px 2px 0 var(--wy-color-secondary);
}

.wy-genre-tag:hover {
  background: var(--wy-color-accent);
  color: var(--wy-color-primary);
  box-shadow: 3px 3px 0 var(--wy-color-brown);
  transform: translate(-1px, -1px);
}

/* ===================================================
   最新入库 (Latest Additions)
   =================================================== */
.wy-latest {
  background-color: var(--wy-color-primary);
}

.wy-latest-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.wy-latest-item {
  display: flex;
  gap: 15px;
  padding: 15px;
  background: #F5F0E6;
  border-left: 4px solid var(--wy-color-accent);
  border-radius: 0 4px 4px 0;
}

.wy-latest-item img {
  width: 80px;
  height: 120px;
  object-fit: cover;
  border-radius: 3px;
}

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

.wy-latest-item-info p {
  font-size: 0.9rem;
  color: #666;
}

.wy-latest-item-info .wy-new-badge {
  display: inline-block;
  background: var(--wy-color-link);
  color: #fff;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 0.75rem;
  margin-top: 8px;
}

/* ===================================================
   票房档案 (Box Office Archive)
   =================================================== */
.wy-boxoffice {
  background-color: #F5F0E6;
}

.wy-boxoffice-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--wy-color-primary);
  border: 1px solid var(--wy-color-secondary);
}

.wy-boxoffice-table th {
  background: var(--wy-color-accent);
  color: var(--wy-color-primary);
  padding: 12px 15px;
  text-align: left;
  font-family: var(--wy-font-heading);
}

.wy-boxoffice-table td {
  padding: 12px 15px;
  border-bottom: 1px solid var(--wy-color-secondary);
}

.wy-boxoffice-table tr:hover {
  background-color: #F5F0E6;
}

/* ===================================================
   电影原声 (Original Soundtracks)
   =================================================== */
.wy-soundtrack {
  background-color: var(--wy-color-primary);
}

.wy-soundtrack-grid {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 30px;
  align-items: start;
}

.wy-soundtrack-cover {
  width: 100%;
  border-radius: 4px;
  box-shadow: 4px 4px 15px rgba(0,0,0,0.2);
}

.wy-soundtrack-info h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.wy-soundtrack-info p {
  margin-bottom: 15px;
  text-align: justify;
}

.wy-track-list {
  list-style: none;
  counter-reset: track;
}

.wy-track-list li {
  counter-increment: track;
  padding: 8px 0;
  border-bottom: 1px dotted var(--wy-color-secondary);
  font-size: 0.95rem;
}

.wy-track-list li::before {
  content: counter(track, decimal-leading-zero) '. ';
  color: var(--wy-color-accent);
  font-weight: bold;
}

/* ===================================================
   读者来信 (Reader's Mail)
   =================================================== */
.wy-readers-mail {
  background-color: #F5F0E6;
}

.wy-mail-list {
  max-width: 800px;
  margin: 0 auto;
}

.wy-mail-item {
  background: var(--wy-color-primary);
  padding: 25px;
  margin-bottom: 20px;
  border: 1px solid var(--wy-color-secondary);
  border-radius: 4px;
}

.wy-mail-item .wy-mail-question {
  font-style: italic;
  border-left: 4px solid var(--wy-color-accent);
  padding-left: 15px;
  margin-bottom: 15px;
  color: #555;
}

.wy-mail-item .wy-mail-author {
  font-weight: bold;
  color: var(--wy-color-link);
  margin-bottom: 10px;
}

.wy-mail-item .wy-mail-answer {
  text-align: justify;
}

.wy-mail-item .wy-mail-editor {
  text-align: right;
  color: #888;
  font-style: italic;
  margin-top: 10px;
  font-size: 0.9rem;
}

/* ===================================================
   页脚 (Footer)
   =================================================== */
#wy-footer {
  background-color: var(--wy-color-accent);
  color: var(--wy-color-primary);
  padding: 50px 0 20px;
}

.wy-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.wy-footer-col h4 {
  font-family: var(--wy-font-heading);
  font-size: 1.1rem;
  color: var(--wy-color-primary);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(253,251,245,0.3);
}

.wy-footer-col ul {
  list-style: none;
}

.wy-footer-col ul li {
  margin-bottom: 10px;
}

.wy-footer-col ul li a {
  color: rgba(253,251,245,0.8);
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.wy-footer-col ul li a:hover {
  color: var(--wy-color-primary);
}

.wy-footer-bottom {
  border-top: 1px solid rgba(253,251,245,0.3);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(253,251,245,0.7);
}

.wy-footer-bottom p {
  margin-bottom: 8px;
}

.wy-footer-bottom a {
  color: rgba(253,251,245,0.8);
}

.wy-footer-bottom a:hover {
  color: var(--wy-color-primary);
}

.wy-footer-honor {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0;
  font-size: 0.85rem;
}

/* ===================================================
   内页通用样式
   =================================================== */
.wy-page-header {
  background: linear-gradient(135deg, #F5F0E6 0%, var(--wy-color-primary) 100%);
  padding: 50px 0;
  text-align: center;
  border-bottom: 3px solid var(--wy-color-secondary);
}

.wy-page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.wy-page-header p {
  max-width: 700px;
  margin: 0 auto;
  color: #666;
  font-size: 1.05rem;
}

.wy-breadcrumb {
  padding: 15px 0;
  font-size: 0.9rem;
  color: #888;
}

.wy-breadcrumb a {
  color: var(--wy-color-link);
}

.wy-breadcrumb span {
  margin: 0 8px;
  color: #ccc;
}

/* 内页文章内容 */
.wy-article-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.wy-article-content h2 {
  font-size: 1.6rem;
  margin: 30px 0 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--wy-color-secondary);
}

.wy-article-content h3 {
  font-size: 1.3rem;
  margin: 25px 0 10px;
}

.wy-article-content p {
  margin-bottom: 18px;
  text-align: justify;
}

.wy-article-content blockquote {
  border-left: 4px solid var(--wy-color-accent);
  padding: 15px 20px;
  margin: 20px 0;
  background: #F5F0E6;
  font-style: italic;
}

.wy-article-img {
  margin: 25px 0;
  border-radius: 4px;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.1);
}

/* ===================================================
   片库页面 (Film Repository)
   =================================================== */
.wy-pianku-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  padding: 30px 0;
}

.wy-filter-panel {
  background: #F5F0E6;
  padding: 25px;
  border: 1px solid var(--wy-color-secondary);
  border-radius: 4px;
  align-self: start;
}

.wy-filter-group {
  margin-bottom: 25px;
}

.wy-filter-group h4 {
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--wy-color-link);
  border-bottom: 1px solid var(--wy-color-secondary);
  padding-bottom: 8px;
}

.wy-filter-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  cursor: pointer;
}

.wy-filter-group input[type="checkbox"],
.wy-filter-group input[type="radio"] {
  margin-right: 8px;
  accent-color: var(--wy-color-accent);
}

.wy-filter-group select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--wy-color-secondary);
  background: var(--wy-color-primary);
  font-family: var(--wy-font-body);
  font-size: 0.9rem;
  border-radius: 3px;
  color: var(--wy-color-text);
}

.wy-filter-group input[type="range"] {
  width: 100%;
  accent-color: var(--wy-color-accent);
}

.wy-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #888;
  margin-top: 5px;
}

.wy-filter-btn {
  width: 100%;
  padding: 12px;
  background: var(--wy-color-link);
  color: var(--wy-color-primary);
  border: none;
  border-radius: 4px;
  font-family: var(--wy-font-heading);
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
  box-shadow: 2px 2px 0 var(--wy-color-brown);
}

.wy-filter-btn:hover {
  background: var(--wy-color-brown);
}

.wy-results-area {
  min-height: 600px;
}

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

/* ===================================================
   APP下载页面
   =================================================== */
.wy-app-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: 40px 20px;
}

.wy-library-card {
  max-width: 700px;
  width: 100%;
  background: var(--wy-color-primary);
  border: 3px solid var(--wy-color-accent);
  border-radius: 8px;
  padding: 50px 40px;
  text-align: center;
  box-shadow: 6px 6px 0 var(--wy-color-secondary);
  position: relative;
}

.wy-library-card::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 1px solid var(--wy-color-secondary);
  border-radius: 4px;
  pointer-events: none;
}

.wy-library-card h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--wy-color-link);
}

.wy-library-card p {
  margin-bottom: 25px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.wy-qr-code {
  width: 200px;
  height: 200px;
  margin: 20px auto;
  border: 2px solid var(--wy-color-secondary);
  border-radius: 4px;
}

.wy-app-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 25px;
}

.wy-app-btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--wy-color-link);
  color: var(--wy-color-primary);
  border-radius: 4px;
  font-family: var(--wy-font-heading);
  font-size: 1rem;
  transition: background 0.3s ease;
  box-shadow: 2px 2px 0 var(--wy-color-brown);
}

.wy-app-btn:hover {
  background: var(--wy-color-brown);
  color: var(--wy-color-primary);
}

/* ===================================================
   按钮通用样式 (凸版印刷质感)
   =================================================== */
.wy-btn {
  display: inline-block;
  padding: 10px 25px;
  background: var(--wy-color-accent);
  color: var(--wy-color-primary);
  border: none;
  border-radius: 3px;
  font-family: var(--wy-font-heading);
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 2px 2px 0 var(--wy-color-brown), inset 0 1px 0 rgba(255,255,255,0.2);
  text-shadow: 0 1px 1px rgba(0,0,0,0.2);
}

.wy-btn:hover {
  background: var(--wy-color-link);
  color: var(--wy-color-primary);
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--wy-color-brown), inset 0 1px 0 rgba(255,255,255,0.2);
}

/* ===================================================
   书页翻动过渡效果
   =================================================== */
.wy-page-transition {
  animation: wyPageFlip 0.6s ease-out;
}

@keyframes wyPageFlip {
  0% {
    opacity: 0;
    transform: perspective(1000px) rotateY(-15deg);
    transform-origin: left center;
  }
  100% {
    opacity: 1;
    transform: perspective(1000px) rotateY(0deg);
  }
}

/* ===================================================
   响应式设计
   =================================================== */

/* 1440px */
@media (max-width: 1440px) {
  .wy-container {
    max-width: 1100px;
  }
}

/* 1024px */
@media (max-width: 1024px) {
  .wy-movie-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .wy-auteur-gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .wy-filmmaker-grid {
    grid-template-columns: 220px 1fr;
  }

  .wy-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .wy-pianku-layout {
    grid-template-columns: 240px 1fr;
  }

  .wy-results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 768px */
@media (max-width: 768px) {
  .wy-nav-list {
    display: none;
  }

  .wy-hamburger {
    display: flex;
  }

  .wy-hero-content h1 {
    font-size: 2rem;
  }

  .wy-hero-content p {
    font-size: 1rem;
  }

  .wy-section {
    padding: 40px 0;
  }

  .wy-section-title {
    font-size: 1.6rem;
  }

  .wy-filmmaker-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .wy-filmmaker-portrait {
    max-width: 250px;
    margin: 0 auto;
  }

  .wy-movie-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .wy-auteur-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .wy-latest-list {
    grid-template-columns: 1fr;
  }

  .wy-soundtrack-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .wy-soundtrack-cover {
    max-width: 200px;
    margin: 0 auto;
  }

  .wy-footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .wy-pianku-layout {
    grid-template-columns: 1fr;
  }

  .wy-filter-panel {
    order: -1;
  }

  .wy-results-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .wy-page-header h1 {
    font-size: 1.8rem;
  }

  .wy-library-card {
    padding: 30px 20px;
  }

  .wy-library-card h2 {
    font-size: 1.5rem;
  }
}

/* 360px */
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .wy-hero {
    min-height: 350px;
  }

  .wy-hero-content h1 {
    font-size: 1.6rem;
  }

  .wy-movie-cards {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .wy-auteur-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .wy-auteur-portrait {
    width: 120px;
    height: 120px;
  }

  .wy-genre-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .wy-results-grid {
    grid-template-columns: 1fr;
  }

  .wy-app-buttons {
    flex-direction: column;
    align-items: center;
  }

  .wy-boxoffice-table {
    font-size: 0.85rem;
  }

  .wy-boxoffice-table th,
  .wy-boxoffice-table td {
    padding: 8px 10px;
  }
}
