/* 肆观直播网 - 五音疗愈 · 国风康养 */
/* site.css v16 - 完整样式 */

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

:root {
  --primary: #8B4513;
  --primary-light: #D2691E;
  --primary-dark: #654321;
  --accent: #CD853F;
  --bg: #FAF8F5;
  --bg-card: #FFFFFF;
  --text: #333333;
  --text-light: #666666;
  --text-muted: #999999;
  --border: #E8E0D8;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 4px 24px rgba(0, 0, 0, 0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --cinnabar: #C0392B;
  --jade: #2E7D32;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary-light);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== 顶部栏 ===== */
.topbar {
  background: var(--primary-dark);
  color: #fff;
  font-size: 13px;
  padding: 8px 0;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-right a {
  color: #fff;
  margin-left: 12px;
}

.topbar-right a:hover {
  color: var(--accent);
}

.topbar-right .sep {
  color: rgba(255, 255, 255, 0.5);
  margin-left: 12px;
}

/* ===== 头部导航 ===== */
.site-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--primary);
}

.brand-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-dark);
}

.brand-text small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 2px;
}

.nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav a {
  color: var(--text);
  font-size: 15px;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

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

/* ===== 首页 Hero ===== */
.hero {
  background: linear-gradient(135deg, #f5f0eb 0%, #ede5db 50%, #e8ddd2 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(139,69,19,0.06) 0%, transparent 70%);
}

.hero-stage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.hero-box {
  flex: 1;
  max-width: 520px;
}

.hero-seal {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin-bottom: 20px;
}

.hero-box h1 {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.hero-box .sub {
  font-size: 18px;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-tags span {
  padding: 6px 16px;
  background: rgba(139, 69, 19, 0.1);
  border-radius: 20px;
  font-size: 14px;
  color: var(--primary);
}

.hero-box p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 24px;
}

.hero-box .btn {
  background: var(--primary);
  color: #fff;
  padding: 14px 32px;
  font-size: 16px;
  border-radius: 30px;
}

.hero-box .btn:hover {
  background: var(--primary-light);
  color: #fff;
}

.hero-phone {
  flex-shrink: 0;
}

.hero-phone-stage {
  width: 260px;
}

/* ===== 手机舞台 ===== */
.phone-stage {
  width: 280px;
  margin: 0 auto;
}

.phone-notch {
  width: 120px;
  height: 24px;
  background: #1a1a1a;
  border-radius: 0 0 16px 16px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ===== 视频外壳 ===== */
.video-shell {
  width: 100%;
  aspect-ratio: 9/16;
  background: #1a1a1a;
  border-radius: 0 0 20px 20px;
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center;
}

.video-shell video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-shell.lock::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
}

/* ===== 点播覆盖层 ===== */
.vod-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  color: #fff;
}

.vod-overlay-free {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
}

.vod-overlay h1 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.vod-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  margin-bottom: 10px;
  align-items: center;
}

.vod-meta span {
  white-space: nowrap;
}

.tag-live {
  background: #E74C3C;
  color: #fff;
  padding: 2px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
}

.tag-free {
  background: #2E7D32;
  color: #fff;
  padding: 2px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
}

.vod-schedule {
  font-size: 14px;
  margin-bottom: 6px;
  opacity: 0.9;
}

.vod-desc {
  font-size: 13px;
  opacity: 0.8;
  margin-bottom: 12px;
}

.vod-actions {
  margin-top: 12px;
}

.vod-actions .btn {
  background: var(--primary);
  color: #fff;
  padding: 10px 24px;
  border-radius: 20px;
  font-size: 14px;
  border: none;
  cursor: pointer;
}

.vod-actions .btn:hover {
  background: var(--primary-light);
  color: #fff;
}

/* ===== 点播页面布局 ===== */
.vod-page {
  padding: 30px 0;
}

.vod-wrap {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.vod-wrap > .phone-stage {
  flex-shrink: 0;
  width: 300px;
}

.vod-panel {
  flex: 1;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 24px;
}

.vod-panel h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 16px;
}

.balance {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 14px;
}

.balance strong {
  font-size: 18px;
}

/* ===== 礼物网格（模板用 .gift 类） ===== */
.gift-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.gift {
  text-align: center;
  padding: 12px 8px;
  background: var(--bg);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
}

.gift:hover {
  background: var(--border);
  transform: translateY(-2px);
}

.gift.selected {
  border-color: var(--primary);
  background: rgba(139, 69, 19, 0.06);
}

.gift img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 6px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.gift .name {
  font-size: 13px;
  color: var(--text);
  margin-bottom: 4px;
}

.gift .price {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
}

/* ===== 打赏列表 ===== */
.tip-list {
  list-style: none;
  max-height: 200px;
  overflow-y: auto;
}

.tip-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.tip-list li:last-child {
  border-bottom: none;
}

/* ===== 通用按钮扩展 ===== */
.btn {
  display: inline-block;
  padding: 10px 24px;
  border: none;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  text-decoration: none;
  line-height: 1.5;
}

.btn:hover {
  opacity: 0.9;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-light);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--text-light);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-jade {
  background: var(--jade);
  color: #fff;
}

.btn-jade:hover {
  background: #1B5E20;
  color: #fff;
}

.btn-block {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 12px;
}

.btn-block:hover {
  background: var(--primary-light);
  color: #fff;
}

.btn-sm {
  padding: 6px 16px;
  font-size: 13px;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
}

/* ===== 提示文字 ===== */
.note {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 8px;
}

/* ===== 徽章 ===== */
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  z-index: 2;
}

.badge-live {
  background: #E74C3C;
  animation: pulse-live 2s infinite;
}

@keyframes pulse-live {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* ===== 封面视频 ===== */
.cover-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== 直播中心页面 ===== */
.page-hero {
  background: linear-gradient(135deg, #f5f0eb 0%, #ede5db 100%);
  padding: 40px 0;
  text-align: center;
}

.page-hero .ornament {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 12px;
}

.page-hero h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.page-hero p {
  font-size: 15px;
  color: var(--text-light);
}

.subnav {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.subnav-inner {
  display: flex;
  gap: 0;
  overflow-x: auto;
}

.subnav-inner a {
  padding: 14px 20px;
  font-size: 14px;
  color: var(--text-light);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: all 0.2s;
}

.subnav-inner a:hover,
.subnav-inner a.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* ===== 筛选芯片 ===== */
.filters {
  display: flex;
  gap: 10px;
  margin: 24px 0;
  flex-wrap: wrap;
}

.chip {
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 14px;
  color: var(--text-light);
  transition: all 0.2s;
  text-decoration: none;
}

.chip:hover,
.chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ===== 房间网格 ===== */
.room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.room-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: var(--text);
}

.room-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  color: var(--text);
}

.room-card .room-cover {
  width: 100%;
  height: 200px;
  background: #f0ebe5;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.room-card .room-cover video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.room-body {
  padding: 16px;
}

.room-body h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.room-body .meta {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.schedule-line {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.live-line {
  color: #E74C3C;
  font-weight: 600;
}

/* ===== 首页模块 ===== */
.section {
  padding: 50px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 36px;
}

.section-head .ornament {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.section-line {
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin: 0 auto;
  border-radius: 2px;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.module-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: var(--text);
}

.module-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  color: var(--text);
}

.module-cover {
  width: 100%;
  height: 200px;
  background: #f0ebe5;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.module-cover video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.module-body {
  padding: 16px;
}

.module-body h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.module-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.6;
}

.module-cta {
  display: inline-block;
  margin-top: 8px;
}

.module-card .meta {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* ===== 卡片 ===== */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 24px;
  margin-bottom: 20px;
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

/* ===== 表单 ===== */
.form-group {
  margin-bottom: 20px;
}

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

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s;
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.form-textarea {
  min-height: 100px;
  resize: vertical;
}

/* ===== 分页 ===== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  transition: all 0.2s;
}

.pagination a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.pagination .active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ===== 提示/通知 ===== */
.alert {
  padding: 14px 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 14px;
}

.alert-success {
  background: #E8F5E9;
  color: #2E7D32;
  border: 1px solid #C8E6C9;
}

.alert-error {
  background: #FFEBEE;
  color: #C62828;
  border: 1px solid #FFCDD2;
}

.alert-info {
  background: #E3F2FD;
  color: #1565C0;
  border: 1px solid #BBDEFB;
}

.alert-warning {
  background: #FFF8E1;
  color: #F57F17;
  border: 1px solid #FFECB3;
}

/* ===== 标签 ===== */
.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.tag-primary {
  background: rgba(139, 69, 19, 0.1);
  color: var(--primary);
}

.tag-success {
  background: #E8F5E9;
  color: #2E7D32;
}

.tag-danger {
  background: #FFEBEE;
  color: #C62828;
}

/* ===== 支付弹窗 ===== */
.pay-mask {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.pay-mask.show {
  display: flex;
}

.pay-dialog {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px;
  max-width: 400px;
  width: 90%;
  position: relative;
  text-align: center;
}

.pay-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1;
}

.pay-close:hover {
  color: var(--text);
}

.pay-amount {
  font-size: 32px;
  font-weight: 700;
  color: #E74C3C;
  margin: 16px 0;
}

.pay-dialog img {
  max-width: 200px;
  margin: 16px auto;
  display: block;
}

.pay-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}

/* ===== 页脚 ===== */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 40px 0 20px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-title {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-meta {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
  font-size: 13px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.6);
}

.footer-meta a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-meta a:hover {
  color: #fff;
}

/* ===== 页面内容 ===== */
.page-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-content h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--primary-dark);
}

.page-content h2 {
  font-size: 22px;
  font-weight: 600;
  margin: 30px 0 16px;
  color: var(--text);
}

.page-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 24px 0 12px;
  color: var(--text);
}

.page-content p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.page-content ul,
.page-content ol {
  margin: 16px 0;
  padding-left: 24px;
}

.page-content li {
  margin-bottom: 8px;
  line-height: 1.8;
}

/* ===== 用户中心 ===== */
.member-sidebar {
  width: 200px;
  flex-shrink: 0;
}

.member-sidebar a {
  display: block;
  padding: 12px 16px;
  color: var(--text);
  border-radius: var(--radius);
  margin-bottom: 4px;
  transition: all 0.2s;
}

.member-sidebar a:hover,
.member-sidebar a.active {
  background: rgba(139, 69, 19, 0.08);
  color: var(--primary);
}

.member-content {
  flex: 1;
}

.member-layout {
  display: flex;
  gap: 30px;
}

/* ===== 登录/注册 ===== */
.auth-container {
  max-width: 420px;
  margin: 60px auto;
}

.auth-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px;
}

.auth-title {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--primary-dark);
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    gap: 12px;
  }

  .nav {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-stage {
    flex-direction: column;
    text-align: center;
  }

  .hero-tags {
    justify-content: center;
  }

  .vod-wrap {
    flex-direction: column;
    align-items: center;
  }

  .vod-wrap > .phone-stage {
    width: 100%;
    max-width: 300px;
  }

  .room-grid,
  .module-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .member-layout {
    flex-direction: column;
  }

  .member-sidebar {
    width: 100%;
  }

  .auth-container {
    margin: 30px 20px;
  }

  .auth-card {
    padding: 24px;
  }

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

/* ===== 表格 ===== */
.table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.table th,
.table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.table th {
  background: var(--bg);
  font-weight: 600;
  color: var(--text-light);
}

.table tr:hover td {
  background: rgba(139, 69, 19, 0.02);
}

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

.stat-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 24px;
  text-align: center;
}

.stat-value {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
}

/* ===== 播放按钮 ===== */
.play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.play-btn:hover {
  background: var(--primary-light);
  transform: translate(-50%, -50%) scale(1.1);
}

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

.loading::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-left: 8px;
  vertical-align: middle;
}

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

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

.empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.empty-text {
  font-size: 16px;
}

/* ===== 视频播放器 ===== */
.video-player {
  width: 100%;
  aspect-ratio: 9/16;
  max-height: 600px;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.video-player video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
