/* 下载详情页面样式 */
.download-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 0 30px;
    margin: 40px 0 0 0;
    border-radius: 0 !important;
    position: relative;
    z-index: 1;
}

.download-hero .breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 20px;
}

.download-hero .breadcrumb-item a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
}

.download-hero .breadcrumb-item.active {
    color: white;
}

.download-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.7);
}

/* 操作系统徽章 */
.os-badge {
    font-size: 0.85rem;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
}

/* 详情卡片 */
.detail-card {
    border-radius: 12px !important;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    margin-bottom: 25px;
}

.detail-card .card-header {
    padding: 20px 25px;
    font-weight: 600;
    font-size: 1.25rem;
}

.detail-card .card-body {
    padding: 25px;
}

/* 系统Logo区域 */
.os-logo-container {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
}

.os-logo {
    max-height: 180px;
    max-width: 90%;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}

/* 信息列表 */
.info-list-group .list-group-item {
    border: none;
    padding: 12px 15px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: background-color 0.2s ease;
}

.info-list-group .list-group-item:last-child {
    border-bottom: none;
}

.info-list-group .list-group-item:hover {
    background-color: rgba(52, 152, 219, 0.05);
}

/* 系统介绍区域 */
.os-description {
    background: #f8f9fa;
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    border-radius: 8px;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* 下载链接区域 */
.download-links-container {
    margin-top: 30px;
}

.download-link-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.download-link-item:hover {
    border-color: var(--primary-color);
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.download-link-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 20px;
}

.file-name {
    font-weight: 500;
    color: var(--dark-color);
    min-width: 200px;
    word-break: break-all;
}

.file-size {
    color: #6c757d;
    font-size: 0.95rem;
    min-width: 80px;
}

.download-link-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* 下载按钮 */
.download-btn-link {
    padding: 8px 20px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.download-btn-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* 复制链接按钮 */
.copy-link-btn {
    padding: 8px 15px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    min-width: 120px;
    justify-content: center;
}

/* 侧边栏卡片 */
.sidebar-card {
    border-radius: 12px !important;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    margin-bottom: 25px;
    overflow: hidden;
}

.sidebar-card .card-header {
    padding: 15px 20px;
    font-weight: 600;
    font-size: 1rem;
}

.sidebar-card .card-body {
    padding: 20px;
}

/* 相关推荐项 */
.related-item {
    border: none;
    border-left: 3px solid transparent;
    margin-bottom: 12px;
    border-radius: 8px !important;
    transition: all 0.3s ease;
    padding: 15px;
}

.related-item:hover {
    border-left-color: var(--primary-color);
    background-color: rgba(52, 152, 219, 0.08);
    transform: translateX(5px);
}

.related-item h6 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 5px;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.5s ease forwards;
}

/* 延迟动画 */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* 下载计数器 */
.download-count {
    background: rgba(52, 152, 219, 0.1);
    border-radius: 10px;
    padding: 10px 20px;
    text-align: center;
    margin-top: 20px;
}

.download-count .count {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    display: block;
}

.download-count .label {
    font-size: 0.85rem;
    color: #6c757d;
}

/* 伪静态URL样式 */
.rewrite-url-display {
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 10px 15px;
    margin-top: 15px;
    font-size: 0.9rem;
    word-break: break-all;
}

.rewrite-url-display code {
    background: rgba(0,0,0,0.2);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .download-hero {
        padding: 30px 0 20px;
        margin-top: 40px;
    }
    
    .os-logo {
        max-height: 140px;
    }
    
    .detail-card .card-body,
    .sidebar-card .card-body {
        padding: 20px 15px;
    }
    
    .download-link-item {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .download-link-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .file-name {
        min-width: auto;
    }
    
    .download-link-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .download-btn-link,
    .copy-link-btn {
        flex: 1;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .os-logo {
        max-height: 120px;
    }
    
    .download-link-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .download-btn-link,
    .copy-link-btn {
        width: 100%;
    }
    
    .rewrite-url-display {
        font-size: 0.8rem;
    }
}





/* 简洁相关推荐样式 */
.related-recommendations {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.related-recommendations .card-header {
    background: linear-gradient(to right, #f8f9fa, #ffffff);
    padding: 12px 16px;
}

.related-item {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.related-item:last-child {
    border-bottom: none;
}

.related-item:hover {
    background-color: #f8f9fa;
    border-radius: 6px;
}

.related-icon {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.related-item:hover .related-icon {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn-icon {
    width: 30px;
    height: 30px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 12px;
}

.empty-icon {
    opacity: 0.4;
}