/* GM工具页面专用样式，和全站风格统一 */
.tool-page-wrap {
    width: 1500px;
    max-width: 98%;
    margin: 30px auto;
    background: #edf3f9;
    padding: 30px 0;
}
.tool-inner {
    width: 98%;
    margin: 0 auto;
}
/* 标题栏 */
.tool-title-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}
/* 第二个标题上方留白 */
.tool-title-bar:not(:first-of-type) {
    margin-top: 50px;
}
.tool-title-bar .line {
    width: 4px;
    height: 26px;
    background: #3b82f6;
}
.tool-title-bar h2 {
    font-size: 26px;
    color: #222;
    margin: 0;
}
/* 工具网格 一行5列 */
.tool-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}
/* 工具卡片 */
.tool-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}
/* 左上角斜角标签 */
.tool-card .tag-corner {
    position: absolute;
    top: 0;
    left: 0;
    width: 42px;
    height: 42px;
    overflow: hidden;
}
.tool-card .tag-corner span {
    position: absolute;
    left: -10px;
    top: 8px;
    width: 60px;
    background: #f53f3f;
    color: #fff;
    font-size: 11px;
    text-align: center;
    transform: rotate(-45deg);
}
.tool-card .tag-corner.new span {
    background: #36c666;
}
/* 卡片hover流光上浮 同步全站卡片动效 */
.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59,130,246,0.06), transparent);
    transition: left 0.6s ease;
}
.tool-card:hover::before {
    left: 100%;
}
.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(59,130,246,0.15);
}
/* 图标 */
.tool-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    object-fit: contain;
}
/* 文字 */
.tool-name {
    font-size: 15px;
    color: #222;
    margin: 0 0 6px;
    line-height: 1.3;
}
.tool-desc {
    font-size: 13px;
    color: #777;
    margin: 0 0 15px;
    min-height: 36px;
}
/* 下载按钮 */
.tool-down-btn {
    display: block;
    width: 100%;
    padding: 7px 0;
    background: #f2f3f5;
    color: #333;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    transition: 0.25s ease;
}
.tool-down-btn:hover {
    background: #3b82f6;
    color: #fff;
}
/* 响应式自适应 */
@media(max-width:1600px){
    .tool-grid { grid-template-columns: repeat(6, 1fr); }
}
@media(max-width:1200px){
    .tool-grid { grid-template-columns: repeat(4, 1fr); }
}
@media(max-width:768px){
    .tool-grid { grid-template-columns: repeat(2, 1fr); }
}