/* ============================================
   WanderChina AI — 中国风水墨画风格
   ============================================ */

/* ---------- 设计变量 ---------- */
:root {
  /* 墨色系 */
  --ink-deep:    #1a1614;
  --ink-medium:  #3d3533;
  --ink-light:   #6b5f5a;
  --ink-faint:   #a89b8f;

  /* 宣纸色系 */
  --paper:       #f5f0e8;
  --paper-warm:  #faf6f0;
  --paper-dark:  #e8e0d5;
  --paper-deep:  #d9d0c3;

  /*  accent 色 */
  --vermillion:  #c41e3a;
  --vermillion-dark: #8b1a2b;
  --gold:        #c9a96e;
  --gold-light:  #d4b87a;
  --jade:        #2e7d4a;
  --jade-light:  #4a9e6b;

  /* 功能色 */
  --text-primary:   #1a1614;
  --text-secondary: #6b5f5a;
  --text-muted:     #a89b8f;
  --border-ink:     rgba(26, 22, 20, 0.12);
  --border-gold:    rgba(201, 169, 110, 0.3);

  /* 字体 */
  --font-heading: 'Noto Serif SC', 'SimSun', 'STSong', 'Songti SC', serif;
  --font-body:    'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;

  /* 尺寸 */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;

  /* 阴影（墨色晕染） */
  --shadow-ink:    0 4px 20px rgba(26, 22, 20, 0.08);
  --shadow-card:   0 2px 12px rgba(26, 22, 20, 0.06);
  --shadow-hover:  0 8px 30px rgba(26, 22, 20, 0.12);
  --shadow-gold:   0 4px 20px rgba(196, 30, 58, 0.15);
}

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

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

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* 宣纸纹理背景 */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(201,169,110,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 90%, rgba(196,30,58,0.04) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ---------- 工具类 ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ---------- 导航栏 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 240, 232, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-ink);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: var(--shadow-ink); }
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

/* Logo — 印章风格 */
.logo {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 24px;
  letter-spacing: 0.08em;
  position: relative;
  padding: 4px 10px;
  line-height: 1;
}
.logo::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--vermillion);
  border-radius: var(--radius-sm);
  opacity: 0.7;
  transform: rotate(-1.5deg);
}
.logo span {
  background: linear-gradient(135deg, var(--vermillion), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--ink-deep); background: rgba(26,22,20,0.04); }
.nav-links a.active { color: var(--vermillion); font-weight: 600; }

/* 导航 CTA 按钮 */
.btn-nav {
  background: var(--vermillion);
  color: #fff !important;
  border: none;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.15s;
}
.btn-nav:hover { background: var(--vermillion-dark); transform: translateY(-1px); }

/* 手机端导航切换 */
.nav-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--border-ink);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink-deep); border-radius: 1px; transition: 0.3s; }

/* ---------- Hero 区 ---------- */
.hero {
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: -68px; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(196,30,58,0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(201,169,110,0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--vermillion);
  border: 1px solid var(--border-gold);
  padding: 6px 18px;
  border-radius: var(--radius-xl);
  margin-bottom: 24px;
  background: rgba(201,169,110,0.08);
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink-deep);
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--vermillion), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- 按钮系统 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.03em;
  border: none;
  transition: all 0.2s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--vermillion), var(--vermillion-dark));
  color: #fff;
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(196,30,58,0.25); }
.btn-secondary {
  background: transparent;
  color: var(--ink-deep);
  border: 1.5px solid var(--border-ink);
}
.btn-secondary:hover { background: rgba(26,22,20,0.04); border-color: var(--ink-light); }
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 14px 20px;
}
.btn-ghost:hover { color: var(--ink-deep); }
.btn-full { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: 13px; }

/* 按钮内的装饰 — 回纹 */
.btn-primary::after {
  content: '';
  position: absolute;
  top: 4px; left: 4px; right: 4px; bottom: 4px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 2px;
  pointer-events: none;
}

/* ---------- 区块通用 ---------- */
.section { padding: 80px 0; position: relative; }
.section-alt { background: var(--paper-warm); }
.section-dark {
  background: var(--ink-deep);
  color: var(--paper);
}
.section-header {
  text-align: center;
  margin-bottom: 52px;
}
.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  color: var(--ink-deep);
  letter-spacing: 0.02em;
}
.section-dark .section-header h2 { color: var(--paper); }
.section-header p {
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 16px;
}
.section-dark .section-header p { color: var(--paper-dark); }

/* 墨点分隔线 */
.divider-ink {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 40px 0;
}
.divider-ink::before, .divider-ink::after {
  content: '';
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ink-faint), transparent);
}
.divider-ink span {
  width: 6px; height: 6px;
  background: var(--vermillion);
  border-radius: 50%;
  opacity: 0.6;
}

/* ---------- 模板卡片网格 ---------- */
.templates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) { .templates-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .templates-grid { grid-template-columns: 1fr; } }

/* 模板卡片 */
.tpl-card {
  background: var(--paper-warm);
  border: 1px solid var(--border-ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  cursor: pointer;
  position: relative;
}
.tpl-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--vermillion);
}
.tpl-card-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  background: var(--paper-dark);
}
.tpl-card-body { padding: 18px 20px 22px; }
.tpl-card-category {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vermillion);
  font-weight: 700;
  margin-bottom: 6px;
}
.tpl-card-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--ink-deep);
  margin-bottom: 4px;
}
.tpl-card-title-cn {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}
.tpl-card-tagline {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 卡片角标 — 印章效果 */
.tpl-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--vermillion);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.06em;
}

/* ---------- 工作流程步骤 ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 768px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps-grid { grid-template-columns: 1fr; } }

.step-card {
  text-align: center;
  padding: 36px 20px;
  background: var(--paper-warm);
  border: 1px solid var(--border-ink);
  border-radius: var(--radius-lg);
  position: relative;
}
.step-number {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 900;
  color: var(--vermillion);
  opacity: 0.18;
  position: absolute;
  top: 12px;
  left: 18px;
  line-height: 1;
}
.step-icon { font-size: 36px; margin-bottom: 16px; display: block; }
.step-card h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
  color: var(--ink-deep);
  margin-bottom: 8px;
}
.step-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* ---------- 定价卡片 ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 960px;
  margin: 0 auto;
}
@media (max-width: 768px) { .pricing-grid { grid-template-columns: 1fr; max-width: 400px; } }

.price-card {
  background: var(--paper-warm);
  border: 1.5px solid var(--border-ink);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.price-card.featured {
  border-color: var(--vermillion);
  box-shadow: var(--shadow-gold);
}
.price-card.featured::before {
  content: '最受欢迎';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--vermillion);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 18px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  letter-spacing: 0.06em;
}
.price-card-icon { font-size: 40px; margin-bottom: 16px; display: block; }
.price-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--ink-deep);
  margin-bottom: 6px;
}
.price-card h3-cn {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.price-amount {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 900;
  color: var(--vermillion);
  line-height: 1.1;
  margin-bottom: 4px;
}
.price-amount span { font-size: 18px; font-weight: 600; }
.price-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}
.price-features {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
}
.price-features li {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 8px 0;
  border-bottom: 1px solid var(--border-ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.price-features li::before { content: '✓'; color: var(--jade); font-weight: 700; }

/* ---------- 详情页 ---------- */
.detail-video-wrap {
  max-width: 420px;
  margin: 0 auto 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-ink);
  background: #000;
  aspect-ratio: 9/16;
  position: relative;
}
.detail-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-photos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
@media (max-width: 768px) { .detail-photos-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .detail-photos-grid { grid-template-columns: 1fr; } }

.detail-photo-item {
  aspect-ratio: 3/4;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border-ink);
  transition: transform 0.2s, box-shadow 0.2s;
  background: var(--paper-dark);
}
.detail-photo-item:hover { transform: scale(1.02); box-shadow: var(--shadow-hover); }
.detail-photo-item img { width: 100%; height: 100%; object-fit: cover; }

.detail-info {
  max-width: 720px;
  margin: 0 auto;
  background: var(--paper-warm);
  border: 1px solid var(--border-ink);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.detail-info h1 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 900;
  color: var(--ink-deep);
  margin-bottom: 4px;
}
.detail-info h1-cn { font-size: 16px; color: var(--text-secondary); margin-bottom: 16px; }
.detail-info .tagline { color: var(--vermillion); font-weight: 600; margin-bottom: 12px; }
.detail-info .description { color: var(--text-secondary); line-height: 1.8; margin-bottom: 24px; }

.detail-shots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.detail-shots span {
  background: rgba(196,30,58,0.06);
  border: 1px solid var(--border-gold);
  padding: 6px 14px;
  border-radius: var(--radius-xl);
  font-size: 13px;
  color: var(--ink-medium);
}

/* ---------- 灯箱 ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(26, 22, 20, 0.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  animation: fadeIn 0.2s;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

/* ---------- 下单页 ---------- */
.order-section {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 0;
}
.order-section h1 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 900;
  color: var(--ink-deep);
  margin-bottom: 8px;
}
.order-section .subtitle { color: var(--text-secondary); margin-bottom: 36px; }

/* 套餐选择器 */
.package-selector { margin-bottom: 36px; }
.pkg-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--paper-warm);
  border: 1.5px solid var(--border-ink);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 12px;
  transition: border-color 0.2s;
}
.pkg-row:hover { border-color: var(--vermillion); }
.pkg-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--vermillion);
  cursor: pointer;
}
.pkg-info { flex: 1; }
.pkg-info .pkg-name {
  font-weight: 700;
  color: var(--ink-deep);
  font-size: 15px;
}
.pkg-info .pkg-desc { font-size: 13px; color: var(--text-secondary); }
.pkg-price {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 900;
  color: var(--vermillion);
  white-space: nowrap;
}
.pkg-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pkg-qty button {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border-ink);
  background: var(--paper);
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.pkg-qty button:hover { background: var(--paper-dark); }
.pkg-qty .qty-val {
  min-width: 28px;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
}

/* 表单 */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-deep);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-ink);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink-deep);
  font-size: 15px;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--vermillion);
  box-shadow: 0 0 0 3px rgba(196,30,58,0.1);
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b5f5a' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* 上传区域 */
.upload-zone {
  border: 2px dashed var(--border-ink);
  border-radius: var(--radius-md);
  padding: 36px;
  text-align: center;
  background: rgba(245,240,232,0.5);
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
}
.upload-zone:hover, .upload-zone.dragover {
  border-color: var(--vermillion);
  background: rgba(196,30,58,0.03);
}
.upload-zone .upload-icon { font-size: 40px; margin-bottom: 12px; display: block; }
.upload-zone p { color: var(--text-secondary); font-size: 14px; }
.upload-zone .upload-hint { font-size: 12px; color: var(--text-muted); margin-top: 6px; }

.upload-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.upload-thumb {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-ink);
  position: relative;
}
.upload-thumb .remove-btn {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  background: var(--vermillion);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 订单摘要 */
.order-summary {
  background: var(--paper-warm);
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 28px;
}
.order-summary h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--ink-deep);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-ink);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-secondary);
}
.summary-row.total {
  font-size: 20px;
  font-weight: 900;
  color: var(--ink-deep);
  border-top: 1.5px solid var(--border-ink);
  margin-top: 8px;
  padding-top: 16px;
}
.summary-row.total span:last-child { color: var(--vermillion); font-family: var(--font-heading); }

/* PayPal 按钮容器 */
.paypal-btn-wrap { margin-top: 20px; min-height: 50px; }

/* ---------- 后台管理 ---------- */
.admin-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--border-ink);
  margin-bottom: 32px;
}
.admin-tab {
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  border: none;
  background: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
}
.admin-tab:hover { color: var(--ink-deep); }
.admin-tab.active { color: var(--vermillion); border-bottom-color: var(--vermillion); }

.admin-panel { display: none; }
.admin-panel.active { display: block; }

/* 数据表格 */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper-warm);
  border: 1px solid var(--border-ink);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.admin-table th {
  background: rgba(26,22,20,0.04);
  padding: 12px 16px;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-ink);
}
.admin-table td {
  padding: 12px 16px;
  font-size: 14px;
  color: var(--ink-medium);
  border-bottom: 1px solid var(--border-ink);
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover { background: rgba(26,22,20,0.02); }

.status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-xl);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.status-new { background: rgba(201,169,110,0.15); color: #8b6914; }
.status-processing { background: rgba(59,130,246,0.1); color: #1d4ed8; }
.status-completed { background: rgba(16,185,129,0.1); color: #059669; }
.status-cancelled { background: rgba(239,68,68,0.1); color: #dc2626; }

/* ---------- 页脚 ---------- */
.footer {
  background: var(--ink-deep);
  color: var(--paper-dark);
  padding: 60px 0 30px;
  margin-top: 80px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; } }

.footer-brand .logo { color: var(--paper); margin-bottom: 12px; display: inline-block; }
.footer-brand p { font-size: 14px; color: var(--paper-dark); line-height: 1.7; }
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  color: var(--paper);
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--paper-dark);
  padding: 4px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 20px 24px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--paper-dark);
}
@media (max-width: 480px) { .footer-bottom { flex-direction: column; gap: 8px; } }

/* ---------- 动画 ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp 0.5s ease-out forwards; }

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--border-ink);
    padding: 12px 24px 20px;
    gap: 4px;
  }
  .nav-toggle { display: flex; }
  .hero { padding: 60px 0 50px; }
  .section { padding: 60px 0; }
  .detail-video-wrap { max-width: 100%; }
}
