/* 梦之源平台 - 全局样式 */
:root {
  --primary: #6C3CE1;
  --primary-dark: #5028C8;
  --primary-light: #8B5CF6;
  --secondary: #F59E0B;
  --success: #10B981;
  --danger: #EF4444;
  --warning: #F59E0B;
  --info: #3B82F6;
  --dark: #1E1B4B;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --gold: #F59E0B;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(108, 60, 225, 0.15);
  --shadow-lg: 0 8px 40px rgba(108, 60, 225, 0.2);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  background: #F5F3FF;
  color: var(--gray-800);
  min-height: 100vh;
}

/* 通用卡片 */
.card {
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 20px;
  margin-bottom: 16px;
}

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  box-shadow: 0 4px 12px rgba(108, 60, 225, 0.35);
}

.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(108, 60, 225, 0.45); }
.btn-primary:active { transform: translateY(0); }

.btn-success { background: var(--success); color: white; }
.btn-danger { background: var(--danger); color: white; }
.btn-warning { background: var(--warning); color: white; }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-ghost { background: var(--gray-100); color: var(--gray-700); }
.btn-block { width: 100%; }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; }

/* 输入框 */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 14px; font-weight: 500; color: var(--gray-700); margin-bottom: 6px; }
.form-input {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px; font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none; background: white;
}
.form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(108,60,225,0.12); }
.form-input::placeholder { color: var(--gray-400); }

/* 提示 */
.alert {
  padding: 12px 16px; border-radius: 8px; font-size: 14px; margin-bottom: 16px;
  display: flex; align-items: flex-start; gap: 8px;
}
.alert-error { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.alert-success { background: #F0FDF4; color: #166534; border: 1px solid #BBF7D0; }
.alert-warning { background: #FFFBEB; color: #92400E; border: 1px solid #FDE68A; }
.alert-info { background: #EFF6FF; color: #1E40AF; border: 1px solid #BFDBFE; }

/* 徽章 */
.badge {
  display: inline-block; padding: 2px 8px; border-radius: 20px; font-size: 12px; font-weight: 600;
}
.badge-success { background: #D1FAE5; color: #065F46; }
.badge-warning { background: #FEF3C7; color: #92400E; }
.badge-danger { background: #FEE2E2; color: #991B1B; }
.badge-info { background: #DBEAFE; color: #1E3A8A; }
.badge-gray { background: var(--gray-100); color: var(--gray-600); }
.badge-purple { background: #EDE9FE; color: #5B21B6; }

/* 导航栏 */
.navbar {
  background: white;
  box-shadow: 0 1px 8px rgba(0,0,0,0.08);
  position: sticky; top: 0; z-index: 100;
}
.navbar-inner {
  max-width: 420px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; height: 56px;
}
.navbar-logo {
  display: flex; align-items: center;
  font-size: 18px; font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.navbar-logo img {
  display: block;
  height: 38px; width: auto;
  object-fit: contain;
  -webkit-text-fill-color: initial;
}
.navbar-actions { display: flex; gap: 8px; }

/* 底部导航 */
.bottom-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 420px;
  background: white;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.1);
  display: flex; z-index: 100;
  padding-bottom: env(safe-area-inset-bottom);
}
.bottom-nav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  padding: 8px 4px; cursor: pointer; color: var(--gray-400); font-size: 11px;
  transition: color 0.2s; text-decoration: none; border: none; background: transparent;
}
.bottom-nav-item i { font-size: 20px; margin-bottom: 2px; }
.bottom-nav-item.active { color: var(--primary); }
.bottom-nav-item.active i { color: var(--primary); }

/* 页面容器 */
.page { max-width: 420px; margin: 0 auto; padding: 16px; padding-bottom: 80px; min-height: 100vh; }
.page-full { max-width: 420px; margin: 0 auto; min-height: 100vh; }

/* 资金池卡片 */
.pool-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
  padding: 20px;
  color: white;
  position: relative;
  overflow: hidden;
}
.pool-card::before {
  content: '';
  position: absolute; top: -50%; right: -20px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}
.pool-card-startup { background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%); }
.pool-card-charity { background: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%); }
.pool-amount {
  font-size: 32px; font-weight: 800; font-variant-numeric: tabular-nums;
  letter-spacing: -0.5px; line-height: 1;
}

/* 最近入金 */
.deposit-ticker {
  background: rgba(255,255,255,0.12);
  border-radius: 8px; padding: 8px 12px; margin-top: 10px;
  font-size: 12px; color: rgba(255,255,255,0.85);
  max-height: 72px; overflow: hidden;
}
.deposit-ticker-item { padding: 2px 0; }

/* 欢迎横幅 */
.hero-banner {
  background: linear-gradient(135deg, var(--dark) 0%, #312e81 100%);
  color: white; padding: 24px 16px;
  text-align: center;
}
.hero-banner h1 { font-size: 26px; font-weight: 800; }
.hero-banner p { font-size: 14px; opacity: 0.8; margin-top: 8px; }

/* 统计数字 */
.stat-row { display: flex; gap: 12px; }
.stat-item {
  flex: 1; background: white; border-radius: 12px;
  padding: 16px 12px; text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.stat-value { font-size: 22px; font-weight: 800; color: var(--primary); }
.stat-label { font-size: 12px; color: var(--gray-500); margin-top: 4px; }

/* 菜单列表 */
.menu-list { background: white; border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.menu-item {
  display: flex; align-items: center; gap: 12px;
  padding: 16px; border-bottom: 1px solid var(--gray-100);
  cursor: pointer; text-decoration: none; color: inherit;
  transition: background 0.15s;
}
.menu-item:last-child { border-bottom: none; }
.menu-item:hover { background: var(--gray-50); }
.menu-item-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.menu-item-title { font-size: 15px; font-weight: 500; flex: 1; }
.menu-item-arrow { color: var(--gray-400); font-size: 14px; }
.menu-item-extra { font-size: 13px; color: var(--gray-400); }

/* 表格 */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { background: var(--gray-50); padding: 10px 12px; text-align: left; color: var(--gray-600); font-weight: 600; font-size: 13px; }
td { padding: 12px; border-bottom: 1px solid var(--gray-100); }

/* 模态框 */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center; z-index: 1200;
  animation: fadeIn 0.2s ease;
}
.modal {
  background: white; width: 100%; max-width: 520px; border-radius: 16px;
  padding: 24px; max-height: 90vh; overflow-y: auto;
  margin: 20px; box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: modalSlideIn 0.25s ease;
}
@keyframes modalSlideIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.modal-title { font-size: 17px; font-weight: 700; }
.modal-close { background: none; border: none; font-size: 20px; cursor: pointer; color: var(--gray-400); padding: 4px 8px; border-radius: 6px; }
.modal-close:hover { background: var(--gray-100); }
.modal-body { }
.modal-body .form-group { margin-bottom: 14px; }
.modal-body .form-label { font-size: 12px; font-weight: 600; color: var(--gray-700); margin-bottom: 4px; }
.modal-body .form-input { padding: 10px 14px; font-size: 14px; }
.modal-body .btn { margin-top: 4px; }

.form-select { padding: 9px 13px; border: 1.5px solid var(--gray-300); border-radius: 8px; background: #fff; font-size: 13px; color: var(--gray-900); }
.select-sm { font-size: 12px; padding: 6px 10px; }
.search-input { max-width: 200px; }

/* 分割线 */
.divider { height: 1px; background: var(--gray-100); margin: 16px 0; }
.divider-text {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--gray-400); margin: 16px 0;
}
.divider-text::before, .divider-text::after { content: ''; flex: 1; height: 1px; background: var(--gray-200); }

/* 加载 */
.loading { display: flex; justify-content: center; align-items: center; padding: 40px; }
.spinner {
  width: 32px; height: 32px; border: 3px solid var(--gray-200);
  border-top-color: var(--primary); border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* 空状态 */
.empty {
  text-align: center; padding: 48px 20px;
  color: var(--gray-400);
}
.empty i { font-size: 48px; opacity: 0.4; margin-bottom: 12px; }
.empty p { font-size: 14px; }

/* 分页 */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.page-btn {
  width: 36px; height: 36px; border-radius: 8px; border: 1.5px solid var(--gray-200);
  background: white; cursor: pointer; font-size: 14px; color: var(--gray-600);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.page-btn.active { background: var(--primary); color: white; border-color: var(--primary); }
.page-btn:hover:not(.active) { border-color: var(--primary); color: var(--primary); }

/* Toast */
.toast-container { position: fixed; top: 70px; left: 50%; transform: translateX(-50%); z-index: 9999; display: flex; flex-direction: column; gap: 8px; width: calc(100% - 32px); max-width: 380px; }
.toast {
  padding: 12px 16px; border-radius: 10px; font-size: 14px; font-weight: 500;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  animation: slideDown 0.3s ease;
  display: flex; align-items: center; gap: 8px;
}
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.toast-success { background: #10B981; color: white; }
.toast-error { background: #EF4444; color: white; }
.toast-warning { background: #F59E0B; color: white; }
.toast-info { background: var(--primary); color: white; }

/* 标签 */
.tabs { display: flex; border-bottom: 2px solid var(--gray-200); margin-bottom: 16px; overflow-x: auto; }
.tab-item { padding: 10px 16px; font-size: 14px; font-weight: 500; color: var(--gray-500); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; white-space: nowrap; transition: all 0.2s; }
.tab-item.active { color: var(--primary); border-bottom-color: var(--primary); }

/* 邀请码 */
.code-card {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; background: var(--gray-50); border-radius: 10px;
  border: 1.5px solid var(--gray-200); margin-bottom: 10px;
}
.code-text { font-size: 18px; font-weight: 700; font-family: monospace; letter-spacing: 2px; color: var(--primary); }
.code-status-used { color: var(--gray-400); text-decoration: line-through; }

/* 推广树 */
.level-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  font-size: 12px; font-weight: 700; color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

/* 进度条 */
.progress { height: 8px; background: var(--gray-200); border-radius: 4px; overflow: hidden; }
.progress-bar { height: 100%; background: linear-gradient(90deg, var(--primary), var(--primary-light)); border-radius: 4px; transition: width 0.6s ease; }

/* 公告 */
.announcement-bar {
  background: linear-gradient(90deg, #FEF3C7, #FFFBEB);
  border: 1px solid #FDE68A; border-radius: 8px;
  padding: 10px 14px; font-size: 13px; color: #92400E;
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

/* 文件上传 */
.upload-area {
  border: 2px dashed var(--gray-300); border-radius: 12px;
  padding: 32px 20px; text-align: center; cursor: pointer;
  transition: all 0.2s; background: var(--gray-50);
}
.upload-area:hover, .upload-area.dragging { border-color: var(--primary); background: #EDE9FE; }
.upload-area i { font-size: 36px; color: var(--gray-400); margin-bottom: 8px; }
.upload-area p { font-size: 14px; color: var(--gray-500); }

/* 响应式 */
@media (min-width: 640px) {
  .page, .page-full { max-width: 480px; }
  .bottom-nav { max-width: 480px; }
  .navbar-inner { max-width: 480px; }
}

/* ====== 通用响应式基础 ====== */
.font-mono { font-family: 'Courier New', monospace; }
.text-muted { color: var(--gray-400); }
img { max-width: 100%; height: auto; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(12px, 2vw, 24px);
}

/* 自适应卡片网格 */
.card-grid {
  display: grid;
  gap: 16px;
}
.card-grid-cols-1 { grid-template-columns: 1fr; }
.card-grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .card-grid-cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .card-grid-cols-3, .card-grid-cols-4, .card-grid-cols-2 {
    grid-template-columns: 1fr;
  }
}

/* ====== 管理后台页自适应布局 ====== */

/* 后台主容器 */
#mainContent .page,
#mainContent .page-full {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: clamp(8px, 2vw, 24px) !important;
}

#mainContent .card {
  margin-bottom: clamp(8px, 1.5vw, 16px);
}

/* 后台 stat-row 自适应 */
#mainContent .stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(8px, 1.5vw, 16px);
}

@media (min-width: 1024px) {
  #mainContent .stat-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* 后台表格横向滚动（小屏不溢出） */
#mainContent .table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

#mainContent table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: clamp(12px, 0.9vw, 14px);
}

#mainContent th {
  padding: clamp(8px, 1vw, 12px) clamp(6px, 1vw, 16px);
  text-align: left;
  font-size: clamp(11px, 0.8vw, 13px);
  font-weight: 600;
  color: var(--gray-600);
  background: var(--gray-50);
  white-space: nowrap;
}

#mainContent td {
  padding: clamp(8px, 1vw, 14px) clamp(6px, 1vw, 16px);
  border-bottom: 1px solid var(--gray-100);
  white-space: nowrap;
}

#mainContent td:last-child {
  white-space: nowrap;
}

/* 后台按钮自适应 */
#mainContent .btn {
  font-size: clamp(12px, 0.85vw, 14px);
  padding: clamp(6px, 0.6vw, 10px) clamp(10px, 1vw, 20px);
  white-space: nowrap;
}
#mainContent .btn-sm {
  font-size: clamp(11px, 0.75vw, 13px);
  padding: clamp(4px, 0.4vw, 6px) clamp(8px, 0.8vw, 14px);
}
#mainContent .btn-lg {
  font-size: clamp(14px, 1vw, 16px);
}

/* 后台徽章自适应 */
#mainContent .badge {
  font-size: clamp(10px, 0.7vw, 12px);
  padding: 2px clamp(6px, 0.5vw, 10px);
  white-space: nowrap;
}

/* 后台侧边栏自适应 */
#sidebar {
  width: 220px;
  flex-shrink: 0;
  transition: width 0.3s ease, transform 0.3s ease;
}

@media (max-width: 768px) {
  #sidebar {
    position: fixed;
    left: 0;
    top: 56px;
    bottom: 0;
    z-index: 199;
    transform: translateX(-100%);
  }
  #sidebar.open {
    transform: translateX(0);
  }

  #mainContent .stat-row {
    grid-template-columns: 1fr;
  }

  /* 移动端：表格允许断行 */
  #mainContent td {
    white-space: normal;
    word-break: break-all;
  }
}

/* 后台配置表单 PC 端多列布局 */
.admin-config .form-group { margin-bottom: 8px; }

/* ====== 前台页面自适应（app.js landing / dashboard） ====== */

/* 默认移动端容器 */
.page, .page-full {
  width: 100%;
  margin: 0 auto;
  padding: 16px;
}
.bottom-nav, .navbar-inner {
  width: 100%;
  margin: 0 auto;
}

/* 平板及以上 */
@media (min-width: 640px) {
  .page, .page-full { max-width: 720px; padding: 20px 24px; }
  .bottom-nav { max-width: 720px; }
  .navbar-inner { max-width: 720px; }
}

/* 桌面端 */
@media (min-width: 1024px) {
  .page, .page-full { max-width: 960px; padding: 24px 32px; }
  .bottom-nav { max-width: 960px; }
  .navbar-inner { max-width: 960px; }
}

/* 覆盖 */
.hidden { display: none !important; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-4 { margin-top: 4px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.fw-bold { font-weight: 700; }
.text-primary { color: var(--primary); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-gray { color: var(--gray-400); }
.text-sm { font-size: 13px; }
.text-xs { font-size: 12px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.flex-1 { flex: 1; }
.w-full { width: 100%; }
.rounded { border-radius: var(--radius); }

/* 动画计数器 */
.counter-animate {
  display: inline-block;
  transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

/* 加载状态 */
.loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

/* 入门动画 */
@keyframes pageIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

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

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

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

/* ====== UI 微交互 ====== */
@keyframes bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}
@keyframes fadeOutUp {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-12px); }
}

/* 按钮 loading 态 */
.btn-loading { pointer-events: none; opacity: 0.7; position: relative; }
.btn-loading::after {
  content: '';
  position: absolute;
  width: 16px; height: 16px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-left: 6px;
}

/* 表格 hover 高亮 */
.data-table tbody tr:hover,
#mainContent table tbody tr:hover {
  background: rgba(108,60,225,0.03);
  transition: background 0.15s;
}

/* 卡片悬浮微动 */
.card:hover, .stat-item:hover, .stat-card:hover, .stat-box:hover,
.quick-item:hover, .quick-action-item:hover {
  box-shadow: 0 8px 24px rgba(108,60,225,0.1) !important;
  transform: translateY(-2px);
  transition: all 0.2s ease;
}

/* 数字弹跳动画 */
@keyframes countPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); color: var(--primary); }
  100% { transform: scale(1); }
}
.count-changed {
  animation: countPop 0.5s ease;
}

/* 空状态组件 */
.empty-state {
  text-align: center; padding: 48px 20px;
  color: var(--gray-400);
}
.empty-state .empty-icon { font-size: 48px; opacity: 0.3; margin-bottom: 12px; }
.empty-state .empty-title { font-size: 15px; font-weight: 600; color: var(--gray-600); margin-bottom: 4px; }
.empty-state .empty-desc { font-size: 12px; }

/* Toast 渐隐 */
.toast.removing {
  animation: fadeOutUp 0.3s ease forwards;
}

/* 移动端触摸优化 */
@media (max-width: 768px) {
  .btn, .nav-item, .sidebar-item, .tab-item, .menu-item {
    min-height: 44px;
    min-width: 44px;
  }
  .sidebar-toggle, .header-btn {
    width: 44px; height: 44px;
  }
  .form-input, .form-select {
    min-height: 44px;
    font-size: 16px;
  }
}

/* =============================================================
   官方网站落地页样式
   ============================================================= */
.landing { background: #0a0b0e; color: #e5e7eb; min-height:100vh; font-family: -apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif; }
.landing * { box-sizing: border-box; }

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

/* Nav */
.l-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(10,11,14,0.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255,255,255,0.06); }
.l-nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; height: 64px; padding: 0 24px; gap: 24px; }
.l-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-weight: 700; font-size: 18px; }
.l-brand-icon { width: 38px; height: 38px; background: linear-gradient(135deg, #7c3aed, #5b21b6); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; color: #fff; flex-shrink: 0; }
.l-nav-links { display: flex; gap: 8px; }
.l-nav-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 14px; padding: 8px 14px; border-radius: 8px; transition: all .15s; }
.l-nav-links a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.l-nav-actions { margin-left: auto; display: flex; gap: 8px; }
.l-menu-btn { display: none; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; padding: 8px; }
.l-mobile-menu { display: none; position: fixed; top: 64px; left: 0; right: 0; background: rgba(10,11,14,0.97); backdrop-filter: blur(16px); padding: 16px 24px; z-index: 999; flex-direction: column; gap: 8px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.l-mobile-menu.open { display: flex; }
.l-mobile-menu a { color: #fff; text-decoration: none; padding: 12px 0; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,0.06); }

/* Buttons */
.l-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 10px; font-weight: 600; font-size: 14px; text-decoration: none; border: none; cursor: pointer; transition: all .2s; font-family: inherit; }
.l-btn-primary { background: linear-gradient(135deg, #7c3aed, #6d28d9); color: #fff; box-shadow: 0 4px 20px rgba(124,58,237,0.4); }
.l-btn-primary:hover { box-shadow: 0 6px 28px rgba(124,58,237,0.55); transform: translateY(-1px); }
.l-btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.2); }
.l-btn-outline:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.04); }
.l-btn-ghost { background: transparent; color: rgba(255,255,255,0.6); }
.l-btn-ghost:hover { color: #fff; background: rgba(255,255,255,0.06); }
.l-btn-lg { padding: 16px 36px; font-size: 16px; border-radius: 12px; }
.l-btn-sm { padding: 8px 16px; font-size: 13px; }

/* Hero */
.l-hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.l-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 20%, rgba(124,58,237,0.25), transparent 60%), radial-gradient(ellipse at 70% 80%, rgba(99,102,241,0.15), transparent 60%); }
#particles { position: absolute; inset: 0; z-index: 0; }
.l-hero-content { position: relative; z-index: 1; text-align: center; padding: 120px 24px 80px; max-width: 800px; }
.l-hero-badge { display: inline-block; padding: 6px 20px; background: rgba(124,58,237,0.15); border: 1px solid rgba(124,58,237,0.3); border-radius: 20px; font-size: 13px; color: #a78bfa; margin-bottom: 32px; }
.l-hero-title { font-size: clamp(36px, 8vw, 68px); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; color: #fff; margin-bottom: 20px; }
.l-gradient { background: linear-gradient(135deg, #8b5cf6, #a78bfa, #c4b5fd); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.l-hero-desc { font-size: 18px; color: rgba(255,255,255,0.5); line-height: 1.7; margin-bottom: 40px; }
.l-hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }
.l-hero-stats { display: flex; gap: 48px; justify-content: center; flex-wrap: wrap; padding: 32px; background: rgba(255,255,255,0.03); border-radius: 16px; border: 1px solid rgba(255,255,255,0.06); }
.l-stat { text-align: center; }
.l-stat-val { display: block; font-size: 32px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.l-stat-lbl { display: block; font-size: 13px; color: rgba(255,255,255,0.4); margin-top: 6px; }

/* Sections */
.l-section { padding: 100px 0; }
.l-section-dark { background: rgba(255,255,255,0.015); }
.l-section-title { font-size: clamp(28px, 5vw, 42px); font-weight: 800; text-align: center; color: #fff; margin-bottom: 12px; letter-spacing: -0.01em; }
.l-section-sub { font-size: 16px; color: rgba(255,255,255,0.4); text-align: center; margin-bottom: 60px; }

/* Features Grid */
.l-features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.l-fcard { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 16px; padding: 32px 24px; transition: all .3s; }
.l-fcard:hover { background: rgba(124,58,237,0.06); border-color: rgba(124,58,237,0.2); transform: translateY(-4px); }
.l-fcard-icon { font-size: 36px; margin-bottom: 16px; }
.l-fcard h3 { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.l-fcard p { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.65; }

/* Pools Grid */
.l-pools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.l-pool-card { border-radius: 16px; padding: 28px 24px; position: relative; overflow: hidden; }
.l-pool-card::after { content: ''; position: absolute; top: -30%; right: -20%; width: 120px; height: 120px; background: rgba(255,255,255,0.08); border-radius: 50%; }
.l-pool-startup { background: linear-gradient(135deg, #4f46e5, #3b82f6); }
.l-pool-charity { background: linear-gradient(135deg, #db2777, #e11d48); }
.l-pool-platform { background: linear-gradient(135deg, #d97706, #b45309); }
.l-pool-label { font-size: 14px; opacity: 0.9; margin-bottom: 12px; position: relative; font-weight: 500; }
.l-pool-amount { font-size: 36px; font-weight: 700; position: relative; font-variant-numeric: tabular-nums; }
.l-pool-amount small { font-size: 14px; opacity: 0.7; font-weight: 500; }
.l-pool-rate { font-size: 12px; opacity: 0.7; margin-top: 8px; position: relative; }

/* Tiers Grid */
.l-tiers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.l-tier { text-align: center; padding: 24px 16px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 14px; animation: fadeSlideUp 0.4s ease both; }
.l-tier-level { font-size: 14px; font-weight: 700; color: #8b5cf6; margin-bottom: 8px; }
.l-tier-rate { font-size: 28px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.l-tier-amount { font-size: 12px; color: rgba(255,255,255,0.4); }

/* News */
.l-news-item { display: flex; align-items: flex-start; gap: 14px; padding: 20px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; margin-bottom: 12px; color: #fff; }
.l-news-item strong { font-size: 15px; }
.l-news-item p { font-size: 13px; color: rgba(255,255,255,0.4); margin-top: 6px; }
.l-news-pin { font-size: 18px; margin-top: 2px; flex-shrink: 0; }

/* CTA */
.l-cta { padding: 120px 0; text-align: center; }
.l-cta h2 { font-size: clamp(28px, 5vw, 48px); font-weight: 800; color: #fff; margin-bottom: 16px; }
.l-cta p { font-size: 18px; color: rgba(255,255,255,0.4); margin-bottom: 40px; }

/* Footer */
.l-footer { padding: 60px 0 40px; border-top: 1px solid rgba(255,255,255,0.06); }
.l-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.l-footer-brand { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; color: #fff; }
.l-footer-links { display: flex; flex-direction: column; gap: 10px; }
.l-footer-links strong { font-size: 14px; color: #fff; margin-bottom: 4px; }
.l-footer-links a { font-size: 13px; color: rgba(255,255,255,0.4); text-decoration: none; }
.l-footer-links a:hover { color: #a78bfa; }
.l-footer-bottom { font-size: 12px; color: rgba(255,255,255,0.2); text-align: center; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.04); }

/* Scroll Reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: all .7s cubic-bezier(0.16,1,0.3,1); }

/* Online Service Float Button */
.l-cs-float {
  position: fixed; bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; text-decoration: none;
  box-shadow: 0 8px 32px rgba(124,58,237,0.5);
  z-index: 9999; transition: all .3s;
  animation: csPulse 2s ease-in-out infinite;
}
.l-cs-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(124,58,237,0.7);
}
@keyframes csPulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(124,58,237,0.5); }
  50% { box-shadow: 0 8px 48px rgba(124,58,237,0.75), 0 0 0 12px rgba(124,58,237,0.1); }
}
@media (max-width: 768px) {
  .l-cs-float { bottom: 16px; right: 16px; width: 48px; height: 48px; font-size: 22px; }
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Landing responsive */
@media (max-width: 1024px) {
  .l-features-grid { grid-template-columns: repeat(2, 1fr); }
  .l-pools-grid { grid-template-columns: 1fr 1fr; }
  .l-footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

@media (max-width: 768px) {
  .l-nav-links, .l-nav-actions { display: none; }
  .l-menu-btn { display: block; margin-left: auto; }
  .l-hero-stats { gap: 24px; }
  .l-stat-val { font-size: 24px; }
  .l-footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .l-pool-amount { font-size: 28px; }
  .l-section { padding: 60px 0; }
  .l-hero-content { padding-top: 100px; }
  .l-tiers-grid { grid-template-columns: repeat(2, 1fr); }
  .l-features-grid { grid-template-columns: 1fr; }
  .l-pools-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .l-hero-btns { flex-direction: column; align-items: center; }
  .l-hero-stats { flex-direction: column; align-items: center; gap: 16px; }
  .l-tiers-grid { grid-template-columns: 1fr; }
}

/* =============================================================
   Enterprise Admin Sidebar & Layout
   ============================================================= */
.admin-layout {
  display: flex;
  min-height: 100vh;
  background: #F5F6FA;
}

/* Sidebar */
.admin-sidebar {
  width: 240px;
  background: #111827;
  color: #fff;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 200;
  transition: transform 0.25s ease;
  overflow-y: auto;
}

/* Brand block */
.admin-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.admin-logo {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700;
  flex-shrink: 0;
}
.admin-brand-name { font-size: 16px; font-weight: 700; line-height: 1.2; }
.admin-brand-sub { font-size: 11px; color: rgba(255,255,255,0.4); }
.admin-sidebar-toggle {
  margin-left: auto;
  background: none; border: none;
  color: rgba(255,255,255,0.5); font-size: 18px; cursor: pointer;
}

/* Sidebar nav */
.admin-sidebar-nav {
  flex: 1; overflow-y: auto; padding: 8px 0;
}
.sidebar-group {
  margin-bottom: 4px;
}
.sidebar-group-label {
  padding: 10px 16px 6px;
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.3);
}
.sidebar-item {
  width: 100%;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; margin: 1px 8px;
  border: none; background: transparent;
  color: rgba(255,255,255,0.55);
  font-size: 13px; font-weight: 500; font-family: inherit;
  border-radius: 8px; cursor: pointer;
  transition: all 0.15s; text-align: left;
  white-space: nowrap;
}
.sidebar-item:hover {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.9);
}
.sidebar-item.active {
  background: rgba(124,58,237,0.25);
  color: #a78bfa;
}
.sidebar-icon { font-size: 16px; width: 22px; text-align: center; flex-shrink: 0; }
.sidebar-text { flex: 1; }

/* Sidebar footer */
.admin-sidebar-footer {
  padding: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.admin-sb-user {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 8px;
}
.admin-sb-avatar {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
  flex-shrink: 0;
}
.admin-sb-username { font-size: 13px; font-weight: 600; }
.admin-sb-role { font-size: 11px; color: rgba(255,255,255,0.4); }
.admin-sb-logout {
  width: 100%; padding: 8px;
  background: rgba(255,255,255,0.06);
  border: none; border-radius: 6px;
  color: rgba(255,255,255,0.5);
  font-size: 12px; font-family: inherit; cursor: pointer;
  transition: all 0.15s;
}
.admin-sb-logout:hover {
  background: rgba(220,38,38,0.3);
  color: #fca5a5;
}

/* Main area */
.admin-main {
  flex: 1;
  margin-left: 240px;
  display: flex; flex-direction: column;
  min-height: 100vh;
  transition: margin-left 0.25s ease;
}

/* Topbar */
.admin-topbar {
  height: 56px;
  background: #fff;
  border-bottom: 1px solid #E5E7EB;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: sticky; top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.admin-top-left {
  display: flex; align-items: center; gap: 14px;
}
.admin-hamburger {
  display: none;
  background: none; border: none;
  font-size: 20px; color: #6B7280; cursor: pointer;
}
.admin-page-title {
  font-size: 18px; font-weight: 700;
  color: #111827;
  letter-spacing: -0.01em;
}
.admin-clock {
  font-size: 12px; color: #9CA3AF;
}
.admin-top-right {
  display: flex; align-items: center; gap: 10px;
}
.admin-top-time {
  font-size: 12px; color: #9CA3AF;
}
.admin-icon-btn {
  width: 36px; height: 36px;
  border: none; background: #F3F4F6;
  border-radius: 8px; font-size: 16px;
  cursor: pointer;
  transition: all 0.15s;
  position: relative;
}
.admin-icon-btn:hover { background: #E5E7EB; }
.admin-icon-btn #notifBadge {
  position: absolute;
  top: -4px; right: -4px;
  background: #EF4444; color: #fff;
  font-size: 10px; min-width: 18px; height: 18px;
  border-radius: 9px;
  display: none; align-items: center; justify-content: center;
  font-weight: 700;
}

/* Notification panel */
.admin-notif-panel {
  position: absolute;
  top: 56px; right: 24px;
  width: 320px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  z-index: 150;
  overflow: hidden;
}
.admin-notif-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #F3F4F6;
  font-size: 14px;
}
.notif-item {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; font-size: 13px;
  color: #374151; cursor: pointer;
  border-bottom: 1px solid #F9FAFB;
  text-decoration: none;
}
.notif-item:hover { background: #F9FAFB; }
.notif-dot {
  width: 8px; height: 8px;
  background: #EF4444;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Main content area */
.admin-content {
  flex: 1;
  padding: 24px;
}
.loading-overlay {
  display: flex; align-items: center; justify-content: center;
  padding: 60px;
}

/* Responsive */
@media (max-width: 768px) {
  .admin-sidebar {
    transform: translateX(-100%);
  }
  .admin-sidebar.open {
    transform: translateX(0);
    width: 260px;
  }
  .admin-main {
    margin-left: 0;
  }
  .admin-hamburger { display: block; }
  .admin-topbar { padding: 0 16px; }
  .admin-content { padding: 16px; }
  .admin-notif-panel {
    right: 8px; width: calc(100vw - 16px); max-width: 320px;
  }
}

/* ====== Dashboard Components ====== */
.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.dash-stat {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  display: flex; align-items: center; gap: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  border: 1px solid #E5E7EB;
  transition: all 0.2s;
}
.dash-stat:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.12); transform: translateY(-2px); }
.dash-stat-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.dash-stat-val { font-size: 26px; font-weight: 700; color: #111827; line-height: 1.2; }
.dash-stat-lbl { font-size: 12px; color: #9CA3AF; margin-top: 4px; font-weight: 500; }

/* Chart grid */
.dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
.dash-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #E5E7EB;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  overflow: hidden;
}
.dash-card-hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid #F3F4F6;
}
.dash-card-hd h3 { font-size: 14px; font-weight: 600; }
.dash-card-bd { padding: 12px 20px; }
.dash-card-ft {
  display: flex; gap: 16px;
  padding: 10px 20px;
  border-top: 1px solid #F3F4F6;
  font-size: 12px; color: #6B7280;
}

/* Dashboard mini table */
.dash-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.dash-table td { padding: 10px 0; border-bottom: 1px solid #F9FAFB; }
.dash-table tr:last-child td { border-bottom: none; }
.dash-user-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  color: #fff; border-radius: 8px;
  font-size: 14px; font-weight: 700;
}

/* Quick actions */
.dash-quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.dash-quick-btn {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 16px;
  display: flex; align-items: center; gap: 14px;
  cursor: pointer;
  font-family: inherit; font-size: 14px;
  text-align: left;
  transition: all 0.2s;
}
.dash-quick-btn:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transform: translateY(-2px);
  border-color: #C4B5FD;
}
.dash-quick-icon { font-size: 24px; flex-shrink: 0; }

/* Responsive */
@media (max-width: 1024px) {
  .dash-stats { grid-template-columns: repeat(2, 1fr); }
  .dash-grid { grid-template-columns: 1fr; }
  .dash-quick { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .dash-stats { grid-template-columns: 1fr; }
  .dash-quick { grid-template-columns: 1fr; }
}

/* ====== Admin User Detail Modal ====== */
.detail-section {
  margin-bottom: 20px;
}
.detail-section-title {
  font-size: 13px; font-weight: 700; color: #6B7280;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #F3F4F6;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.detail-item {
  padding: 8px 0;
}
.detail-item label {
  display: block;
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.04em; color: #9CA3AF;
  margin-bottom: 4px;
}
.detail-item strong, .detail-item span {
  font-size: 14px; color: #374151;
}
@media (max-width: 480px) {
  .detail-grid { grid-template-columns: 1fr; }
}

/* ====== News Cards with Images ====== */
.l-news-grid2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.l-news-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s;
}
.l-news-card:hover {
  border-color: rgba(124,58,237,0.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}
.l-news-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
}
.l-news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.l-news-card:hover .l-news-img img {
  transform: scale(1.05);
}
.l-news-body2 {
  padding: 16px 20px;
  display: flex; align-items: flex-start; gap: 10px;
}
.l-news-pin2 { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.l-news-body2 strong { font-size: 16px; color: #fff; }
.l-news-body2 p { font-size: 13px; color: rgba(255,255,255,0.45); margin-top: 8px; line-height: 1.5; }
.l-news-time { font-size: 11px; color: rgba(255,255,255,0.25); margin-top: 10px; display: block; }

@media (max-width: 768px) {
  .l-news-grid2 { grid-template-columns: 1fr; }
  .l-news-img { height: 160px; }
}
