/*
 * @copyright Copyright (c) 2024-2026 IUCA技术群组
 * @license WPL (Web Platform License)
 * @author IUCA技术群组
 * @version 2.0.0
 * @email support@iuca.org.cn
 */

/* Apple-inspired Glassmorphism Design */
:root {
  --primary-gradient: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
  --primary-color: #22c55e;
  --secondary-color: #4ade80;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);
  --text-primary: #1a1a1a;
  --text-secondary: #6b7280;
  --text-light: #9ca3af;
  --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-strong: 0 20px 60px rgba(0, 0, 0, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 20px;
  --radius-sm: 16px;
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
  -webkit-tap-highlight-color: transparent; 
}

/* Ensure page background stays consistent */
html { 
  background: linear-gradient(135deg, #f5f7fa 0%, #e8f5e9 50%, #f0fdf4 100%) !important;
  background-attachment: fixed !important;
  background-size: cover !important;
}

body { 
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif; 
  background: transparent !important;
  min-height: 100vh;
  color: var(--text-primary);
  position: relative;
  overflow-x: hidden;
}

/* Background Decorations */
body::before {
  content: '';
  position: fixed;
  top: -20%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

body::after {
  content: '';
  position: fixed;
  bottom: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.container { 
  max-width: 900px; 
  width: 100%; 
  margin: 0 auto; 
  padding: 32px 24px; 
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .container { 
    max-width: 800px; 
    padding: 48px 32px;
  }
}

@media (min-width: 992px) {
  .container { 
    max-width: 1000px; 
  }
}

/* Header Styles */
.header { 
  text-align: center; 
  padding: 24px 0 8px;
  animation: fadeInDown 0.6s ease-out;
}

.logo { 
  font-size: 36px; 
  font-weight: 700; 
  background: var(--primary-gradient);
  -webkit-background-clip: text; 
  background-clip: text; 
  color: transparent; 
  letter-spacing: -0.5px;
}

.logo-sub { 
  font-size: 13px; 
  color: var(--text-light); 
  margin-top: 8px; 
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* Hero Card - New Layout */
.hero-card { 
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  padding: 32px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  gap: 32px;
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-left {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.stat-item {
  text-align: center;
}

.stat-label-top { 
  font-size: 14px; 
  color: var(--text-secondary); 
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 8px;
}

.hero-card .stat-number { 
  font-size: 48px; 
  font-weight: 800; 
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}

.divider {
  width: 1px;
  height: 60px;
  background: rgba(226, 232, 240, 0.8);
}

.hero-right {
  flex: 1;
}

.search-box {
  display: flex;
  align-items: center;
  background: rgba(248, 250, 252, 0.8);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--radius-xl);
  padding: 6px 8px 6px 18px;
  gap: 10px;
}

.search-icon {
  font-size: 20px;
  color: var(--text-light);
}

.search-input-inline { 
  flex: 1;
  padding: 12px 8px;
  background: transparent;
  border: none;
  font-size: 15px; 
  color: var(--text-primary); 
  outline: none; 
  font-weight: 500;
}

.search-input-inline::placeholder { 
  color: var(--text-light); 
  font-weight: 400;
}

.search-btn-inline { 
  background: var(--primary-gradient);
  border: none; 
  padding: 12px 28px; 
  border-radius: var(--radius-lg);
  color: white; 
  font-weight: 700; 
  font-size: 15px; 
  cursor: pointer; 
  transition: all 0.3s var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
  white-space: nowrap;
}

.search-btn-inline:hover { 
  transform: translateY(-1px); 
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
}

/* Statistics Cards - Keep old styles for backwards compatibility */
.stats-grid { 
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 32px;
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.stat-card { 
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--glass-border);
  transition: all 0.4s var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transition: transform 0.4s var(--transition-smooth);
}

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

.stat-card:hover::before {
  transform: scaleX(1);
}

.stat-label { 
  font-size: 14px; 
  color: var(--text-secondary); 
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* Main Cards - Glassmorphism */
.card { 
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  padding: 36px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--glass-border);
  transition: all 0.4s var(--transition-smooth);
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.card:hover {
  box-shadow: var(--shadow-strong);
}

.card-title { 
  font-size: 18px; 
  font-weight: 700; 
  color: var(--text-primary); 
  margin-bottom: 24px; 
  display: flex; 
  align-items: center; 
  gap: 10px; 
  letter-spacing: -0.3px;
}

.card-title i { 
  color: var(--primary-color);
  font-size: 20px;
}

/* Search Input */
.search-input { 
  width: 100%; 
  padding: 18px 24px; 
  background: rgba(248, 250, 252, 0.8);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--radius-lg);
  font-size: 16px; 
  color: var(--text-primary); 
  outline: none; 
  transition: all 0.3s var(--transition-smooth);
  font-weight: 500;
}

.search-input:focus { 
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
  background: rgba(255, 255, 255, 0.95);
}

.search-input::placeholder { 
  color: var(--text-light); 
  font-weight: 400;
}

.search-btn { 
  width: 100%; 
  background: var(--primary-gradient);
  border: none; 
  padding: 16px; 
  border-radius: var(--radius-lg);
  color: white; 
  font-weight: 700; 
  font-size: 16px; 
  cursor: pointer; 
  transition: all 0.3s var(--transition-smooth);
  margin-top: 16px; 
  letter-spacing: 0.3px;
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.search-btn:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
}

.search-btn:active {
  transform: translateY(0);
}

.search-hint { 
  font-size: 12px; 
  color: var(--text-light); 
  text-align: center; 
  margin-top: 16px;
  letter-spacing: 0.2px;
}

/* Result Cards */
.result-card { 
  margin-top: 24px; 
  padding: 20px 24px; 
  border-radius: var(--radius-lg);
  animation: fadeIn 0.4s var(--transition-smooth);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
}

.result-card.normal { 
  border-color: rgba(165, 214, 167, 0.6);
}

.result-card.normal .result-status { 
  color: #2e7d32; 
}

.result-card.blocked { 
  border-color: rgba(239, 154, 154, 0.6);
}

.result-card.blocked .result-status { 
  color: #c62828; 
}

.result-card.error { 
  border-color: rgba(255, 204, 128, 0.6);
}

.result-card.error .result-status { 
  color: #e65100; 
}

.result-status { 
  font-size: 18px; 
  font-weight: 700; 
  margin-bottom: 10px; 
  letter-spacing: -0.2px;
}

.result-message { 
  font-size: 15px; 
  color: var(--text-secondary); 
  line-height: 1.6;
}

.result-reason { 
  margin-top: 14px; 
  padding: 14px 18px; 
  background: rgba(0, 0, 0, 0.04);
  border-radius: var(--radius-md);
  font-size: 14px; 
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Blacklist Section */
.blacklist-header { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  margin-bottom: 20px; 
}

.blacklist-header h3 { 
  font-size: 16px; 
  color: var(--text-secondary); 
  font-weight: 600; 
  letter-spacing: 0.2px;
}

.blacklist-count { 
  background: rgba(220, 252, 231, 0.9);
  backdrop-filter: blur(10px);
  padding: 6px 14px; 
  border-radius: var(--radius-sm);
  font-size: 13px; 
  color: var(--primary-color); 
  font-weight: 700;
}

.refresh-btn { 
  background: rgba(248, 250, 252, 0.8);
  border: none; 
  color: var(--text-light);
  font-size: 18px; 
  cursor: pointer; 
  padding: 8px; 
  border-radius: 50%; 
  transition: all 0.3s var(--transition-smooth);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.refresh-btn:hover { 
  color: var(--primary-color); 
  background: rgba(220, 252, 231, 0.9);
  transform: rotate(180deg);
}

.blacklist-list { 
  max-height: 45vh;
  overflow-y: auto; 
  min-height: 180px;
  padding-right: 4px;
}

.blacklist-item { 
  background: rgba(248, 250, 252, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  padding: 14px 20px; 
  margin-bottom: 12px; 
  transition: all 0.3s var(--transition-smooth);
  border: 1px solid rgba(238, 242, 246, 0.7);
  display: flex;
  align-items: center;
  gap: 14px;
}

.blacklist-item:hover { 
  border-color: rgba(34, 197, 94, 0.3);
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.item-qq { 
  font-size: 14px; 
  font-weight: 700; 
  color: #c62828; 
  background: rgba(255, 235, 238, 0.9);
  padding: 6px 12px; 
  border-radius: 9999px;
  font-family: 'SF Mono', Monaco, Consolas, monospace; 
  flex-shrink: 0;
}

.item-reason-inline { 
  font-size: 14px; 
  color: var(--text-secondary); 
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}

.detail-btn-inline { 
  background: var(--primary-gradient);
  border: none; 
  padding: 7px 16px; 
  border-radius: 9999px;
  font-size: 13px; 
  color: white; 
  cursor: pointer; 
  transition: all 0.3s var(--transition-smooth);
  font-weight: 600;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.25);
}

.detail-btn-inline:hover { 
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
}

/* Full blacklist item styles */
.blacklist-item-full { 
  background: rgba(248, 250, 252, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 18px 22px; 
  margin-bottom: 14px; 
  transition: all 0.3s var(--transition-smooth);
  border: 1px solid rgba(238, 242, 246, 0.7);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  position: relative;
}

.blacklist-item-full:hover { 
  border-color: rgba(34, 197, 94, 0.3);
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.item-left-section {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
}

.item-qq-wrapper {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}

.item-qq-wrapper .item-qq {
  font-size: 14px; 
  font-weight: 700; 
  color: #c62828; 
  background: rgba(255, 235, 238, 0.9);
  padding: 6px 12px; 
  border-radius: 9999px;
  font-family: 'SF Mono', Monaco, Consolas, monospace; 
}

.item-qq-wrapper .item-date {
  font-size: 12px; 
  color: var(--text-light); 
  font-weight: 500;
  padding-left: 4px;
}

.item-reason-center {
  font-size: 14px; 
  color: var(--text-secondary); 
  flex: 1;
  text-align: center;
}

.item-right-section {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

.source-platform {
  font-size: 12px; 
  color: #3b82f6; 
  font-weight: 600;
}

.button-group {
  display: flex;
  gap: 8px;
}

.detail-btn-small { 
  background: rgba(220, 252, 231, 0.9);
  border: none; 
  padding: 8px 14px; 
  border-radius: var(--radius-md);
  font-size: 13px; 
  color: var(--primary-color); 
  cursor: pointer; 
  transition: all 0.3s var(--transition-smooth);
  font-weight: 600;
  white-space: nowrap;
}

.detail-btn-small:hover { 
  background: var(--primary-gradient);
  color: white; 
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.modify-btn {
  background: rgba(255, 248, 220, 0.9);
  color: #d97706;
}

.modify-btn:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

@media (max-width: 768px) {
  .blacklist-item-full {
    flex-direction: column;
    align-items: stretch;
  }
  
  .item-left-section {
    flex-direction: column;
    gap: 12px;
  }
  
  .item-qq-wrapper {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
  
  .item-right-section {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  
  .button-group {
    flex-direction: row;
  }
}

@media (max-width: 480px) {
  .item-right-section {
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
  }
  
  .button-group {
    flex-direction: row;
    justify-content: center;
  }
  
  .detail-btn-small {
    flex: 1;
  }
}

/* Keep old styles for backwards compatibility */
.item-row { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  margin-bottom: 10px; 
  flex-wrap: wrap; 
  gap: 10px; 
}

.item-date { 
  font-size: 12px; 
  color: var(--text-light); 
  font-weight: 500;
}

.item-reason { 
  font-size: 14px; 
  color: var(--text-secondary); 
  line-height: 1.6;
}

.detail-btn { 
  margin-top: 14px; 
  background: rgba(220, 252, 231, 0.9);
  border: none; 
  padding: 10px 20px; 
  border-radius: var(--radius-md);
  font-size: 13px; 
  color: var(--primary-color); 
  cursor: pointer; 
  transition: all 0.3s var(--transition-smooth);
  font-weight: 600;
}

.detail-btn:hover { 
  background: var(--primary-gradient);
  color: white; 
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

/* Detail Section */
.detail-section { 
  padding-top: 8px; 
}

.detail-row { 
  display: flex; 
  justify-content: space-between; 
  padding: 14px 0; 
  border-bottom: 1px solid rgba(240, 242, 245, 0.8);
  align-items: center; 
}

.detail-row.full { 
  align-items: flex-start; 
}

.detail-label { 
  font-size: 14px; 
  color: var(--text-secondary); 
  font-weight: 600; 
}

.detail-value { 
  font-size: 14px; 
  color: var(--text-primary); 
  font-weight: 600; 
}

.detail-value-full { 
  font-size: 14px; 
  color: var(--text-secondary); 
  margin-top: 6px; 
  line-height: 1.7; 
}

.other-account { 
  font-size: 13px; 
  color: var(--text-secondary);
  padding: 6px 0; 
}

.platform-divider { 
  height: 1px; 
  background: rgba(238, 242, 246, 0.8);
  margin: 16px 0; 
}

.platform-item {
  padding: 4px 0;
}

.platform-item > div {
  margin-bottom: 6px;
}

/* Action Button */
.action-btn { 
  width: 100%; 
  background: rgba(248, 250, 252, 0.8);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(226, 232, 240, 0.8);
  padding: 16px; 
  border-radius: var(--radius-lg);
  font-size: 16px; 
  font-weight: 600; 
  color: var(--primary-color); 
  cursor: pointer; 
  transition: all 0.3s var(--transition-smooth);
  display: flex; 
  align-items: center; 
  justify-content: center; 
  gap: 10px; 
  margin-top: 20px; 
}

.action-btn:hover { 
  background: rgba(220, 252, 231, 0.9);
  border-color: var(--primary-color);
  transform: translateY(-1px);
}

/* Modal */
.modal-overlay { 
  display: none; 
  position: fixed; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%; 
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px); 
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000; 
  justify-content: center; 
  align-items: center; 
  padding: 24px; 
  animation: fadeInOverlay 0.3s ease-out;
}

.modal-overlay.active { 
  display: flex; 
}

.modal-content { 
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  max-width: 500px; 
  width: 100%; 
  border-radius: var(--radius-xl);
  padding: 32px 28px; 
  box-shadow: var(--shadow-strong);
  border: 1px solid var(--glass-border);
  animation: scaleIn 0.3s var(--transition-smooth);
}

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

.modal-header h3 { 
  font-size: 24px; 
  color: var(--text-primary); 
  font-weight: 800;
  letter-spacing: -0.5px;
}

.modal-close { 
  background: rgba(248, 250, 252, 0.8);
  border: none; 
  font-size: 28px; 
  cursor: pointer; 
  color: var(--text-light); 
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: all 0.3s var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.modal-close:hover { 
  color: var(--text-primary); 
  background: rgba(229, 231, 235, 0.8);
  transform: rotate(90deg);
}

/* Form Styles */
.form-group { 
  margin-bottom: 24px; 
}

.form-group label { 
  display: block; 
  margin-bottom: 10px; 
  font-size: 14px; 
  color: var(--text-secondary); 
  font-weight: 600; 
  letter-spacing: 0.2px;
}

.form-group input, 
.form-group textarea { 
  width: 100%; 
  padding: 16px 18px; 
  background: rgba(248, 250, 252, 0.8);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--radius-lg);
  font-size: 15px; 
  color: var(--text-primary); 
  font-family: inherit; 
  transition: all 0.3s var(--transition-smooth);
  font-weight: 500;
}

.form-group input:focus, 
.form-group textarea:focus { 
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
  background: rgba(255, 255, 255, 0.95);
}

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

.submit-btn { 
  width: 100%; 
  background: var(--primary-gradient);
  border: none; 
  padding: 16px; 
  border-radius: var(--radius-lg);
  color: white; 
  font-weight: 700; 
  font-size: 16px; 
  cursor: pointer; 
  transition: all 0.3s var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
}

/* Footer */
.footer { 
  text-align: center; 
  margin-top: 32px; 
  color: var(--text-light); 
  font-size: 12px; 
  padding-bottom: 32px; 
  letter-spacing: 0.3px;
  font-weight: 500;
}

/* Loading */
.loading { 
  display: inline-block; 
  width: 20px; 
  height: 20px; 
  border: 3px solid rgba(34, 197, 94, 0.2);
  border-radius: 50%; 
  border-top-color: var(--primary-color); 
  animation: spin 0.7s linear infinite; 
}

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

.modal-overlay .loading { 
  display: block; 
  margin: 40px auto; 
  width: 48px; 
  height: 48px; 
  border-width: 4px; 
}

.modal-content .loading-text { 
  text-align: center; 
  color: var(--text-secondary); 
  font-size: 14px; 
  margin-top: 12px;
  font-weight: 500;
}

/* Empty State */
.empty-state { 
  text-align: center; 
  padding: 40px 20px; 
  color: var(--text-light); 
  font-size: 14px; 
  font-weight: 500;
  letter-spacing: 0.2px;
}

.privacy-note { 
  font-size: 11px; 
  color: var(--text-light); 
  text-align: center; 
  margin-top: 16px; 
  padding-top: 16px; 
  border-top: 1px solid rgba(238, 242, 246, 0.8);
  letter-spacing: 0.2px;
  font-weight: 500;
}

/* Animations */
@keyframes fadeIn { 
  from { 
    opacity: 0; 
    transform: translateY(12px); 
  } 
  to { 
    opacity: 1; 
    transform: translateY(0); 
  } 
}

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

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInOverlay {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Scrollbar */
.blacklist-list::-webkit-scrollbar { 
  width: 6px; 
}

.blacklist-list::-webkit-scrollbar-track { 
  background: rgba(238, 242, 246, 0.6);
  border-radius: 4px; 
}

.blacklist-list::-webkit-scrollbar-thumb { 
  background: rgba(156, 163, 175, 0.6);
  border-radius: 4px; 
  transition: background 0.3s;
}

.blacklist-list::-webkit-scrollbar-thumb:hover {
  background: rgba(107, 114, 128, 0.8);
}

/* Navbar */
.navbar { 
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-soft);
  padding: 16px 24px; 
  position: sticky; 
  top: 0; 
  z-index: 100; 
  border-bottom: 1px solid var(--glass-border);
  animation: fadeInDown 0.5s ease-out;
}

.navbar-content { 
  max-width: 1000px; 
  margin: 0 auto; 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
}

.navbar .logo {
  font-size: 20px;
  font-weight: 800;
}

.navbar-links { 
  display: flex; 
  gap: 8px; 
  flex-wrap: wrap;
  justify-content: flex-end;
}

.navbar-links a { 
  text-decoration: none; 
  color: var(--text-secondary); 
  font-size: 14px; 
  font-weight: 600; 
  padding: 10px 16px; 
  border-radius: var(--radius-md);
  transition: all 0.3s var(--transition-smooth);
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.navbar-links a:hover, 
.navbar-links a.active { 
  background: rgba(220, 252, 231, 0.9);
  color: var(--primary-color); 
  transform: translateY(-1px);
}

@media (min-width: 768px) {
  .navbar-content { 
    max-width: 800px; 
  }
  
  .navbar-links {
    gap: 12px;
  }
}

@media (min-width: 992px) {
  .navbar-content { 
    max-width: 1000px; 
  }
  
  .navbar-links a { 
    font-size: 15px; 
    padding: 12px 20px; 
  }
}

@media (max-width: 640px) {
  .navbar-links { 
    gap: 6px; 
  }
  
  .navbar-links a { 
    font-size: 12px; 
    padding: 8px 12px; 
  }
  
  .navbar {
    padding: 12px 16px;
  }
}

@media (max-width: 768px) {
  .hero-card {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 28px 24px;
  }
  
  .hero-left {
    justify-content: center;
    gap: 20px;
  }
  
  .divider {
    height: 50px;
  }
  
  .hero-card .stat-number {
    font-size: 40px;
  }
  
  .search-box {
    padding: 6px 8px 6px 14px;
  }
  
  .search-input-inline {
    font-size: 14px;
  }
  
  .search-btn-inline {
    padding: 10px 20px;
    font-size: 14px;
  }
}

@media (max-width: 640px) {
  .blacklist-item {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  
  .item-qq {
    align-self: flex-start;
  }
  
  .item-reason-inline {
    white-space: normal;
  }
  
  .detail-btn-inline {
    align-self: flex-end;
  }
}

@media (max-width: 480px) {
  .hero-card {
    padding: 24px 20px;
  }
  
  .hero-left {
    flex-direction: column;
    gap: 16px;
  }
  
  .divider {
    width: 60%;
    height: 1px;
  }
  
  .search-box {
    flex-direction: column;
    border-radius: var(--radius-lg);
    padding: 12px;
  }
  
  .search-input-inline {
    width: 100%;
    text-align: center;
  }
  
  .search-btn-inline {
    width: 100%;
  }
  
  .stats-grid { 
    grid-template-columns: 1fr;
  }
  
  .stat-card { 
    padding: 24px 20px; 
  }
  
  .card {
    padding: 28px 24px;
  }
  
  .blacklist-list { 
    max-height: 40vh; 
  }
}

@media (min-width: 768px) {
  .blacklist-list { 
    max-height: 55vh; 
  }
}

@media (min-width: 992px) {
  .blacklist-list { 
    max-height: 65vh; 
  }
}

/* Modify Logs */
.modify-logs {
  margin-top: 8px;
}

.log-item {
  padding: 12px 16px;
  background: rgba(248, 250, 252, 0.8);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  border-left: 3px solid var(--primary-color);
}

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

.log-operation {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 14px;
}

.log-time {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
}

.log-content {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.log-content > div {
  margin-bottom: 4px;
}

.log-content > div:last-child {
  margin-bottom: 0;
}

/* Sync Results */
