/* 页面整体 */
.ai-prompt-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px;
    font-family: "Microsoft YaHei", sans-serif;
}

/* 标题区域 */
.page-title {
    text-align: center;
    margin-bottom: 50px;
}
.page-title h1 {
    font-size: 44px;
    font-weight: 700;
    color: #222;
    margin-bottom: 12px;
}
.page-title p {
    font-size: 17px;
    color: #666;
}

/* 分类标签 */
.prompt-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 50px;
}
.prompt-tags a {
    text-decoration: none;
}
.prompt-tags .tag {
    padding: 10px 24px;
    border-radius: 50px;
    background: #f9f9f9;
    color: #333;
    font-size: 15px;
    transition: 0.3s;
    border: 1px solid #eee;
}
.prompt-tags .tag.active,
.prompt-tags .tag:hover {
    background: #3370ff;
    color: #fff;
    border-color: #3370ff;
}

/* 卡片列表：一排 4 个 */
.prompt-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* 卡片样式：纯白、大气、无灰色背景 */
.prompt-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    transition: 0.3s;
    border: 1px solid #f0f0f0;
}
.prompt-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    border-color: #dce8ff;
}
.prompt-card h3 {
    font-size: 19px;
    font-weight: 600;
    color: #222;
    margin-bottom: 14px;
    line-height: 1.4;
}
/* 内容：去掉灰色背景，纯白清爽 */
.prompt-card .content {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 20px;
}
.prompt-card .bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.prompt-card .cate {
    font-size: 13px;
    color: #3370ff;
    background: #f2f7ff;
    padding: 5px 11px;
    border-radius: 8px;
}

/* 响应式 */
@media (max-width: 1200px) {
    .prompt-list {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .prompt-list {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .prompt-list {
        grid-template-columns: 1fr;
    }
}