/* ============================================
   首页（index.html）专用样式
   基础 token / header / 横幅 / 弹窗 / 反馈 复用 dance-common.css
   ============================================ */

/* 首页主体：居中容器，无需左侧导航，宽度略窄更聚焦 */
.home-main {
  max-width: 780px; margin: 0 auto;
  padding: 24px 16px calc(120px + env(safe-area-inset-bottom));
}

/* ===== 工具卡（编排 / 调速入口） ===== */
.home-tool-cards { display: flex; flex-direction: column; gap: 20px; margin-top: 10px; }
.tool-card {
  display: flex; align-items: center; gap: 22px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 26px 28px;
  transition: box-shadow .15s, transform .15s, border-color .15s;
}
.tool-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.10); transform: translateY(-2px); border-color: #e6e6ea;
}
.tc-icon {
  width: 92px; height: 92px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-light); border-radius: 50%; font-size: 44px;
}
.tc-body { flex: 1; min-width: 0; }
.tc-title { font-size: 22px; font-weight: 700; color: var(--dark); margin-bottom: 6px; letter-spacing: .5px; }
.tc-desc { font-size: 16px; color: var(--text-light); line-height: 1.6; }
.tc-actions { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }
.tc-enter {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 150px; padding: 13px 22px; border: none; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff;
  font-size: 17px; font-weight: 700; text-decoration: none; cursor: pointer;
  box-shadow: 0 4px 14px rgba(214,40,40,.35); transition: opacity .15s, transform .1s;
}
.tc-enter:hover { opacity: .92; }
.tc-enter:active { transform: scale(.97); }
.tc-usage {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 150px; padding: 12px 22px; border: 1.5px solid var(--border-strong);
  border-radius: 12px; background: #fff; color: var(--text);
  font-size: 15px; font-weight: 600; cursor: pointer;
  transition: border-color .12s, color .12s, background .12s;
}
.tc-usage:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }

/* 窄桌面：卡片内容可换行、按钮横向排，避免挤压 */
@media (max-width: 1100px) {
  .tool-card { flex-wrap: wrap; }
  .tc-actions { flex-direction: row; }
}
