/* ============================================================
 * 管理后台共享样式 - 移动端优先 + 响应式设计
 * ============================================================ */

:root {
  --color-primary: #4f46e5;
  --color-primary-light: #818cf8;
  --color-primary-dark: #3730a3;
  --color-bg: #f5f7fa;
  --color-bg-card: #ffffff;
  --color-text: #1a1f36;
  --color-text-secondary: #6b7280;
  --color-text-muted: #9ca3af;
  --color-border: #e5e7eb;
  --color-border-light: #f3f4f6;
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-error: #ef4444;
  --color-info: #3b82f6;
  --color-sidebar-bg: #1f2937;
  --color-sidebar-text: #d1d5db;
  --color-sidebar-active: #4f46e5;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --sidebar-width: 240px;
  --header-height: 56px;
}

[data-theme="dark"] {
  --color-bg: #0f172a;
  --color-bg-card: #1e293b;
  --color-text: #f1f5f9;
  --color-text-secondary: #94a3b8;
  --color-text-muted: #64748b;
  --color-border: #334155;
  --color-border-light: #1e293b;
}

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

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 14px;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--color-primary); text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }

/* ========== Layout ========== */
.app {
  display: block;
  min-height: 100vh;
}

.app-main,
.main {
  margin-left: var(--sidebar-width);
  padding: 24px 32px;
  min-width: 0;
  max-width: 1400px;
}

.app-content {
  width: 100%;
}

.app-content > .card:first-child {
  margin-top: 0;
}

/* ========== Sidebar ========== */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--sidebar-width);
  background: var(--color-sidebar-bg);
  color: var(--color-sidebar-text);
  display: flex;
  flex-direction: column;
  z-index: 100;
  transition: transform 0.3s ease;
}

.sidebar-header {
  padding: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: 12px;
}

.sidebar-header .logo {
  font-size: 28px;
}

.sidebar-header .logo-text {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

.sidebar-nav {
  flex: 1;
  padding: 12px 0;
  overflow-y: auto;
}

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

.sidebar-item:hover {
  background: rgba(255,255,255,0.05);
  color: #fff;
}

.sidebar-item.active {
  background: rgba(79, 70, 229, 0.15);
  color: #fff;
  border-left-color: var(--color-primary);
}

.sidebar-icon { font-size: 18px; width: 24px; text-align: center; }

.sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12px;
  color: var(--color-text-muted);
}

/* Mobile sidebar */
.menu-toggle {
  display: none;
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  border: none;
  border-radius: var(--radius-md);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  box-shadow: var(--shadow-md);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.3s;
}

.sidebar-mask {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 90;
  opacity: 0;
  transition: opacity 0.3s;
}

.sidebar-mask.show { opacity: 1; }

/* ========== Page Header ========== */
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border-light);
}

.page-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
}

.page-subtitle {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-top: 4px;
}

.page-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ========== Cards ========== */
.card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  margin-bottom: 20px;
  border: 1px solid var(--color-border-light);
}

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

.card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
}

/* Filter bar inside cards */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 16px;
}

.filter-bar .input-wrapper {
  position: relative;
}

.filter-bar .input {
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-card);
  color: var(--color-text);
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.filter-bar .input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Table wrapper for horizontal scroll */
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-light);
}

.table-wrapper table {
  min-width: 700px;
}

/* Stat Cards */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.stat-icon.blue { background: #dbeafe; color: #2563eb; }
.stat-icon.green { background: #d1fae5; color: #059669; }
.stat-icon.orange { background: #fed7aa; color: #ea580c; }
.stat-icon.red { background: #fee2e2; color: #dc2626; }
.stat-icon.purple { background: #ede9fe; color: #7c3aed; }
.stat-icon.gray { background: #f3f4f6; color: #6b7280; }

.stat-info .stat-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
}

.stat-info .stat-label {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-top: 4px;
}

/* ========== Platform Cards ========== */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.platform-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.2s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.platform-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--platform-color, var(--color-primary));
}

.platform-card.active {
  border-color: var(--platform-color, var(--color-primary));
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.platform-card.disabled {
  opacity: 0.5;
  filter: grayscale(0.7);
  cursor: not-allowed;
}

.platform-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.platform-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
}

.platform-count {
  font-size: 20px;
  font-weight: 700;
  color: var(--platform-color, var(--color-primary));
  margin-top: 4px;
}

.platform-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
  background: var(--color-border);
  color: var(--color-text-muted);
}

/* Platform colors */
.platform-douyin { --platform-color: #fe2c55; }
.platform-kuaishou { --platform-color: #ff6a00; }
.platform-wechat_channel { --platform-color: #07c160; }
.platform-bilibili { --platform-color: #fb7299; }

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-card);
  color: var(--color-text);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.15s;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

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

.btn-success { background: var(--color-success); color: #fff; border-color: var(--color-success); }
.btn-success:hover { background: #059669; color: #fff; }

.btn-warning { background: var(--color-warning); color: #fff; border-color: var(--color-warning); }
.btn-warning:hover { background: #d97706; color: #fff; }

.btn-error { background: var(--color-error); color: #fff; border-color: var(--color-error); }
.btn-error:hover { background: #dc2626; color: #fff; }

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

.btn-sm { padding: 4px 10px; font-size: 12px; }
.btn-lg { padding: 12px 24px; font-size: 16px; }

.btn-block { width: 100%; }

/* ========== Forms ========== */
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 6px;
}
.form-label .required { color: var(--color-error); }

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

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

.form-input:disabled,
.form-input[readonly] {
  background: var(--color-border-light);
  color: var(--color-text-muted);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-hint {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* ========== Toggle Switch ========== */
.toggle,
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}
.toggle input,
.switch input { display: none; }
.toggle-slider,
.switch-slider {
  position: absolute;
  inset: 0;
  background: var(--color-border);
  border-radius: 24px;
  transition: 0.2s;
  cursor: pointer;
}
.toggle-slider::before,
.switch-slider::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  left: 2px;
  bottom: 2px;
  background: #fff;
  border-radius: 50%;
  transition: 0.2s;
}
.toggle input:checked + .toggle-slider,
.switch input:checked + .switch-slider { background: var(--switch-color, var(--color-primary)); }
.toggle input:checked + .toggle-slider::before,
.switch input:checked + .switch-slider::before { transform: translateX(20px); }

/* ========== Tables ========== */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
}

thead th {
  text-align: left;
  padding: 14px 16px;
  background: var(--color-border-light);
  font-weight: 600;
  color: var(--color-text-secondary);
  font-size: 13px;
  white-space: nowrap;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
}

tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border-light);
  color: var(--color-text);
  vertical-align: middle;
}

tbody tr:hover {
  background-color: rgba(79, 70, 229, 0.04);
}

tbody tr:last-child td {
  border-bottom: none;
}

/* Column widths for tables */
.col-id { width: 60px; }
.col-title { min-width: 200px; }
.col-url { min-width: 180px; }
.col-status { width: 100px; }
.col-enable { width: 80px; }
.col-time { width: 160px; }
.col-action { width: 200px; white-space: nowrap; }
.col-platform { width: 100px; }
.col-ip { width: 140px; }

/* ========== Tags / Badges ========== */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

.tag-green { background: #d1fae5; color: #059669; }
.tag-red { background: #fee2e2; color: #dc2626; }
.tag-yellow { background: #fef3c7; color: #d97706; }
.tag-blue { background: #dbeafe; color: #2563eb; }
.tag-gray { background: #f3f4f6; color: #6b7280; }
.tag-purple { background: #ede9fe; color: #7c3aed; }

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
}
.status-dot.green { background: var(--color-success); }
.status-dot.red { background: var(--color-error); }
.status-dot.gray { background: var(--color-text-muted); }

/* ========== Tabs ========== */
.tabs {
  display: flex;
  border-bottom: 2px solid var(--color-border);
  gap: 4px;
  margin-bottom: 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tab {
  padding: 10px 16px;
  border: none;
  background: transparent;
  color: var(--color-text-secondary);
  font-size: 14px;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.15s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.tab.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.tab-count {
  font-size: 11px;
  background: var(--color-border);
  color: var(--color-text-secondary);
  padding: 1px 7px;
  border-radius: 10px;
  font-weight: 600;
}

.tab.active .tab-count {
  background: var(--color-primary);
  color: #fff;
}

/* ========== Pagination ========== */
.pagination {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  margin-top: 20px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--color-border-light);
}

.pagination-info {
  color: var(--color-text-secondary);
  font-size: 13px;
}

.pagination-btns {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.pagination .btn {
  min-width: 36px;
  justify-content: center;
}

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

/* ========== Modal ========== */
.modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.2s;
}

.modal-mask.show { opacity: 1; }

.modal {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95);
  transition: transform 0.2s;
}

.modal.show { transform: scale(1); }

.modal-header {
  padding: 20px;
  border-bottom: 1px solid var(--color-border);
}

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

.modal-body { padding: 20px; }
.modal-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

/* Modal overlay variant (used by dynamic modals) */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 16px;
  animation: fadeIn 0.2s ease;
}

.modal-overlay .modal {
  width: 90%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(1);
  animation: scaleIn 0.2s ease;
}

.modal-close {
  background: none;
  border: none;
  font-size: 20px;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: all 0.15s;
}

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

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

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

/* Textarea alias for form-textarea */
.textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-card);
  color: var(--color-text);
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  min-height: 80px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Button loader spinner */
.btn-loader {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}

/* ========== Toast ========== */
.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  background: var(--color-bg-card);
  box-shadow: var(--shadow-lg);
  color: var(--color-text);
  font-size: 14px;
  z-index: 2000;
  opacity: 0;
  transition: all 0.3s;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast.success { border-left: 4px solid var(--color-success); }
.toast.error { border-left: 4px solid var(--color-error); }
.toast.warning { border-left: 4px solid var(--color-warning); }
.toast.info { border-left: 4px solid var(--color-info); }

/* ========== Loading ========== */
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  color: var(--color-text-muted);
}

.loading::after {
  content: '';
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-left: 10px;
}

.loading-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}

.btn .loading-spinner { border-color: rgba(148,163,184,0.35); border-top-color: var(--color-primary); }

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

/* ========== Empty ========== */
.empty {
  text-align: center;
  padding: 40px;
  color: var(--color-text-muted);
}

/* ========== Progress Bar ========== */
.progress-bar {
  height: 8px;
  background: var(--color-border-light);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.5s;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .form-row { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
}

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .menu-toggle { display: flex; }
  .app-main,
  .main {
    margin-left: 0;
    padding: 16px;
    padding-top: 68px;
  }
  .page-header { flex-direction: column; align-items: stretch; }
  .page-actions { justify-content: flex-start; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }

  /* Mobile table: card view */
  table thead { display: none; }
  table tbody tr {
    display: block;
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    margin-bottom: 8px;
    box-shadow: var(--shadow-sm);
  }
  table tbody td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid var(--color-border-light);
  }
  table tbody td:last-child { border-bottom: none; }
  table tbody td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--color-text-secondary);
    font-size: 12px;
    margin-right: 12px;
    flex-shrink: 0;
  }

  .modal { width: 95%; max-height: 95vh; }
  .modal-footer { flex-direction: column; }
  .modal-footer .btn { width: 100%; }

  .toast {
    top: auto;
    bottom: 20px;
    left: 16px;
    right: 16px;
    transform: none;
    max-width: none;
  }
  .toast.show { transform: none; }

  .btn { min-height: 44px; }
  .form-input, .form-select, .form-textarea { min-height: 44px; }
}

@media (max-width: 480px) {
  .stat-grid { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: 1fr; }
  .card { padding: 16px; }
  .stat-card { padding: 16px; }
  .stat-info .stat-value { font-size: 20px; }
}

/* ========== Utility ========== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mb-16 { margin-bottom: 16px; }
.w-full { width: 100%; }

/* ========== Animation ========== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.card { animation: fadeInUp 0.3s ease; }
