/* ============================================
   龙龙的博物馆 - 样式表
   主题：古典博物馆风，深色+金色配色
   ============================================ */

/* 重置与基础 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* 主色调 - 金色系 */
  --primary: #c9a961;
  --primary-light: #dbbf7a;
  --primary-dark: #a88a4a;
  --primary-glow: rgba(201, 169, 97, 0.3);
  
  /* 深色背景 */
  --bg: #1a1a1a;
  --bg-dark: #121212;
  --bg-card: #242424;
  --bg-card-hover: #2d2d2d;
  --bg-overlay: rgba(0, 0, 0, 0.65);
  
  /* 文字颜色 */
  --text: #f0ece2;
  --text-secondary: #b0a99a;
  --text-muted: #7a7468;
  
  /* 边框 */
  --border: rgba(201, 169, 97, 0.2);
  --border-light: rgba(255, 255, 255, 0.08);
  
  /* 阴影 */
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 30px rgba(201, 169, 97, 0.15);
  
  /* 字体 */
  --font-serif: 'Noto Serif SC', 'Source Han Serif SC', 'SimSun', 'Songti SC', Georgia, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ============================================
   导航栏
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(18, 18, 18, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

.nav-logo-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary);
}

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

.nav-links a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.3s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

.nav-admin-btn {
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 13px;
  color: var(--primary);
  transition: all 0.3s;
}

.nav-admin-btn:hover {
  background: var(--primary);
  color: var(--bg-dark);
  border-color: var(--primary);
}

/* ============================================
   Hero 主视觉区
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(180deg, rgba(18,18,18,0.3) 0%, rgba(18,18,18,0.7) 100%),
    linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
  z-index: 0;
}

/* 装饰性建筑轮廓（纯CSS） */
.hero-bg::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: 
    linear-gradient(90deg, 
      transparent 0%, 
      rgba(201, 169, 97, 0.03) 20%, 
      rgba(201, 169, 97, 0.05) 50%, 
      rgba(201, 169, 97, 0.03) 80%, 
      transparent 100%
    );
  clip-path: polygon(
    0% 100%, 0% 70%, 5% 65%, 10% 68%, 15% 60%, 20% 62%, 25% 55%, 30% 58%, 
    35% 50%, 40% 52%, 45% 45%, 50% 48%, 55% 42%, 60% 45%, 65% 38%, 70% 40%, 
    75% 35%, 80% 38%, 85% 42%, 90% 45%, 95% 50%, 100% 55%, 100% 100%
  );
}

/* 水面倒影效果 */
.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(180deg, 
    rgba(201, 169, 97, 0.02) 0%, 
    rgba(0, 0, 0, 0.3) 100%
  );
  filter: blur(2px);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
}

.hero-subtitle {
  font-size: 14px;
  color: var(--primary);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0.9;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

.hero-title .gold {
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 50%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 48px;
  letter-spacing: 0.1em;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--bg-dark);
  font-size: 15px;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s;
  box-shadow: 0 4px 20px var(--primary-glow);
  letter-spacing: 0.05em;
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px var(--primary-glow);
}

.hero-btn .arrow {
  font-size: 18px;
  transition: transform 0.3s;
}

.hero-btn:hover .arrow {
  transform: translateY(3px);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.2em;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

/* ============================================
   展品区域
   ============================================ */
.exhibits-section {
  padding: 80px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

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

.section-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--primary);
}

.section-desc {
  color: var(--text-secondary);
  font-size: 14px;
  margin-top: 20px;
}

/* 分类筛选 */
.category-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.cat-btn {
  padding: 8px 20px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 13px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
}

.cat-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.cat-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--bg-dark);
  font-weight: 500;
}

/* 加载状态 */
.loading-box {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.spinner {
  width: 32px;
  height: 32px;
  border: 2px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  margin: 0 auto 16px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* 空状态 */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
}

.empty-icon {
  font-size: 64px;
  margin-bottom: 20px;
  opacity: 0.5;
}

.empty-state h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.empty-state p {
  font-size: 14px;
}

/* 展品网格 */
.exhibit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.exhibit-card {
  background: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border-light);
}

.exhibit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow), var(--shadow-glow);
  border-color: var(--border);
}

.exhibit-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  overflow: hidden;
  position: relative;
}

.exhibit-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.exhibit-card:hover .exhibit-image img {
  transform: scale(1.05);
}

.exhibit-info {
  padding: 20px;
}

.exhibit-category {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(201, 169, 97, 0.1);
  color: var(--primary);
  font-size: 12px;
  border-radius: 3px;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.exhibit-name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.exhibit-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================
   详情弹窗
   ============================================ */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-content {
  background: var(--bg-card);
  border-radius: 12px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  border: 1px solid var(--border);
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-size: 20px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.modal-image {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  overflow: hidden;
}

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

.modal-info {
  padding: 32px;
}

.modal-category {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(201, 169, 97, 0.1);
  color: var(--primary);
  font-size: 13px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 16px;
}

.modal-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

.modal-time {
  font-size: 13px;
  color: var(--text-muted);
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

/* ============================================
   页脚
   ============================================ */
.footer {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
  font-size: 13px;
  border-top: 1px solid var(--border-light);
  background: var(--bg-dark);
}

/* ============================================
   登录页（后台）
   ============================================ */
.login-mask {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(15, 15, 35, 0.95) 100%),
    var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
}

.login-box {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 40px;
  width: 100%;
  max-width: 400px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow), var(--shadow-glow);
}

.login-title {
  font-family: var(--font-serif);
  font-size: 24px;
  text-align: center;
  margin-bottom: 8px;
}

.login-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-dark);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.btn-primary {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--bg-dark);
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--primary-glow);
}

.login-error {
  color: #e74c3c;
  font-size: 13px;
  text-align: center;
  margin-top: 12px;
  display: none;
}

.login-back {
  text-align: center;
  margin-top: 20px;
}

.login-back a {
  color: var(--text-secondary);
  font-size: 13px;
  transition: color 0.3s;
}

.login-back a:hover {
  color: var(--primary);
}

/* ============================================
   后台布局
   ============================================ */
.admin-layout {
  display: none;
  min-height: 100vh;
}

.admin-sidebar {
  width: 240px;
  background: var(--bg-dark);
  border-right: 1px solid var(--border-light);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  padding: 24px 0;
  z-index: 100;
}

.admin-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 24px 24px;
  border-bottom: 1px solid var(--border-light);
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
}

.admin-logo-icon {
  color: var(--primary);
  font-size: 20px;
}

.admin-menu {
  list-style: none;
  padding: 16px 0;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  color: var(--text-secondary);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
  border-left: 3px solid transparent;
}

.menu-item:hover {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.menu-item.active {
  background: rgba(201, 169, 97, 0.08);
  color: var(--primary);
  border-left-color: var(--primary);
}

.menu-item .icon {
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.admin-main {
  margin-left: 240px;
  flex: 1;
  padding: 24px 32px;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.page-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
}

/* 统计卡片 */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 24px;
  transition: all 0.3s;
}

.stat-card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow);
}

.stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.stat-value {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 600;
  color: var(--primary);
}

/* 展品列表 */
.list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
}

.search-box {
  flex: 1;
  max-width: 300px;
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 10px 16px 10px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.3s;
}

.search-box input:focus {
  outline: none;
  border-color: var(--primary);
}

.search-box::before {
  content: '🔍';
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  opacity: 0.5;
}

.btn-add {
  padding: 10px 20px;
  background: var(--primary);
  color: var(--bg-dark);
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
  white-space: nowrap;
}

.btn-add:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}

.exhibit-list {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
}

.exhibit-item {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
  gap: 16px;
  transition: background 0.3s;
}

.exhibit-item:last-child {
  border-bottom: none;
}

.exhibit-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

.item-thumb {
  width: 56px;
  height: 56px;
  background: var(--bg-dark);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  overflow: hidden;
  flex-shrink: 0;
}

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

.item-info {
  flex: 1;
  min-width: 0;
}

.item-name {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item-meta {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  gap: 16px;
}

.item-cat {
  color: var(--primary);
}

.item-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.btn-edit, .btn-delete {
  padding: 6px 14px;
  border: 1px solid var(--border-light);
  background: transparent;
  color: var(--text-secondary);
  font-size: 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
}

.btn-edit:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-delete:hover {
  border-color: #e74c3c;
  color: #e74c3c;
}

/* 表单面板 */
.form-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 32px;
  max-width: 600px;
}

.form-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.image-preview-box {
  margin-top: 12px;
  display: none;
}

.image-preview-box img {
  max-width: 200px;
  max-height: 200px;
  border-radius: 6px;
  border: 1px solid var(--border-light);
}

/* 上传区域 */
.upload-area {
  border: 2px dashed var(--border-light);
  border-radius: 8px;
  padding: 32px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  background: var(--bg-dark);
}

.upload-area:hover {
  border-color: var(--primary);
  background: rgba(201, 169, 97, 0.03);
}

.upload-area.dragover {
  border-color: var(--primary);
  background: rgba(201, 169, 97, 0.08);
  transform: scale(1.01);
}

.upload-area.has-image {
  border-style: solid;
  border-color: var(--primary);
}

.upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.upload-icon {
  font-size: 32px;
  opacity: 0.6;
}

.upload-placeholder p {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.upload-tip {
  font-size: 12px !important;
  color: var(--text-muted) !important;
}

/* 图片预览容器（带移除按钮） */
.image-preview-wrapper {
  position: relative;
  display: inline-block;
}

.image-preview-wrapper .image-preview {
  display: block;
}

.btn-remove-image {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  border: none;
  background: #e74c3c;
  color: white;
  font-size: 14px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  padding: 0;
  line-height: 1;
}

.btn-remove-image:hover {
  background: #c0392b;
  transform: scale(1.1);
}

/* 设置面板 */
.settings-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 32px;
  max-width: 600px;
}

.settings-panel .form-input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.settings-hint {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
  padding: 12px;
  background: rgba(201, 169, 97, 0.05);
  border-radius: 6px;
  border-left: 3px solid var(--primary);
}

/* Toast 提示 */
.toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  z-index: 9999;
  display: none;
  box-shadow: var(--shadow);
  animation: toastIn 0.3s ease;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.toast.success {
  border-color: var(--primary);
  color: var(--primary);
}

.toast.error {
  border-color: #e74c3c;
  color: #e74c3c;
}

/* ============================================
   响应式
   ============================================ */
@media (max-width: 768px) {
  .navbar {
    padding: 0 20px;
  }
  
  .nav-links {
    gap: 20px;
  }
  
  .nav-links li:not(:last-child) {
    display: none;
  }
  
  .exhibits-section {
    padding: 60px 20px;
  }
  
  .exhibit-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
  }
  
  .modal-info {
    padding: 24px;
  }
  
  .modal-title {
    font-size: 22px;
  }
  
  /* 后台响应式 */
  .admin-sidebar {
    width: 60px;
  }
  
  .admin-logo span,
  .menu-item span:not(.icon) {
    display: none;
  }
  
  .admin-logo {
    justify-content: center;
    padding: 0 0 24px;
  }
  
  .menu-item {
    justify-content: center;
    padding: 12px 0;
  }
  
  .admin-main {
    margin-left: 60px;
    padding: 20px;
  }
  
  .list-header {
    flex-direction: column;
    align-items: stretch;
  }
  
  .search-box {
    max-width: none;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 42px;
  }
  
  .exhibit-grid {
    grid-template-columns: 1fr;
  }
  
  .section-title {
    font-size: 24px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .exhibit-item {
    flex-wrap: wrap;
  }
  
  .item-actions {
    width: 100%;
    justify-content: flex-end;
  }
}
