/* 详情页顶部大横幅 */
.app-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.app-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}
.app-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}
.app-hero-content {
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 1;
}
.app-logo-wrapper {
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,0.2);
    border-radius: 24px;
    padding: 10px;
    backdrop-filter: blur(10px);
}
.app-logo-lg {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    object-fit: cover;
}
.app-hero-info {
    flex: 1;
}
.app-hero-info h1 {
    font-size: 36px;
    margin-bottom: 12px;
    font-weight: 700;
}
.app-hero-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}
.app-hero-tags span {
    background: rgba(255,255,255,0.2);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    backdrop-filter: blur(5px);
}
.app-hero-desc {
    font-size: 15px;
    opacity: 0.9;
    line-height: 1.6;
}
.app-hero-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}
.btn-primary {
    background: #fff;
    color: #667eea;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.btn-secondary {
    background: rgba(255,255,255,0.15);
    color: #fff;
    padding: 14px 24px;
    border-radius: 30px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.25);
}

/* 内容区域布局 */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
}

/* 左侧主内容 */
.detail-main {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.detail-main img{
    max-width: 100%;
}
.content-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.content-card h2 {
    font-size: 22px;
    color: #1a1a1a;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}
.content-card h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}
.content-card p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}
.content-card ul {
    list-style: none;
    padding: 0;
}
.content-card ul li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: #444;
    border-bottom: 1px dashed #eee;
}
.content-card ul li:last-child {
    border-bottom: none;
}
.content-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}
.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* 右侧边栏 */
.detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.sidebar-card {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.sidebar-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sidebar-card-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, #667eea, #764ba2);
    border-radius: 2px;
}

/* 相关推荐 */
.recommend-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 12px;
    background: #f8f9fa;
    margin-bottom: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.recommend-item:last-child {
    margin-bottom: 0;
}
.recommend-item:hover {
    background: linear-gradient(135deg, #f0f4ff 0%, #f8f0ff 100%);
    transform: translateX(5px);
}
.recommend-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    object-fit: cover;
}
.recommend-info h4 {
    font-size: 15px;
    color: #1a1a1a;
    margin-bottom: 4px;
}
.recommend-info p {
    font-size: 12px;
    color: #888;
    margin: 0;
}

/* 文章推荐 */
.article-recommend-item {
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    transition: all 0.3s ease;
}
.article-recommend-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.article-recommend-item:first-child {
    padding-top: 0;
}
.article-recommend-item:hover .article-recommend-title {
    color: #667eea;
}
.article-recommend-title {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    margin-bottom: 8px;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-recommend-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #999;
}

@media (max-width: 900px) {
    .detail-layout {
        grid-template-columns: 1fr;
    }
}
