:root {
  --bg-primary: #FAFAF9;
  --bg-secondary: #FFFFFF;
  --bg-tertiary: #F5F5F4;
  --text-primary: #1C1917;
  --text-secondary: #57534E;
  --text-muted: #A8A29E;
  --accent: #B45309;
  --accent-light: #FEF3C7;
  --border: #E7E5E4;
  --shadow-sm: 0 1px 2px rgba(28, 25, 23, 0.04);
  --shadow-md: 0 4px 12px rgba(28, 25, 23, 0.08);
  --shadow-lg: 0 12px 32px rgba(28, 25, 23, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans SC', -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}
a{
  text-decoration: none;
}
.serif {
  font-family: 'Noto Serif SC', Georgia, serif;
}

::selection {
  background: var(--accent-light);
  color: var(--accent);
}

.page {
  /* display: none; */
  animation: fadeIn 0.4s ease-out;
}

.page.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 250, 249, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent) 0%, #D97706 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 14px;
}

.logo-text {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--accent);
}

.nav-link.active::after {
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--text-primary);
  color: white;
}

.btn-primary:hover {
  background: #292524;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.detail-actions img{
  width: 16px;
}
.btn-secondary:hover {
  background: var(--bg-tertiary);
  border-color: var(--text-muted);
}

.btn-accent {
  background: var(--accent);
  color: white;
}

.btn-accent:hover {
  background: #92400E;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.main {
  padding-top: 72px;
}

.hero {
  padding: 100px 40px;
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(250, 250, 249, 0.95) 100%),
              url('../img/photo-1536440136628-849c177e76a1.jpg') center center / cover no-repeat;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--bg-primary), transparent);
  pointer-events: none;
}

.hero .hero-badge,
.hero .hero-title,
.hero .hero-desc,
.hero .hero-team,
.hero .hero-actions,
.hero .stats {
  position: relative;
  z-index: 1;
}

.hero .hero-badge {
  background: var(--accent-light);
}
.hero .hero-badge img{
  width: 16px;
}
.hero .hero-title {
  color: var(--text-primary);
}

.hero .hero-desc {
  color: var(--text-secondary);
}

.hero .hero-team {
  color: var(--text-muted);
  margin-bottom: 32px;
}

.hero .hero-team strong {
  color: var(--accent);
}

.hero .stat-value {
  color: var(--text-primary);
}

.hero .stat-label {
  color: var(--text-muted);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
  animation: slideUp 0.6s ease-out;
}

.hero-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 20px;
  animation: slideUp 0.6s ease-out 0.1s both;
}

.hero-title span {
  color: var(--accent);
}

.hero-desc {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 32px;
  animation: slideUp 0.6s ease-out 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  animation: slideUp 0.6s ease-out 0.3s both;
}

.stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  animation: slideUp 0.6s ease-out 0.4s both;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

.content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 40px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.section-title {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  border-color: var(--text-muted);
  color: var(--text-primary);
}

.filter-btn.active {
  background: var(--text-primary);
  border-color: var(--text-primary);
  color: white;
}

.works-grid {

  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  display: none;
}
.works-grid.active{
  display: grid;
}
.work-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
  animation: scaleIn 0.5s ease-out;
}


.work-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.work-thumbnail {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--bg-tertiary);
  overflow: hidden;
}

.work-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.work-card:hover .work-thumbnail img {
  transform: scale(1.05);
}

.work-duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(28, 25, 23, 0.85);
  color: white;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  backdrop-filter: blur(8px);
}

.work-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.work-play-btn img {
  width: 24px;
  height: 24px;
  color: var(--text-primary);
  margin-left: 3px;
}

.work-card:hover .work-play-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.work-info {
  padding: 20px;
}

.work-type {
  display: inline-block;
  padding: 4px 10px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 12px;
}

.work-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--text-primary);
}

.work-meta {
  display: flex;
  gap: 16px;
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 12px;
}

.work-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.work-tag {
  padding: 4px 10px;
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  border-radius: 6px;
  font-size: 12px;
}

.detail-page {
  min-height: 100vh;
  background: var(--bg-primary);
}

.detail-header {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 20px 40px;
}

.detail-header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.back-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
}

.back-btn:hover {
  color: var(--text-primary);
}

.back-btn img {
  width: 20px;
  height: 20px;
}

.detail-actions {
  display: flex;
  gap: 12px;
}

.detail-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
}

.video-container {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.video-player {
  position: relative;
  aspect-ratio: 16/9;
  background: #1C1917;
}

.video-placeholder {
  width: 100%;
  height: 100%;
  /* display: flex; */
  /* flex-direction: column; */
  /* align-items: center; */
  /* justify-content: center; */
  /* color: white; */
  position: relative;
}
.video-placeholder video{
  width: 100%;
  height: 100%;
}
.video-placeholder img {
  width: 64px;
  height: 64px;
  opacity: 0.5;
  margin-bottom: 16px;
  position: absolute;
  left: calc(50% - 32px);
  top: 45%;
}

.video-placeholder span {
  font-size: 14px;
  opacity: 0.7;
}

.video-controls {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--border);
}

.control-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.control-btn:hover {
  background: var(--accent-light);
}

.control-btn img {
  width: 20px;
  height: 20px;
  color: var(--text-primary);
}

.progress-bar {
  flex: 1;
  height: 4px;
  background: var(--bg-tertiary);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  width: 35%;
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
}

.time-display {
  font-size: 13px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.info-panel {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 28px;
  height: fit-content;
  position: sticky;
  top: 112px;
}

.info-section {
  margin-bottom: 24px;
}

.info-section:last-child {
  margin-bottom: 0;
}

.info-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.info-value {
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1.6;
}

.info-title {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.info-type {
  display: inline-block;
  padding: 4px 10px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
}

.info-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.info-tag {
  padding: 6px 12px;
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  border-radius: 8px;
  font-size: 13px;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.info-item {
  padding: 16px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
}

.info-item-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.info-item-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.related-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.related-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.related-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.related-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.related-thumbnail {
  aspect-ratio: 16/9;
  background: var(--bg-tertiary);
  overflow: hidden;
}

.related-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.related-card:hover .related-thumbnail img {
  transform: scale(1.05);
}

.related-info {
  padding: 14px;
}

.related-card-title {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
  line-height: 1.4;
}

.related-card-meta {
  font-size: 12px;
  color: var(--text-muted);
}

.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 40px;
  margin-top: 80px;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-text {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-link {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--text-primary);
}

@media (max-width: 1024px) {
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .info-panel {
    position: static;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 0 20px;
  }

  .nav {
    display: none;
  }

  .hero {
    padding: 60px 20px;
  }

  .stats {
    gap: 30px;
  }

  .stat-value {
    font-size: 28px;
  }

  .content {
    padding: 40px 20px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .works-grid {
    grid-template-columns: 1fr;
  }

  .detail-content {
    padding: 20px;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}