:root {
  --primary: #0891b2;
  --primary-dark: #0e7490;
  --primary-light: #22d3ee;
  --secondary: #6366f1;
  --accent: #f59e0b;
  --bg: #f8fafc;
  --bg-white: #ffffff;
  --text: #1e293b;
  --text-light: #64748b;
  --border: #e2e8f0;
  --danger: #ef4444;
  --warning: #f59e0b;
  --success: #10b981;
  --shadow: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

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

body {
  font-family: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

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

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

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

/* Header - Glassmorphism Style */
.header {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(226,232,240,0.5);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  gap: 16px;
}

.logo {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
}

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

.nav a {
  color: var(--text);
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 6px;
  transition: all 0.2s;
  font-size: 13px;
}

.nav a:hover,
.nav a.active {
  color: var(--primary);
  background: rgba(8,145,178,0.08);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s;
  border: none;
  font-size: 13px;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(8,145,178,0.3);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(8,145,178,0.4);
  color: white;
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary) 0%, #4f46e5 100%);
  color: white;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(8,145,178,0.05);
}

.btn-danger {
  background: var(--danger);
  color: white;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 8px;
}

/* Search Bar */
.search-bar {
  display: flex;
  gap: 12px;
  max-width: 700px;
  margin: 30px auto;
  flex-wrap: wrap;
}

.search-bar input {
  flex: 1;
  min-width: 200px;
  padding: 14px 20px;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-size: 15px;
  outline: none;
  transition: all 0.2s;
  background: white;
}

.search-bar input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(8,145,178,0.1);
}

.search-bar button {
  padding: 14px 28px;
  border-radius: 12px;
}

/* Category Tabs */
.category-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.category-tab {
  padding: 12px 24px;
  border-radius: 10px;
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all 0.25s;
  font-weight: 500;
  font-size: 14px;
  color: var(--text);
}

.category-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.category-tab.active {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 12px rgba(8,145,178,0.3);
}

/* Products Grid - Single Column List */
.products-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 30px 0;
}

.product-card {
  background: var(--bg-white);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.25s;
  text-decoration: none;
  color: inherit;
  border: 1px solid #3b82f6;
  display: flex;
  padding: 16px;
}

.product-card:hover {
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.product-image {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  flex-shrink: 0;
}

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

.product-image .placeholder {
  color: var(--text-light);
  font-size: 36px;
  opacity: 0.4;
}

.product-badge {
  display: none;
}

.product-info {
  flex: 1;
  padding: 0 20px;
  min-width: 0;
}

.product-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
  line-height: 1.4;
}

.product-title .category-tag {
  display: inline-block;
  background: #f87171;
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  margin-right: 8px;
}

.product-desc {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-category-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  background: #f1f5f9;
  color: #64748b;
  border-radius: 20px;
  font-size: 13px;
}

.product-publisher {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #94a3b8;
  font-size: 13px;
}

.product-date {
  color: #94a3b8;
  font-size: 13px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.product-category {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  background: rgba(8,145,178,0.08);
  color: var(--primary);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.product-views {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-light);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-light);
  grid-column: 1 / -1;
}

.empty-state svg {
  width: 100px;
  height: 100px;
  margin-bottom: 24px;
  opacity: 0.3;
}

.empty-state h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--text);
}

.empty-state p {
  margin-bottom: 20px;
}

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

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

.form-group label .required {
  color: var(--danger);
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-size: 15px;
  transition: all 0.2s;
  font-family: inherit;
  background: white;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(8,145,178,0.1);
}

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

select.form-control {
  cursor: pointer;
}

/* Auth Pages */
.auth-page {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #faf5ff 100%);
}

.auth-card {
  background: var(--bg-white);
  padding: 48px;
  border-radius: 24px;
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 440px;
  border: 1px solid rgba(226,232,240,0.8);
}

.auth-card h2 {
  text-align: center;
  margin-bottom: 32px;
  color: var(--text);
  font-size: 24px;
  font-weight: 700;
}

.auth-footer {
  text-align: center;
  margin-top: 24px;
  color: var(--text-light);
}

.auth-footer a {
  font-weight: 600;
}

/* User Info Bar */
.user-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: linear-gradient(135deg, rgba(8,145,178,0.08) 0%, rgba(99,102,241,0.08) 100%);
  border-radius: 20px;
  font-size: 13px;
  border: 1px solid rgba(8,145,178,0.15);
}

.user-bar .avatar {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 12px;
}

/* Footer */
.footer {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  color: white;
  padding: 60px 0 30px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer h4 {
  margin-bottom: 20px;
  color: var(--primary-light);
  font-size: 16px;
  font-weight: 600;
}

.footer p, .footer a {
  color: #94a3b8;
  font-size: 14px;
  line-height: 2;
}

.footer a {
  display: block;
  transition: color 0.2s;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(148,163,184,0.2);
  font-size: 13px;
}

.footer-bottom a {
  display: inline;
  color: #64748b;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 60px 0;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header .container {
  position: relative;
}

.page-header h1 {
  font-size: 32px;
  margin-bottom: 12px;
  font-weight: 700;
}

.page-header p {
  opacity: 0.9;
  font-size: 16px;
}

/* Product Detail */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: var(--bg-white);
  padding: 40px;
  border-radius: 20px;
  margin: 30px 0;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.product-detail-image {
  background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
  border-radius: 16px;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-detail-info h2 {
  font-size: 26px;
  margin-bottom: 20px;
  font-weight: 700;
  color: var(--text);
}

.product-detail-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  font-size: 14px;
}

.product-detail-price {
  font-size: 32px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  margin: 24px 0;
}

.product-detail-desc {
  color: var(--text-light);
  line-height: 1.8;
}

.product-detail-desc h4 {
  color: var(--text);
  margin-bottom: 12px;
  font-size: 16px;
}

/* Toast Notification */
.toast {
  position: fixed;
  top: 100px;
  right: 20px;
  padding: 16px 24px;
  border-radius: 12px;
  color: white;
  font-weight: 500;
  z-index: 1000;
  animation: slideIn 0.3s ease;
  box-shadow: var(--shadow-lg);
}

.toast.success {
  background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
}

.toast.error {
  background: linear-gradient(135deg, var(--danger) 0%, #dc2626 100%);
}

.toast.warning {
  background: linear-gradient(135deg, var(--warning) 0%, #d97706 100%);
}

@keyframes slideIn {
  from {
    transform: translateX(120%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Image Upload */
.image-upload {
  border: 2px dashed var(--border);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: rgba(248,250,252,0.5);
}

.image-upload:hover {
  border-color: var(--primary);
  background: rgba(8,145,178,0.03);
}

.image-upload input {
  display: none;
}

.image-preview {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.image-preview img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15,23,42,0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-content {
  background: var(--bg-white);
  border-radius: 20px;
  padding: 32px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.modal-header h3 {
  font-size: 20px;
  font-weight: 600;
}

.modal-close {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--text-light);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.modal-close:hover {
  background: var(--bg);
  color: var(--text);
}

/* Admin */
.admin-sidebar {
  position: fixed;
  left: 0;
  top: 65px;
  width: 240px;
  height: calc(100vh - 65px);
  background: var(--bg-white);
  border-right: 1px solid var(--border);
  padding: 24px 0;
  box-shadow: 2px 0 8px rgba(0,0,0,0.03);
}

.admin-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  color: var(--text);
  transition: all 0.2s;
  font-size: 14px;
  font-weight: 500;
}

.admin-menu a:hover,
.admin-menu a.active {
  background: rgba(8,145,178,0.08);
  color: var(--primary);
  border-right: 3px solid var(--primary);
}

.admin-main {
  margin-left: 240px;
  padding: 32px;
  min-height: calc(100vh - 65px);
  background: var(--bg);
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.admin-header h2 {
  font-size: 26px;
  font-weight: 700;
}

.admin-card {
  background: var(--bg-white);
  padding: 28px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  border: 1px solid var(--border);
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.stat-card {
  background: var(--bg-white);
  padding: 24px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.3s;
}

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

.stat-card .number {
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-card .label {
  color: var(--text-light);
  font-size: 14px;
  margin-top: 8px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

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

.admin-table th {
  background: var(--bg);
  font-weight: 600;
  color: var(--text);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-table tr:hover {
  background: rgba(8,145,178,0.02);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.status-badge.pending {
  background: rgba(245,158,11,0.1);
  color: #b45309;
}

.status-badge.passed {
  background: rgba(16,185,129,0.1);
  color: #047857;
}

.status-badge.rejected {
  background: rgba(239,68,68,0.1);
  color: #b91c1c;
}

.actions {
  display: flex;
  gap: 8px;
}

/* Dropdown Menu */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-btn {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown-content {
  display: none;
  position: absolute;
  background: var(--bg-white);
  min-width: 180px;
  box-shadow: var(--shadow-xl);
  border-radius: 12px;
  z-index: 1000;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px;
  border: 1px solid var(--border);
}

.nav-dropdown-content a {
  display: block;
  padding: 10px 16px;
  color: var(--text);
  white-space: nowrap;
  transition: all 0.2s;
  border-radius: 8px;
  font-size: 14px;
}

.nav-dropdown-content a:hover {
  background: rgba(8,145,178,0.08);
  color: var(--primary);
}

.nav-dropdown:hover .nav-dropdown-content {
  display: block;
}

/* Utility */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.hidden { display: none !important; }

/* Login Hint */
.login-hint {
  background: linear-gradient(135deg, rgba(99,102,241,0.08) 0%, rgba(8,145,178,0.08) 100%);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
  text-align: center;
}

.login-hint p {
  margin: 4px 0;
  color: #4338ca;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
  .header-inner {
    flex-wrap: wrap;
  }
  
  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    margin-top: 12px;
  }
  
  .admin-sidebar {
    display: none;
  }
  
  .admin-main {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    gap: 12px;
  }
  
  .logo {
    font-size: 18px;
  }
  
  .nav {
    flex-wrap: wrap;
    gap: 4px;
  }
  
  .nav a {
    padding: 8px 12px;
    font-size: 13px;
  }
  
  .hero h1 {
    font-size: 28px;
  }
  
  .product-detail {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  
  .product-detail-image {
    min-height: 280px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .products-grid {
    gap: 8px;
  }
  
  .product-card {
    padding: 12px;
  }
  
  .product-image {
    width: 64px;
    height: 64px;
  }
  
  .search-bar {
    flex-direction: column;
  }
  
  .search-bar input,
  .search-bar button {
    width: 100%;
  }
  
  .auth-card {
    padding: 32px 24px;
  }
  
  .page-header {
    padding: 40px 0;
  }
  
  .page-header h1 {
    font-size: 26px;
  }
  
  .admin-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .admin-table {
    font-size: 13px;
  }
  
  .admin-table th,
  .admin-table td {
    padding: 12px 8px;
  }
}

/* Hot Info Section - Text Only */
.hot-section {
  padding: 60px 0;
  background: #f8fafc;
}

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

.hot-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  margin-bottom: 8px;
  background: white;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s;
  border: 1px solid #e2e8f0;
}

.hot-item:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border-color: #0891b2;
}

.hot-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.hot-index {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.hot-index.top1 {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
}

.hot-index.top2 {
  background: linear-gradient(135deg, #94a3b8, #64748b);
  color: white;
}

.hot-index.top3 {
  background: linear-gradient(135deg, #fb923c, #ea580c);
  color: white;
}

.hot-index.normal {
  background: #f1f5f9;
  color: #64748b;
}

.hot-title {
  font-size: 15px;
  font-weight: 500;
  color: #1e293b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hot-item-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.hot-category {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  background: #f1f5f9;
  color: #64748b;
}

.hot-views {
  font-size: 13px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 4px;
}

.hot-empty {
  text-align: center;
  padding: 60px 20px;
  color: #94a3b8;
}

@media (max-width: 768px) {
  .hot-item {
    padding: 12px 16px;
  }
  
  .hot-title {
    font-size: 14px;
  }
  
  .hot-category {
    display: none;
  }
}

/* Legal Page */
.legal-page {
  padding: 60px 0;
}

.legal-content {
  background: var(--bg-white);
  padding: 48px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.legal-content h2 {
  color: var(--primary);
  margin: 40px 0 20px;
  font-size: 22px;
  font-weight: 700;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}

.legal-content h2:first-child {
  margin-top: 0;
}

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

.legal-content p {
  margin-bottom: 16px;
  text-align: justify;
  line-height: 1.9;
  color: var(--text-light);
}

.legal-content ul {
  margin: 16px 0;
  padding-left: 28px;
}

.legal-content li {
  margin-bottom: 10px;
  line-height: 1.8;
  color: var(--text-light);
}
