.app-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px 40px;
}

/* 应用头部样式 */
.app-header {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
    border: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.app-basic-info {
    display: flex;
    gap: 24px;
}

.app-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background-color: #f5f6f7;
    overflow: hidden;
    flex-shrink: 0;
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.app-icon i {
    font-size: 32px;
    color: #1677ff;
}

.app-info h1 {
    font-size: 24px;
    color: #333;
    margin: 0 0 12px;
}

.app-desc {
    font-size: 16px;
    color: #666;
    margin: 0 0 16px;
    line-height: 1.5;
}

.app-meta {
    display: flex;
    gap: 24px;
    color: #999;
    font-size: 14px;
}

/* 价格和安装区域 */
.app-action {
    min-width: 300px;
}

.price-info {
    margin-bottom: 20px;
}

.trial-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #722ed1;
    font-size: 14px;
    margin-bottom: 12px;
}

.price-options {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.price-item {
    flex: 1;
    padding: 12px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.price-item:hover {
    border-color: #1890ff;
}

.price-item.active {
    border-color: #1890ff;
    background: #f0f7ff;
}

.price {
    font-size: 18px;
    color: #333;
    margin-bottom: 4px;
}

.save {
    font-size: 12px;
    color: #ff4d4f;
}

.install-btn {
    width: 100%;
    padding: 12px 0;
    background: #1890ff;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.install-btn:hover {
    background: #40a9ff;
}

/* 标签页样式 */
.app-tabs {
    display: flex;
    gap: 32px;
    margin-bottom: 24px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 1px;
}

.tab-btn {
    padding: 12px 0;
    background: none;
    border: none;
    color: #666;
    font-size: 16px;
    cursor: pointer;
    position: relative;
}

.tab-btn.active {
    color: #1890ff;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: #1890ff;
}

/* 详情内容区样式 */
.tab-content {
    background: #fff;
    border-radius: 12px;
    padding: 10px;
    border: 1px solid #f0f0f0;
}

.detail-section h2 {
    font-size: 20px;
    color: #333;
    margin: 0 0 16px;
}

#detail {
    line-height: 2;  /* 设置为2倍行高 */
    color: #4e5969;
    font-size: 14px;
}

.feature-list {
    padding-left: 20px;
    margin-bottom: 32px;
}

.feature-list li {
    margin-bottom: 8px;
    color: #666;
}

/* 评论区样式 */
.comments-section {
    margin-top: 24px;
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    border: 1px solid #f0f0f0;
}

.comment-form {
    margin-bottom: 32px;
}

.rating {
    margin-bottom: 16px;
}

.rating i {
    color: #fadb14;
    font-size: 20px;
    margin-right: 4px;
    cursor: pointer;
}

.comment-form textarea {
    width: 100%;
    height: 120px;
    padding: 12px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    margin-bottom: 16px;
    resize: none;
}

.submit-btn {
    padding: 8px 24px;
    background: #1890ff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.comment-item {
    padding: 24px 0;
    border-bottom: 1px solid #f0f0f0;
}

.comment-user {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.user-name {
    font-size: 16px;
    color: #333;
}

.comment-time {
    font-size: 12px;
    color: #999;
}

.comment-content {
    color: #666;
    line-height: 1.6;
}

/* 响应式布局 */
@media screen and (max-width: 768px) {
    .app-header {
        flex-direction: column;
        gap: 24px;
    }

    .app-action {
        width: 100%;
        min-width: auto;
    }

    .app-tabs {
        gap: 16px;
        overflow-x: auto;
        padding-bottom: 12px;
    }
}


.custom-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
}
.custom-tag .fa-crown {
    color: #FFD700;
}
.custom-text {
    color: #FF4D4F;
    font-weight: 500;
    font-size: 16px;
}
.consult-btn {
    background-color: #FF4D4F !important;
}
.consult-btn:hover {
    background-color: #FF7875 !important;
}


.tab-content {
    margin-top: 20px;
}

.tab-pane {
    display: none;
    padding: 5px;
    line-height: 1.8;  /* 内容行高 */
}

.tab-pane.active {
    display: block;
}



/* 更新日志样式 */
.changelog-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}
.changelog-item .version {
    font-weight: bold;
    margin-bottom: 10px;
}


/* 用户评价样式优化 */
.review-item {
    padding: 24px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s;
}

.review-item:hover {
    background-color: #fafafa;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.review-header .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 12px;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.review-header .nickname {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    margin-right: 16px;
}

.review-header .rating {
    color: #fadb14;
    font-size: 14px;
    margin-right: 16px;
}

.review-header .time {
    color: #999;
    font-size: 13px;
    margin-left: auto;  /* 将时间推到右边 */
}

.review-content {
    color: #333;
    line-height: 1.6;
    font-size: 14px;
    padding-left: 52px;  /* 与头像对齐 */
}

/* 评价列表容器 */
#reviewsContent {
    background: #fff;
    border-radius: 8px;
}

/* 首个评价项去除上边距 */
.review-item:first-child {
    padding-top: 0;
}

/* 最后一个评价项去除底部边框 */
.review-item:last-child {
    border-bottom: none;
}

/* 无评价时的样式 */
#reviewsContent:empty::before {
    content: '暂无用户评价';
    display: block;
    text-align: center;
    padding: 40px 0;
    color: #999;
    font-size: 14px;
}

/* 评价表单样式优化 */
.review-form {
    background: #fafafa;
    padding: 24px;
    border-radius: 8px;
    margin-bottom: 24px;
}

/* 评分区域样式 */
.rating-select {
    margin-bottom: 20px;
}

.rating-title {
    font-size: 15px;
    color: #333;
    margin-bottom: 12px;
    display: block;
}

.star-rating {
    display: flex;
    gap: 8px;
}

.star-rating i {
    font-size: 24px;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s;
}

.star-rating i:hover,
.star-rating i.active {
    color: #fadb14;
}

/* 评论输入框样式 */
.review-input {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-input textarea {
    width: 100%;
    min-height: 120px;
    padding: 16px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
    resize: vertical;
    transition: border-color 0.3s;
}

.review-input textarea:focus {
    outline: none;
    border-color: #40a9ff;
}

.review-input textarea::placeholder {
    color: #999;
}

/* 提交按钮样式 */
.submit-review {
    align-self: flex-end;
    padding: 10px 24px;
    background-color: #1890ff;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-review:hover {
    background-color: #40a9ff;
}

/* 分隔线 */
.review-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 24px 0;
}



/* 视频容器样式 */
.video-container {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 比例 */
    height: 0;
    overflow: hidden;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* 无视频提示样式 */
.no-video-tip {
    text-align: center;
    padding: 40px 0;
    color: #86909c;
    font-size: 14px;
    background-color: #f7f8fa;
    border-radius: 8px;
}