.detail-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    margin-top: 20px;
}

.detail-main {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.detail-video {
    position: relative;
    height: 400px;
}

.detail-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button {
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    padding: 25px;
    transition: all 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
    background: #4ecdc4;
}

.play-button img {
    width: 35px;
    height: 35px;
}

.detail-info {
    padding: 25px;
}

.detail-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a1a2e;
}

.detail-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.category-tag {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
}

.detail-desc {
    color: #666;
    line-height: 1.8;
}

.detail-actions {
    display: flex;
    gap: 15px;
    padding: 20px 25px;
    border-top: 1px solid #eee;
}

.btn-primary {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    color: #fff;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.4);
}

.btn-secondary {
    background: #f5f5f5;
    color: #333;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #e9ecef;
}

.btn-secondary.favorited {
    background: #4ecdc4;
    color: #fff;
}

/* 分享弹窗 */
.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.share-modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    min-width: 300px;
}

.share-modal-content h3 {
    margin-bottom: 20px;
    color: #1a1a2e;
}

.share-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.share-option {
    padding: 12px 20px;
    background: #f5f5f5;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.share-option:hover {
    background: #4ecdc4;
    color: #fff;
}

.share-close {
    padding: 10px 30px;
    background: #e9ecef;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
}

.share-close:hover {
    background: #ddd;
}

/* 侧边栏 */
.detail-sidebar {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.sidebar-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a1a2e;
}

.related-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.related-item {
    display: flex;
    gap: 12px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.related-item:hover {
    background: #f8f9fa;
    padding: 5px;
    margin: -5px;
    border-radius: 8px;
}

.related-item img {
    width: 100px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.related-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.related-info h4 {
    font-size: 13px;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-info span {
    font-size: 12px;
    color: #999;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .detail-container {
        grid-template-columns: 1fr;
    }
    
    .detail-video {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .detail-video {
        height: 280px;
    }
    
    .detail-title {
        font-size: 20px;
    }
    
    .detail-actions {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .detail-video {
        height: 200px;
    }
    
    .play-button {
        padding: 18px;
    }
    
    .play-button img {
        width: 25px;
        height: 25px;
    }
}
