/* 第一部分：提示词简介区域 */
.prompt-intro-section {
    background-color: #ffffff;
    padding: 0;
}

.prompt-intro-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* 上半部分：标题和操作区域 */
.prompt-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

/* 左侧：标题和信息区域 */
.prompt-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.prompt-title {
    font-size: 32px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.3;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 用户信息行 */
.prompt-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f0f0f0;
}

.author-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
}

.author-name:hover {
    color: #409eff;
}

.stats-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: #666;
}

.stat-icon {
    width: 16px;
    height: 16px;
    color: #999;
}

.rating-info {
    display: flex;
    align-items: center;
    gap: 6px;
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    width: 16px;
    height: 16px;
    color: #ffd700;
}

.star.empty {
    color: #e0e0e0;
}

.rating-score {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.update-time {
    font-size: 14px;
    color: #999;
}

/* 标签样式 */
.prompt-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.prompt-tag {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.prompt-tag-biz {
    background-color: rgba(255, 255, 255, 0.9);
    color: #2d64dc;
    border: 1px solid rgba(32, 77, 220, 0.2);
}

/* .prompt-tag-biz:hover {
    background-color: #2d64dc;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(45, 100, 220, 0.3);
} */

/* 右侧：操作按钮区域 */
.prompt-actions {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

/* 操作按钮容器 */
.prompt-action-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

/* 试用提示词按钮 */
.prompt-try-button {
    padding: 12px 56px;
    background-color: #0065ff;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    text-align: center;
    box-sizing: border-box;
}

.prompt-try-button:hover {
    background-color: #3385ff;
}

.prompt-try-button:active {
    background-color: #0052cc;
    transform: scale(0.98);
}

.prompt-price-info {
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.price-label {
    font-weight: bold;
}

.price-value {
    font-weight: bold;
    color: #0065ff;
}

/* 价格类型样式 */
.price-value-free {
    color: #22c55e;
}

.price-value-discount {
    color: #ff0f23;
}

.price-original {
    color: #999;
    font-size: 10px;
    text-decoration: line-through;
    margin-left: 6px;
}

.price-limited-tag {
    background-color: #ef4444;
    color: white;
    font-size: 10px;
    padding: 2px 4px;
    border-radius: 2px;
    margin-left: 6px;
}

/* 倒计时样式 */
.countdown-container {
    width: 100%;
    text-align: center;
    display: inline-block;
    background-color: #ffebee;
    color: #ff0f23;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.countdown-timer {
    display: inline;
}

.countdown-expired {
    background-color: #f5f5f5;
    color: #999;
}

.action-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background-color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 80px;
    border: none;
}

.action-button:hover {
    border-color: #409eff;
}

.action-button.active {
    color: #409eff;
}

.action-icon {
    width: 20px;
    height: 20px;
    color: #666;
}

.action-button:hover .action-icon,
.action-button.active .action-icon {
    color: #409eff;
}

.action-button.active .action-icon {
    color: #409eff;
}

.action-text {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

.action-button:hover .action-text {
    color: #409eff;
}

.action-button.active .action-text {
    color: #409eff;
}

.action-count {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.action-button:hover .action-count {
    color: #409eff;
}

.action-button.active .action-count {
    color: #409eff;
}

/* 下半部分：提示词描述 */
.prompt-description {
    padding: 24px 0;
}

.description-text {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .prompt-intro-section {
        padding: 24px 0;
    }

    .prompt-header {
        flex-direction: column;
        gap: 20px;
    }

    .prompt-title {
        font-size: 24px;
    }

    .prompt-meta {
        gap: 16px;
    }

    .stats-info {
        gap: 12px;
    }

    .prompt-actions {
        align-self: flex-start;
        gap: 12px;
    }

    .prompt-action-container {
        gap: 10px;
    }

    .prompt-try-button {
        padding: 10px 20px;
        font-size: 13px;
        min-width: 100px;
    }

    .prompt-price-info {
        font-size: 13px;
    }

    .price-value {
        font-size: 15px;
    }

    .action-button {
        min-width: 70px;
        padding: 10px 12px;
    }

    .prompt-description {
        padding: 20px;
    }

    .description-text {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .prompt-intro-container {
        gap: 20px;
    }

    .prompt-info {
        gap: 16px;
    }

    .prompt-title {
        font-size: 20px;
    }

    .prompt-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .stats-info {
        flex-wrap: wrap;
    }

    .prompt-actions {
        width: 100%;
        justify-content: center;
    }

    .prompt-action-container {
        gap: 8px;
    }

    .prompt-try-button {
        padding: 8px 16px;
        font-size: 12px;
        min-width: 80px;
    }

    .prompt-price-info {
        font-size: 12px;
    }

    .price-value {
        font-size: 14px;
    }

    .prompt-description {
        padding: 16px;
    }

    .description-text {
        font-size: 14px;
    }
}