/**
 * Copyright (c) 河南锅锅岛科技有限公司
 * Website: ggdao.net | VX: IJG55555
 * 官网首页 + 文件列表 + 下载页 公共样式
 */

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

:root {
  --primary: #3b82f6;
  --primary-d: #2563eb;
  --text: #1e293b;
  --muted: #64748b;
  --light: #94a3b8;
  --border: #e2e8f0;
  --bg: #f8fafc;
  --radius: 12px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
}
.landing-body { background: #fff; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-d); }

.lcontainer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== 顶部导航 ===== */
.lnav {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.lnav-inner {
  display: flex;
  align-items: center;
  height: 60px;
  gap: 32px;
}
.lnav-logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 1px;
  white-space: nowrap;
}
.lnav-links {
  display: flex;
  gap: 24px;
  flex: 1;
}
.lnav-links a {
  font-size: 14px;
  color: var(--muted);
  transition: color .2s;
}
.lnav-links a:hover,
.lnav-links a.active { color: var(--primary); font-weight: 500; }
.lnav-btn {
  padding: 7px 18px;
  background: var(--primary);
  color: #fff !important;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  border: 1.5px solid var(--primary);
  transition: background .15s, color .15s;
}
.lnav-btn:hover { background: var(--primary-d) !important; border-color: var(--primary-d) !important; }
.lnav-btn-ghost {
  padding: 7px 18px;
  background: transparent;
  color: var(--primary) !important;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  border: 1.5px solid var(--primary);
  opacity: .55;
  cursor: not-allowed;
  transition: none;
}

/* ===== Hero ===== */
.hero-section {
  background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 40%, #f5f3ff 100%);
  padding: 72px 0 64px;
  overflow: hidden;
}
.hero-wrap {
  display: flex;
  align-items: center;
  gap: 48px;
}
.hero-left { flex: 1; min-width: 300px; }
.hero-badge {
  display: inline-block;
  background: #dbeafe;
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: .5px;
}
.hero-h1 {
  font-size: 44px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -1px;
}
.hero-sub {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 440px;
}
.hero-numbers {
  display: flex;
  align-items: center;
  gap: 24px;
}
.hero-num strong { display: block; font-size: 28px; font-weight: 800; color: var(--primary); }
.hero-num span   { font-size: 13px; color: var(--light); }
.hero-num-divider { width: 1px; height: 36px; background: var(--border); }

/* Hero 右侧装饰 */
.hero-right { flex: 1; display: flex; justify-content: center; min-width: 260px; }
.hero-visual {
  position: relative;
  width: 340px;
  height: 280px;
}
.hv-circle {
  position: absolute;
  border-radius: 50%;
  opacity: .15;
}
.hv-c1 { width: 260px; height: 260px; background: var(--primary); top: 10px; left: 40px; }
.hv-c2 { width: 180px; height: 180px; background: #8b5cf6; bottom: 0; right: 0; }
.hv-c3 { width: 100px; height: 100px; background: #10b981; top: 0; left: 0; }
.hv-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  min-width: 190px;
}
.hv-card1 { top: 24px;  left: 20px; animation: floatUp 3s ease-in-out infinite; }
.hv-card2 { top: 110px; left: 80px; animation: floatUp 3s ease-in-out infinite .8s; }
.hv-card3 { top: 196px; left: 30px; animation: floatUp 3s ease-in-out infinite 1.6s; }
@keyframes floatUp {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.hv-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.hv-card-name { font-size: 13px; font-weight: 600; color: var(--text); }
.hv-card-size { font-size: 11px; color: var(--light); margin-top: 2px; }
.hv-card-badge {
  margin-left: auto;
  padding: 3px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

/* ===== 特性区域 ===== */
.features-section {
  padding: 80px 0;
  background: #fff;
}
.sec-title {
  font-size: 30px;
  font-weight: 800;
  color: var(--text);
  text-align: center;
  margin-bottom: 10px;
}
.sec-sub {
  font-size: 15px;
  color: var(--muted);
  text-align: center;
  margin-bottom: 48px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feat-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow .2s, transform .15s;
}
.feat-item:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); transform: translateY(-3px); }
.feat-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feat-item h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.feat-item p  { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ===== 最新文件 ===== */
.latest-section {
  padding: 60px 0 80px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.sec-more { font-size: 14px; color: var(--muted); }
.sec-more:hover { color: var(--primary); }
.latest-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.latest-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--text);
  transition: box-shadow .2s, border-color .2s;
}
.latest-item:hover { box-shadow: 0 4px 14px rgba(0,0,0,.07); border-color: var(--primary); color: var(--text); }
.latest-ext {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.latest-info { flex: 1; min-width: 0; }
.latest-name {
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.latest-meta { font-size: 12px; color: var(--light); margin-top: 3px; }
.latest-tag {
  padding: 3px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

/* ===== Footer ===== */
.lfooter {
  background: #1e293b;
  color: #94a3b8;
  padding: 24px 0;
}
.lfooter-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  text-align: center;
}
.lfooter-logo {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.lfooter a { color: #94a3b8; }
.lfooter a:hover { color: #fff; }

/* ===== 文件列表页 ===== */
.files-wrap { padding-top: 32px; padding-bottom: 60px; }
.files-toolbar {
  margin-bottom: 20px;
}
.files-search {
  display: flex;
  gap: 8px;
  max-width: 480px;
}
.files-search input {
  flex: 1;
  padding: 9px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  outline: none;
}
.files-search input:focus { border-color: var(--primary); }
.files-search button {
  padding: 9px 20px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
}
.files-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.files-aside {
  width: 180px;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  position: sticky;
  top: 76px;
}
.aside-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--light);
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.aside-nav { display: flex; flex-direction: column; gap: 2px; }
.aside-nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 10px;
  border-radius: 7px;
  font-size: 14px;
  color: var(--muted);
  transition: all .15s;
}
.aside-nav a:hover { background: var(--bg); color: var(--primary); }
.aside-nav a.active { background: #eff6ff; color: var(--primary); font-weight: 600; }
.aside-nav a span { font-size: 12px; color: var(--light); }
.files-main { flex: 1; min-width: 0; }
.files-tip {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}
.files-tip a { color: var(--light); margin-left: 8px; font-size: 12px; }
.files-list { display: flex; flex-direction: column; gap: 8px; }
.flist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--text);
  transition: box-shadow .15s, border-color .15s;
}
.flist-item:hover { box-shadow: 0 4px 14px rgba(0,0,0,.07); border-color: var(--primary); color: var(--text); }
.flist-ext {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.flist-info { flex: 1; min-width: 0; }
.flist-name {
  font-size: 15px;
  font-weight: 600;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.flist-meta { font-size: 13px; color: var(--light); margin-top: 3px; }
.flist-tag {
  padding: 3px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.flist-arrow { color: var(--light); font-size: 16px; margin-left: 4px; }
.file-ver {
  display: inline-block;
  background: #dbeafe;
  color: var(--primary);
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 10px;
  margin-left: 6px;
  font-weight: 500;
}

/* ===== 下载页 ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--light);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--light); }
.breadcrumb a:hover { color: var(--primary); }
.dl-header {
  display: flex;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 16px;
}
.dl-ext {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}
.dl-header-info { flex: 1; min-width: 0; }
.dl-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}
.dl-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}
.dl-share {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--light);
}
.dl-share input {
  flex: 1;
  max-width: 320px;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  background: var(--bg);
  outline: none;
  color: var(--muted);
}
.dl-share button {
  padding: 6px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
}
.dl-share button:hover { background: var(--border); }
.dl-desc {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 20px;
}
.dl-cards {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.dl-card {
  flex: 1;
  min-width: 220px;
  max-width: 360px;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.dl-card-free     { border-color: #bfdbfe; background: linear-gradient(135deg,#eff6ff,#fff); }
.dl-card-lock     { border-color: #fde68a; background: linear-gradient(135deg,#fffbeb,#fff); }
.dl-card-unlocked { border-color: #bbf7d0; background: linear-gradient(135deg,#f0fdf4,#fff); }
.dl-card-pay      { border-color: #fecaca; background: linear-gradient(135deg,#fef2f2,#fff); }
.dl-card-label { font-size: 12px; font-weight: 600; color: var(--light); letter-spacing: .5px; text-transform: uppercase; }
.dl-card-speed { font-size: 20px; font-weight: 800; color: var(--text); }
.dl-card-price { font-size: 32px; font-weight: 800; color: #ef4444; }
.dl-btn {
  display: block;
  width: 100%;
  padding: 13px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: opacity .2s, transform .15s;
}
.dl-btn:hover { opacity: .85; transform: translateY(-1px); }
.dl-btn-primary { background: var(--primary); color: #fff; }
.dl-btn-pay     { background: #f59e0b; color: #fff; }
.pwd-inline { width: 100%; display: flex; flex-direction: column; gap: 8px; }
.pwd-inline input {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  text-align: center;
  outline: none;
}
.pwd-inline input:focus { border-color: var(--primary); }
.back-link { font-size: 14px; }
.back-link a { color: var(--light); }
.back-link a:hover { color: var(--primary); }
.form-error { color: #ef4444; font-size: 13px; }

/* 分页 */
.pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 24px;
}
.pagination a {
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 7px;
  font-size: 14px;
  color: var(--muted);
  background: #fff;
}
.pagination a.active,
.pagination a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

.empty-tip { text-align: center; color: var(--light); padding: 60px; font-size: 15px; }

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .hero-wrap    { flex-direction: column; }
  .hero-right   { display: none; }
  .hero-h1      { font-size: 30px; }
  .features-grid { grid-template-columns: 1fr; }
  .latest-grid  { grid-template-columns: 1fr; }
  .files-layout { flex-direction: column; }
  .files-aside  { width: 100%; position: static; }
  .aside-nav    { flex-direction: row; flex-wrap: wrap; }
  .dl-header    { flex-direction: column; }
  .dl-cards     { flex-direction: column; }
  .dl-card      { max-width: none; }
  .lnav-links   { display: none; }
}

